Beispiel #1
0
        private void button1_Click(object sender, EventArgs e)
        {
            salesControl lgs = new salesControl();

            this.Hide();
            lgs.ShowDialog();
            this.Dispose();
        }
Beispiel #2
0
 public void Showbuttons(salesControl formInstance)
 {
     formInstance.btnCat1.Show();
     formInstance.btnCat2.Show();
     formInstance.btnCat3.Show();
     formInstance.btnCat4.Show();
     formInstance.btnCat5.Show();
 }
Beispiel #3
0
 public void Hidebuttons(salesControl formInstance)
 {
     formInstance.btnCat1.Hide();
     formInstance.btnCat2.Hide();
     formInstance.btnCat3.Hide();
     formInstance.btnCat4.Hide();
     formInstance.btnCat5.Hide();
 }
Beispiel #4
0
        public void Order(salesControl formInstance)
        {
            formInstance.btnMenuPurchase.Enabled = false;
            formInstance.btnShoePurchase.Enabled = false;



            //formInstance.btnMenuOrder.Enabled = true;
            //formInstance.btnShoeOrder.Enabled = true;
        }
Beispiel #5
0
 public void Intialise(salesControl formInstance)
 {
     formInstance.btnLogOut.BackColor  = System.Drawing.Color.Transparent;
     formInstance.lblCompany.BackColor = System.Drawing.Color.Transparent;
     formInstance.lblUsrname.BackColor = System.Drawing.Color.Transparent;;
     formInstance.btnCashOut.BackColor = System.Drawing.Color.Transparent;
     formInstance.btnAddUser.BackColor = System.Drawing.Color.Transparent;
     formInstance.btnAdd2.BackColor    = System.Drawing.Color.Transparent;
     formInstance.btnCat1.BackColor    = System.Drawing.Color.Transparent;
     formInstance.btnCat2.BackColor    = System.Drawing.Color.Transparent;
     formInstance.btnCat3.BackColor    = System.Drawing.Color.Transparent;
     formInstance.btnCat4.BackColor    = System.Drawing.Color.Transparent;
     formInstance.btnCat5.BackColor    = System.Drawing.Color.Transparent;
     formInstance.btnReturns.BackColor = System.Drawing.Color.Transparent;
 }
Beispiel #6
0
 public payment(salesControl sc)
 {
     this.sc = sc;
     InitializeComponent();
 }