Ejemplo n.º 1
0
        private void button1_Click(object sender, EventArgs e)
        {
            salesControl lgs = new salesControl();

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



            //formInstance.btnMenuOrder.Enabled = true;
            //formInstance.btnShoeOrder.Enabled = true;
        }
Ejemplo n.º 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;
 }
Ejemplo n.º 6
0
 public payment(salesControl sc)
 {
     this.sc = sc;
     InitializeComponent();
 }