Changeset 64
- Timestamp:
- Sep 9, 2005, 3:29:47 AM (19 years ago)
- Location:
- trunk/MacFaceFloat
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MacFaceFloat/Configuration.cs
r54 r64 34 34 35 35 [AutoConfigure("form.faceform.opacity")] 36 [Category(" çtH["), Description("§¾x0-100ÌÅwèµÜ·B")]36 [Category("p^[EChE"), Description("§¾x0-100ÌÅwèµÜ·B")] 37 37 public Int32 Opacity = 100; 38 38 39 39 [AutoConfigure("form.faceform.patternsize")] 40 [Category(" çtH["), Description("p^[Ì嫳10-100ÌÅwèµÜ·B")]40 [Category("p^[EChE"), Description("p^[Ì嫳10-100ÌÅwèµÜ·B")] 41 41 public Int32 PatternSize = 100; 42 42 43 [AutoConfigure("form.faceform.transparentmousemessage")] 44 [Category("p^[EChE"), Description("}EXbZ[Wð§ß³¹é©Ç¤©ðwèµÜ·B")] 45 public bool TransparentMouseMessage; 46 43 47 [AutoConfigure("form.faceform.point")] 44 [Category(" çtH["), Description("\¦Êu")]48 [Category("p^[EChE"), Description("\¦Êu")] 45 49 public Point Location; 46 50 47 [AutoConfigure("form.faceform. transparentmousemessage")]48 [Category(" çtH["), Description("}EXbZ[Wð§ß³¹é©Ç¤©ðwèµÜ·B")]49 public bool TransparentMouseMessage;51 [AutoConfigure("form.faceform.show")] 52 [Category("p^[EChE"), Description("\¦óÔ")] 53 public bool ShowPatternWindow = true; 50 54 51 55 [AutoConfigure("form.status.point")] 52 56 [Category("Xe[^XEChE"), Description("\¦Êu")] 53 57 public Point StatusWindowLocation; 58 59 [AutoConfigure("form.status.show")] 60 [Category("Xe[^XEChE"), Description("\¦óÔ")] 61 public bool ShowStatusWindow = true; 62 54 63 55 64 public static Configuration GetInstance() -
trunk/MacFaceFloat/MacFaceApp.cs
r63 r64 120 120 } 121 121 122 openPatternWindow(); 123 openStatusWindow(); 122 if (config.ShowPatternWindow) 123 { 124 openPatternWindow(); 125 } 126 127 if (config.ShowStatusWindow) 128 { 129 openStatusWindow(); 130 } 131 124 132 updateTimer.Start(); 125 133 … … 239 247 240 248 menuItemTogglePatternWindow.Text = MES_CLOSE_PATTERN_WINDOW; 249 config.ShowPatternWindow = true; 241 250 } 242 251 … … 254 263 255 264 menuItemToggleStatusWindow.Text = MES_CLOSE_STATUS_WINDOW; 265 config.ShowStatusWindow = true; 256 266 } 257 267 … … 264 274 { 265 275 updateTimer.Stop(); 266 267 if (patternWindow != null)268 {269 patternWindow.Close();270 }271 272 if (statusWindow != null)273 {274 statusWindow.Close();275 }276 277 276 ExitThread(); 278 277 } … … 311 310 patternWindow = null; 312 311 menuItemTogglePatternWindow.Text = MES_OPEN_PATTERN_WINDOW; 312 config.ShowPatternWindow = false; 313 313 } 314 314 … … 318 318 statusWindow = null; 319 319 menuItemToggleStatusWindow.Text = MES_OPEN_STATUS_WINDOW; 320 config.ShowStatusWindow = false; 320 321 } 321 322
Note: See TracChangeset
for help on using the changeset viewer.