public StockWindow() { InitializeComponent(); ApplicationDesign.btnSubSubMenuObject = btnStock; object o = (object)btnStock; ApplicationDesign.SetSubSubButtonDesign(ref o); }
public SettingsWindow() { InitializeComponent(); ApplicationDesign.btnSubMenuObject = btnOrgSettings; object o = (object)btnOrgSettings; ApplicationDesign.SetSubButtonDesign(ref o); }
//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 PurchaseWindows() { InitializeComponent(); ApplicationDesign.btnSubSubMenuObject = btnBillEntry; object o = (object)btnBillEntry; ApplicationDesign.SetSubSubButtonDesign(ref o); }
public SalesWindows() { InitializeComponent(); ApplicationDesign.btnSubMenuObject = btnInvoice; object o = (object)btnInvoice; ApplicationDesign.SetSubButtonDesign(ref o); }
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 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 btnStockEntryHistory_Click(object sender, EventArgs e) { ApplicationDesign.SetSubSubButtonDesign(ref sender); frmProductEntryHistory = new ProductEntryHistory(); frmProductEntryHistory.WindowState = FormWindowState.Maximized; frmProductEntryHistory.FormBorderStyle = FormBorderStyle.None; frmProductEntryHistory.TopLevel = false; currentForm = frmProductEntryHistory; frmProductEntryHistory.Size = pnlWindow.Size; pnlWindow.Controls.Clear(); pnlWindow.Controls.Add(frmProductEntryHistory); frmProductEntryHistory.Show(); }
private void btnStock_Click(object sender, EventArgs e) { ApplicationDesign.SetSubSubButtonDesign(ref sender); frmStockList = new StockList(); frmStockList.WindowState = FormWindowState.Maximized; frmStockList.FormBorderStyle = FormBorderStyle.None; frmStockList.TopLevel = false; currentForm = frmStockList; frmStockList.Size = pnlWindow.Size; pnlWindow.Controls.Clear(); pnlWindow.Controls.Add(frmStockList); frmStockList.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 btnPurchaseReturn_Click(object sender, EventArgs e) { ApplicationDesign.SetSubSubButtonDesign(ref sender); frmNoteAndVoucherList = new NoteAndVoucherList(NoteAndVoucherList._Type.Debit_Note); 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 btnbill_Click(object sender, EventArgs e) { ApplicationDesign.SetSubSubButtonDesign(ref sender); frmPurchasebillingwindow = new PurchaseBillingWindow(); frmPurchasebillingwindow.WindowState = FormWindowState.Maximized; frmPurchasebillingwindow.FormBorderStyle = FormBorderStyle.None; frmPurchasebillingwindow.TopLevel = false; currentForm = frmPurchasebillingwindow; frmPurchasebillingwindow.Size = pnlWindow.Size; pnlWindow.Controls.Clear(); pnlWindow.Controls.Add(frmPurchasebillingwindow); frmPurchasebillingwindow.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(); }
public MainWindow() { InitializeComponent(); AppInfo(); GetButtonControl(); pnlLogin.BringToFront(); this.FormBorderStyle = FormBorderStyle.None; ThisMaximize(); mPreviousSize = new Size(859, 517); int x = (this.Width - Screen.PrimaryScreen.WorkingArea.Width) / 2; int y = (this.Height - Screen.PrimaryScreen.WorkingArea.Height) / 2; mPreviousLocation = new Point(x, y); ApplicationDesign.btnObject = btnDashBoard; object o = (object)btnDashBoard; ApplicationDesign.SetButtonDesign(ref o); //Arup ChangeDateFormate(); AccessPermission.GrantAccess(); }