Changeset 56
- Timestamp:
- Apr 11, 2005, 9:13:09 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MacFaceFloat/MacFaceApp.cs
r54 r56 113 113 memoryGraph = new Bitmap(5*60, 100); 114 114 statusWindow = new StatusWindow(); 115 patternWindow.Closing += new System.ComponentModel.CancelEventHandler(patternWindow_Closing);115 statusWindow.Closing += new System.ComponentModel.CancelEventHandler(patternWindow_Closing); 116 116 statusWindow.cpuGraphPicBox.Image = cpuGraph; 117 117 statusWindow.memoryGraphPicBox.Image = memoryGraph; … … 138 138 drawCPUGraph(); 139 139 drawMemoryGraph(); 140 FormBorderStyle orgStyle = statusWindow.FormBorderStyle; 141 statusWindow.FormBorderStyle = FormBorderStyle.Sizable; 142 statusWindow.StartPosition = FormStartPosition.Manual; 140 143 statusWindow.Location = config.StatusWindowLocation; 144 statusWindow.FormBorderStyle = orgStyle; 141 145 statusWindow.Show(); 142 146 … … 456 460 private void patternWindow_Closing(object sender, System.ComponentModel.CancelEventArgs e) 457 461 { 458 e.Cancel = true; 462 if (!System.Environment.HasShutdownStarted) 463 { 464 e.Cancel = true; 465 } 459 466 } 460 467 }
Note: See TracChangeset
for help on using the changeset viewer.