示例#1
0
 //constructor
 public Category(BOMRedesign owner, string name )
 {
     this.name = name;
     this.owner = owner;
     this.BackColor = Color.Red;
     this.Visible = true;
     this.Location = FindLocation();
     this.Height = 100;
     this.Width = 100;
     owner.Controls.Add(this);
 }
示例#2
0
 //constructor
 public Category(BOMRedesign owner, string name)
 {
     this.name      = name;
     this.owner     = owner;
     this.BackColor = Color.Red;
     this.Visible   = true;
     this.Location  = FindLocation();
     this.Height    = 100;
     this.Width     = 100;
     owner.Controls.Add(this);
 }
示例#3
0
        //constructor
        public Category(BOMRedesign owner, string name)
        {
            this.name        = name;
            this.owner       = owner;
            this.BackColor   = Color.Orange;
            this.Visible     = true;
            this.BorderStyle = BorderStyle.Fixed3D;
            this.Location    = FindLocation();
            this.Height      = baseCategoryHeight;
            this.Width       = baseCategoryWidth;
            owner.MainWorkspace.Controls.Add(this);

            MakeLabel();
        }
示例#4
0
        //constructor
        public Category(BOMRedesign owner, string name )
        {
            this.name = name;
            this.owner = owner;
            this.BackColor = Color.Orange;
            this.Visible = true;
            this.BorderStyle = BorderStyle.Fixed3D;
            this.Location = FindLocation();
            this.Height = baseCategoryHeight;
            this.Width = baseCategoryWidth;
            owner.MainWorkspace.Controls.Add(this);

            MakeLabel();
        }
 public DataEntryForm(BOMRedesign chart)
 {
     mainForm = chart;
     InitializeComponent();
     FillData();
 }
 public DataEntryForm(BOMRedesign chart)
 {
     mainForm = chart;
     InitializeComponent();
     FillData();
 }