예제 #1
0
 void Colours_NewEntry(string pValue)
 {
     if (xcolours == null)
     {
         xcolours = new FColours();
         xcolours.FColours_NeedToRefresh += Xsizes_refresh;
     }
     this.Parent.Controls.Add(xcolours);
     xcolours.Dock = DockStyle.Fill;
     xcolours.Show();
     xcolours.BringToFront();
     xcolours.Focus();
     xcolours.SetAction(BtnEvent.New, null);
     xcolours.SetFocus();
     xcolours.setname(pValue);
 }