Ejemplo n.º 1
0
        private void BUC_Home_Click(object sender, EventArgs e)
        {
            _hPanel.Controls.Clear();
            HomeControl hc = new HomeControl();

            _hPanel.Controls.Add(hc);
            hc.Dock = DockStyle.Fill;
            hc.Show();
        }
Ejemplo n.º 2
0
        private void GetBackToHome()
        {
            _hPanel.Controls.Clear();
            HomeControl hc = new HomeControl();

            _hPanel.Controls.Add(hc);
            hc.Dock = DockStyle.Fill;
            hc.Show();
        }
Ejemplo n.º 3
0
        private void LandingForm_Load(object sender, EventArgs e)
        {
            //Resize
            //this.Size = Screen.PrimaryScreen.WorkingArea.Size;
            //this.WindowState = FormWindowState.Maximized;

            HPanel.Controls.Clear();
            HomeControl hc = new HomeControl();

            HPanel.Controls.Add(hc);
            hc.Dock = DockStyle.Fill;
            hc.Show();

            VPanel.Controls.Clear();
            SignInMenuControl sic = new SignInMenuControl(VPanel, HPanel);

            VPanel.Controls.Add(sic);
            sic.Dock = DockStyle.Fill;
            sic.Show();
        }
Ejemplo n.º 4
0
 private void BUC_NewInvoice_Click(object sender, EventArgs e)
 {
     if (BUC_NewInvoice.Text.Equals("New Invoice"))
     {
         _hPanel.Controls.Clear();
         SelectDealerControl sdc = new SelectDealerControl(_hPanel, _vPanel);
         _hPanel.Controls.Add(sdc);
         sdc.Dock = DockStyle.Fill;
         sdc.Show();
         BUC_NewInvoice.Text = "Cancel Invoice";
     }
     else if (BUC_NewInvoice.Text.Equals("Cancel Invoice"))
     {
         _hPanel.Controls.Clear();
         HomeControl hc = new HomeControl();
         _hPanel.Controls.Add(hc);
         hc.Dock = DockStyle.Fill;
         hc.Show();
         BUC_NewInvoice.Text = "New Invoice";
     }
 }