void Colours_NewEntry(string pValue)
 {
     if (xcolours == null)
     {
         xcolours = new FSizes();
         xcolours.FSizes_NeedToRefresh += Xcolours_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);
 }
Exemple #2
0
        void Txt_sizes_NewEntryNeeded(object sender, string pValue)
        {
            if (xsizes == null)
            {
                xsizes = new FSizes();
                xsizes.FSizes_NeedToRefresh += Sizes_NeedToRefresh;
            }
            this.Parent.Controls.Add(xsizes);
            xsizes.Dock = DockStyle.Fill;
            xsizes.Show();
            xsizes.BringToFront();
            xsizes.Focus();

            xsizes.SetAction(BtnEvent.New, null);
            xsizes.SetFocus();
            xsizes.setname(pValue);
        }