Esempio n. 1
0
 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);
 }
Esempio n. 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);
        }