private void doMainMenuClick(object sender, EventArgs e) { cAcc = new mAccount().getAccount(); if (cAcc == null) { m_UCs.ShowScreen_Login(); } else { m_UCs.ShowScreen_Main(); } }
private void PCSAdd_Click(object sender, EventArgs e) { double cash = 0.0; if (!double.TryParse(PCAamount.Text, out cash)) { //Cash amount not successfully parsed } var r_cash = m_cash.doUpdate(cAcc.accUserName, CashCategory.PCC_CashAdd, cash, AccountAuditType.AAT_CashSpent); if (r_cash == null) { //Cash not successfully added } m_UCs.ShowScreen_Main(); }
public void InitApp() { this._info = FileVersionInfo.GetVersionInfo(_assembly.Location); m_UCs = new mUCs(this); cAccount m_acc = new mAccount().getAccount(); if (m_acc == null) { m_UCs.ShowScreen_Login(); } else { m_UCs.ShowScreen_Main(); } labVersion.Text = "Version: " + this._info.FileVersion; }
private void Licontinue_Click(object sender, EventArgs e) { m_UCs.ShowScreen_Main(); }