//private PurchaseBillingWindow frmPurchasebillingwindow; public CustomerWindows() { InitializeComponent(); ApplicationDesign.btnSubMenuObject = btnCustomer; object o = (object)btnCustomer; ApplicationDesign.SetSubButtonDesign(ref o); }
public TransectionWindow() { InitializeComponent(); ApplicationDesign.btnSubMenuObject = btnCashBook; object o = (object)btnCashBook; ApplicationDesign.SetSubButtonDesign(ref o); }
private void btnUpdate_Click(object sender, EventArgs e) { ApplicationDesign.SetSubButtonDesign(ref sender); ApplicationUpdate frmothersSettings = new ApplicationUpdate(); frmothersSettings.ShowDialog(); }
public InventoryWindow() { InitializeComponent(); ApplicationDesign.btnSubMenuObject = btnStock; object o = (object)btnStock; ApplicationDesign.SetSubButtonDesign(ref o); }
public SettingsWindow() { InitializeComponent(); ApplicationDesign.btnSubMenuObject = btnOrgSettings; object o = (object)btnOrgSettings; ApplicationDesign.SetSubButtonDesign(ref o); }
public SalesWindows() { InitializeComponent(); ApplicationDesign.btnSubMenuObject = btnInvoice; object o = (object)btnInvoice; ApplicationDesign.SetSubButtonDesign(ref o); }
private void button1_Click(object sender, EventArgs e) { ApplicationDesign.SetSubButtonDesign(ref sender); frmCashBook = new CashBook(CashBook._Type.CASH); frmCashBook.WindowState = FormWindowState.Maximized; frmCashBook.FormBorderStyle = FormBorderStyle.None; frmCashBook.TopLevel = false; currentForm = frmCashBook; frmCashBook.Size = pnlWindow.Size; pnlWindow.Controls.Clear(); pnlWindow.Controls.Add(frmCashBook); frmCashBook.Show(); }
private void btnOthersSeting_Click(object sender, EventArgs e) { ApplicationDesign.SetSubButtonDesign(ref sender); OtherSettings frmothersSettings = new OtherSettings(); frmothersSettings.WindowState = FormWindowState.Maximized; frmothersSettings.FormBorderStyle = FormBorderStyle.None; frmothersSettings.TopLevel = false; pnlWindow.Controls.Clear(); pnlWindow.Controls.Add(frmothersSettings); frmothersSettings.Show(); }
private void btnOrgSettings_Click(object sender, EventArgs e) { ApplicationDesign.SetSubButtonDesign(ref sender); CreateCompany frmCreateCompany = new CreateCompany(false); frmCreateCompany.WindowState = FormWindowState.Maximized; frmCreateCompany.FormBorderStyle = FormBorderStyle.None; frmCreateCompany.TopLevel = false; pnlWindow.Controls.Clear(); pnlWindow.Controls.Add(frmCreateCompany); frmCreateCompany.Show(); }
private void btnCustomer_Click(object sender, EventArgs e) { ApplicationDesign.SetSubButtonDesign(ref sender); frmCustomerWindow = new CustomerList(); frmCustomerWindow.WindowState = FormWindowState.Maximized; frmCustomerWindow.FormBorderStyle = FormBorderStyle.None; frmCustomerWindow.TopLevel = false; currentForm = frmCustomerWindow; frmCustomerWindow.Size = pnlWindow.Size; pnlWindow.Controls.Clear(); pnlWindow.Controls.Add(frmCustomerWindow); frmCustomerWindow.Show(); }
private void btnExpenses_Click(object sender, EventArgs e) { ApplicationDesign.SetSubButtonDesign(ref sender); frmTransectionList = new TransectionList(); frmTransectionList.WindowState = FormWindowState.Maximized; frmTransectionList.FormBorderStyle = FormBorderStyle.None; frmTransectionList.TopLevel = false; currentForm = frmTransectionList; frmTransectionList.Size = pnlWindow.Size; pnlWindow.Controls.Clear(); pnlWindow.Controls.Add(frmTransectionList); frmTransectionList.Show(); }
private void btnPurchase_Click(object sender, EventArgs e) { ApplicationDesign.SetSubButtonDesign(ref sender); frmPurchaseWindows = new PurchaseWindows(); frmPurchaseWindows.WindowState = FormWindowState.Maximized; frmPurchaseWindows.FormBorderStyle = FormBorderStyle.None; frmPurchaseWindows.TopLevel = false; currentForm = frmPurchaseWindows; frmPurchaseWindows.Size = pnlWindow.Size; pnlWindow.Controls.Clear(); pnlWindow.Controls.Add(frmPurchaseWindows); frmPurchaseWindows.Show(); }
private void btnRefund_Click(object sender, EventArgs e) { ApplicationDesign.SetSubButtonDesign(ref sender); frmNoteAndVoucherList = new NoteAndVoucherList(NoteAndVoucherList._Type.Refund_Voucher); frmNoteAndVoucherList.WindowState = FormWindowState.Maximized; frmNoteAndVoucherList.FormBorderStyle = FormBorderStyle.None; frmNoteAndVoucherList.TopLevel = false; currentForm = frmNoteAndVoucherList; frmNoteAndVoucherList.Size = pnlWindow.Size; pnlWindow.Controls.Clear(); pnlWindow.Controls.Add(frmNoteAndVoucherList); frmNoteAndVoucherList.Show(); }
private void btnBanking_Click(object sender, EventArgs e) { ApplicationDesign.SetSubButtonDesign(ref sender); frmBankWindow = new BankWindow(); //frmAdvanceReceiptList = new NoteAndVoucherList(); frmBankWindow.WindowState = FormWindowState.Maximized; frmBankWindow.FormBorderStyle = FormBorderStyle.None; frmBankWindow.TopLevel = false; currentForm = frmBankWindow; frmBankWindow.Size = pnlWindow.Size; pnlWindow.Controls.Clear(); pnlWindow.Controls.Add(frmBankWindow); frmBankWindow.Show(); }
private void btnStock_Click(object sender, EventArgs e) { ApplicationDesign.SetSubButtonDesign(ref sender); if (frmStockWindow != null) { frmStockWindow = new StockWindow(); frmStockWindow.WindowState = FormWindowState.Maximized; frmStockWindow.FormBorderStyle = FormBorderStyle.None; frmStockWindow.TopLevel = false; } currentForm = frmStockWindow; frmStockWindow.Size = pnlWindow.Size; pnlWindow.Controls.Clear(); pnlWindow.Controls.Add(frmStockWindow); frmStockWindow.Show(); }