Ignore:
Timestamp:
2/12/2010 2:59:27 AM (2 years ago)
Author:
lowjoel
Message:

Forward port from Eraser 6.0: When the user closes the MainForm?, always call Application.Exit, since if Application.Run was not called with the main form then the closure of the form has no significance. Thanks to DavidHB for the report.

Location:
trunk/eraser6
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/eraser6

  • trunk/eraser6/Eraser/MainForm.Designer.cs

    r1675 r1822  
    363363            this.Paint += new System.Windows.Forms.PaintEventHandler(this.MainForm_Paint); 
    364364            this.VisibleChanged += new System.EventHandler(this.MainForm_VisibleChanged); 
     365            this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.MainForm_FormClosed); 
    365366            this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.MainForm_FormClosing); 
    366367            this.Resize += new System.EventHandler(this.MainForm_Resize); 
Note: See TracChangeset for help on using the changeset viewer.