Ejemplo 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);
 }