示例#1
0
文件: Login.cs 项目: cobelee/mrs
 protected void Init_Login_From()
 {
     //mrModule = new MRModule.MRModule();
     mrBxMain    = new MRModule.BxMain();
     settingMain = new MRS.SettingModule.SettingMain();
     cuMain      = new MRS.CUModule.MDIMain();
     bllAccount  = new MRS.BLL.Account();
 }
示例#2
0
文件: BXForm.cs 项目: cobelee/mrs
        //报销下一位人员,新建窗口,同时关闭本窗口
        private void btnNextPerson_Click(object sender, EventArgs e)
        {
            BXForm bxForm = new BXForm();

            bxForm.ShowAccountantName(tslbAccount.Text);
            bxForm.WindowState = FormWindowState.Maximized;
            if (this.Owner != null)
            {
                if (this.Owner is BxMain)
                {
                    BxMain bxMain = this.Owner as BxMain;
                    bxForm.BxdCreated += new BxdSelectedDelegate(bxMain.BxdList_Update);
                    bxForm.BxdUpdated += new BxdSelectedDelegate(bxMain.BxdList_Update);
                    bxForm.Show(bxMain);
                }
            }
            else
            {
                bxForm.Show();
            }

            this.Close();
        }