private void frmJournal_Load(object sender, EventArgs e) { MyAccount = new AccountCreation(Program.AccountStatic.LoggingAsLocal); MyCommon = new CommonOperations(Program.AccountStatic.LoggingAsLocal); MyJournal = new Journal(Program.AccountStatic.LoggingAsLocal); IsLocalLoging = Program.AccountStatic.LoggingAsLocal; panel1.Top = (this.Height - panel1.Height) / 2; panel1.Left = (this.Width - panel1.Width) / 2; MyCommon.LoadCurrency(cmbCurrency); MyCommon.LoadStatusComboAccount(cmbPayFor, 6); string HmCur = "", HmRate = ""; string respond = MyCommon.GetHomeCurrencyAndExrate(out HmCur, out HmRate); cmbCurrency.Text = HmCur; MyCommon.LoadStatusComboAccount(cmbStatus, 4); }
private void frmBill_Load(object sender, EventArgs e) { MyBill = new Billing(Program.AccountStatic.LoggingAsLocal); MyCommon = new CommonOperations(Program.AccountStatic.LoggingAsLocal); MyAccount = new AccountCreation(Program.AccountStatic.LoggingAsLocal); panel1.Top = (this.Height - panel1.Height) / 2; panel1.Left = (this.Width - panel1.Width) / 2; //MyAccount.LoadSupplier(cmbSupplier); //MyAccount.LoadSupplier(cmbSearchSupplier); //Edit by manjula *** Load suppliers from MRP LoadSuppliers(); MyCommon.LoadStatusComboAccount(cmbStatus, 4); EditScreen(false); }
private void frmLedgers_Load(object sender, EventArgs e) { MyCommon = new CommonOperations(Program.AccountStatic.LoggingAsLocal); MyAccount = new AccountCreation(Program.AccountStatic.LoggingAsLocal); MyCommon.LoadStatusComboAccount(cmbRptType, 5); }