Пример #1
0
        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();
        }
Пример #2
0
        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();
        }