Exemple #1
0
 private void CloseSelect(Object source, EventArgs e)
 {
     if (source == selection)
     {
         selection = null;
     }
 }
Exemple #2
0
        public override void OnSectionDeActivated()
        {
            if (selection != null)
            {
                selection.Close();
                selection = null;
            }

            base.OnSectionDeActivated();
        }
Exemple #3
0
 private fSelection ShowGrabberSelection()
 {
     if (selection == null)
     {
         selection = new fSelection(tGrabbers); //, true, this.DoSelect);
         selection.GrabberSelected += this.DoSelect;
         selection.MinimizeBox      = false;
         selection.Closed          += new EventHandler(this.CloseSelect);
         selection.Show();
     }
     else
     {
         selection.BringToFront();
     }
     return(selection);
 }