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

            base.OnSectionDeActivated();
        }
Exemplo n.º 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);
 }