Beispiel #1
0
        private void m_addAccountBtn_Click(object sender, EventArgs e)
        {
            AddAccountWnd addWnd = new AddAccountWnd();

            if (DialogResult.OK != addWnd.ShowDialog() && addWnd.NewAccount == null)
            {
                return;
            }

            m_mainwnd.AddAccountBillToView(addWnd.NewAccount);
            AddAccountToView(addWnd.NewAccount);
        }
        private void m_initLab_Click(object sender, EventArgs e)
        {
            AddAccountWnd addWnd = new AddAccountWnd();

            if (DialogResult.OK != addWnd.ShowDialog())
            {
                return;
            }

            m_mainWnd.AddAccountBillToView(addWnd.NewAccount);
            InitAccountList();
        }