public MainForm() { InitializeComponent(); DS = new DocumentStatus(null, this); FilterForm = new ProfanityForm(this); // Handle the ApplicationExit event to know when the application is exiting. Application.ApplicationExit += new EventHandler(this.OnApplicationExit); }
public MainForm() { InitializeComponent(); ChangeFilename(defaultFileName); splitContainer1.Panel2Collapsed = true; MatchCaseCheckBox_CheckedChanged(this, EventArgs.Empty); PF = new ProfanityForm(); profanityTimer.Start(); }