Beispiel #1
0
        private void LocksToolStripMenuItemOnClick(object sender, EventArgs e)
        {
            var locksForm = Program.FindOpenForm <LocksForm>();

            if (locksForm != null)
            {
                RestoreAndActivate(locksForm);
                return;
            }
            locksForm = new LocksForm(Workspace);
            locksForm.Show(DocumentPanel, DockState.Floating);
        }
Beispiel #2
0
 private void LocksToolStripMenuItemOnClick(object sender, EventArgs e)
 {
     var locksForm = Program.FindOpenForm<LocksForm>();
     if (locksForm != null)
     {
         RestoreAndActivate(locksForm);
         return;
     }
     locksForm = new LocksForm(Workspace);
     locksForm.Show(DocumentPanel, DockState.Floating);
 }