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 = ""; }
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()); }
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()); }
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()); }
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); }