Exemplo n.º 1
0
 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);
 }
Exemplo n.º 2
0
        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);
        }
Exemplo n.º 3
0
        private void frmLedgers_Load(object sender, EventArgs e)
        {
            MyCommon = new CommonOperations(Program.AccountStatic.LoggingAsLocal);
            MyAccount = new AccountCreation(Program.AccountStatic.LoggingAsLocal);
            MyCommon.LoadStatusComboAccount(cmbRptType, 5);

        }