Beispiel #1
0
        private void PeptidesToolStripMenuItemOnClick(object sender, EventArgs e)
        {
            var peptidesForm = Program.FindOpenForm <PeptidesForm>();

            if (peptidesForm != null)
            {
                RestoreAndActivate(peptidesForm);
                return;
            }

            peptidesForm = new PeptidesForm(Workspace);
            peptidesForm.Show(dockPanel, DockState.Document);
        }
Beispiel #2
0
        private void PeptidesToolStripMenuItemOnClick(object sender, EventArgs e)
        {
            var peptidesForm = Program.FindOpenForm<PeptidesForm>();
            if (peptidesForm != null)
            {
                RestoreAndActivate(peptidesForm);
                return;
            }

            peptidesForm = new PeptidesForm(Workspace);
            peptidesForm.Show(dockPanel, DockState.Document);
        }