示例#1
0
        private void pic_in_Click(object sender, EventArgs e)
        {
            foreach (DockContent frm in this.dockPanel1.Contents)
            {
                if (frm is frm_income)
                {
                    frm.Activate();
                    return;
                }
            }
            frm_income income = new frm_income();

            income._userID    = _userID;
            income._userLevel = _userLevel;
            income._userName  = _userName;
            income._userState = _userState;
            income._userValid = _userValid;
            income._view_all  = _view_all;
            income.Show(this.dockPanel1);
        }
示例#2
0
        private void pic_in_Click(object sender, EventArgs e)
        {
            frm_income income = new frm_income();

            income.Show();
        }