Esempio n. 1
0
        private void Dashboard_Load(object sender, EventArgs e)
        {
            var v = AppTheme.SetAppTheme();

            this.panelVerticalMenu.BackColor = System.Drawing.Color.FromArgb(v[0], v[1], v[2]);
            this.ResizeRedraw = true;
            lblTitleBar.Text  = "";
        }
Esempio n. 2
0
        private void btnBillReports_Click(object sender, EventArgs e)
        {
            var v = AppTheme.SetAppTheme();

            this.panelTitleBar.BackColor = System.Drawing.Color.FromArgb(v[0], v[1], v[2]);
            lblTitleBar.Text             = "Bill Reports";
            LoadFormInPanel(new BillHistoryReport());
        }
Esempio n. 3
0
        private void btnSales_Click(object sender, EventArgs e)
        {
            var v = AppTheme.SetAppTheme();

            this.panelTitleBar.BackColor = System.Drawing.Color.FromArgb(v[0], v[1], v[2]);
            lblTitleBar.Text             = "Sales";
            LoadFormInPanel(new ProductSale());
        }
Esempio n. 4
0
        private void btnInventoryMenu_Click(object sender, EventArgs e)
        {
            var v = AppTheme.SetAppTheme();

            this.panelTitleBar.BackColor = System.Drawing.Color.FromArgb(v[0], v[1], v[2]);
            lblTitleBar.Text             = "Inventory";
            LoadFormInPanel(new Inventory());
        }
Esempio n. 5
0
        private void btnProductEntry_Click(object sender, EventArgs e)
        {
            var v = AppTheme.SetAppTheme();

            this.panelTitleBar.BackColor = System.Drawing.Color.FromArgb(v[0], v[1], v[2]);
            lblTitleBar.Text             = "Product Entry";
            LoadFormInPanel(new ProductEntry());
            //var login = new Login();

            //login.ShowDialog(this);
        }