Пример #1
0
        private void btnDeleteInvoice_Click(object sender, EventArgs e)
        {
            ViewPanel viewpanel = new ViewPanel(this, userName, "Tbl_Invoices", 3);

            viewpanel.Show();
            this.Hide();
        }
Пример #2
0
        private void btnEdit_Click(object sender, EventArgs e)
        {
            ViewPanel viewpanel = new ViewPanel(this, userName, "Tbl_Projects", 0);

            viewpanel.Show();
            this.Hide();
        }
Пример #3
0
        private void btnDeactivateCustomers_Click(object sender, EventArgs e)
        {
            ViewPanel viewPanel = new ViewPanel(this, userName, "Tbl_Customers", 3);

            viewPanel.Show();
            this.Hide();
        }
Пример #4
0
        private void btEditInvoice_Click(object sender, EventArgs e)
        {
            isEdit = true;
            ViewPanel viewpanel = new ViewPanel(this, userName, "Tbl_Invoices", 5);

            viewpanel.Show();
            this.Hide();
        }
Пример #5
0
        private void btnMaganeCustomers_Click(object sender, EventArgs e)
        {
            SqlConnector.Connect();
            ViewPanel viewpanel = new ViewPanel(this, userName, "Tbl_Customers", 4);

            viewpanel.Show();
            this.Hide();
        }
Пример #6
0
        private void btnManageProjects_Click(object sender, EventArgs e)
        {
            ViewPanel viewpanel = new ViewPanel(this, userName, "Tbl_Projects", 1);

            SqlConnector.Connect();
            viewpanel.Show();
            this.Hide();
        }