public MainForm() { ValidState = InValidType.Database | InValidType.DtaFiles; InitializeComponent(); Omssa = new Omssa(); Omssa.Exited += new EventHandler(Omssa_Exited); Omssa.UpdateStatus += new DataReceivedEventHandler(Omssa_UpdateStatus); // Update Form Header Text = "OMSSA Navigator (" + ReadVersion() + ")"; ReadInEnzymes(); ReadInIonSeries(); ReadMods(); LoadTaxIds(); SetDefaults(); ReadInArgumentLine(); UpdateEnables(); }