示例#1
0
 private void doMainMenuClick(object sender, EventArgs e)
 {
     cAcc = new mAccount().getAccount();
     if (cAcc == null)
     {
         m_UCs.ShowScreen_Login();
     }
     else
     {
         m_UCs.ShowScreen_Main();
     }
 }
示例#2
0
        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();
        }
示例#3
0
        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;
        }
示例#4
0
 private void Licontinue_Click(object sender, EventArgs e)
 {
     m_UCs.ShowScreen_Main();
 }