Toasts – Diff between revs 2 and 4

Subversion Repositories:
Rev:
Show entire fileIgnore whitespace
Rev 2 Rev 4
Line 110... Line 110...
110 // Display the form just above the system tray. 110 // Display the form just above the system tray.
111 Location = new Point(Screen.PrimaryScreen.WorkingArea.Width - Width, 111 Location = new Point(Screen.PrimaryScreen.WorkingArea.Width - Width,
112 Screen.PrimaryScreen.WorkingArea.Height - Height); 112 Screen.PrimaryScreen.WorkingArea.Height - Height);
Line 113... Line 113...
113   113  
114 // Move each open form upwards to make room for this one 114 // Move each open form upwards to make room for this one
-   115 foreach (var openForm in OpenNotifications)
-   116 {
-   117 if (openForm.InvokeRequired)
-   118 {
-   119 Action action = delegate { openForm.Top -= Height; };
-   120 openForm.Invoke(action);
-   121 return;
-   122 }
-   123  
-   124 openForm.Top -= Height;
Line 115... Line 125...
115 foreach (var openForm in OpenNotifications) openForm.Top -= Height; 125 }
116   126  
117 OpenNotifications.Add(this); 127 OpenNotifications.Add(this);