Example #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);
 }
Example #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);
 }
Example #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();
        }
Example #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();
 }