Ejemplo n.º 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);
        }
Ejemplo n.º 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);
        }