Beispiel #1
0
        private void pic_out_Click(object sender, EventArgs e)
        {
            foreach (DockContent frm in this.dockPanel1.Contents)
            {
                if (frm is frm_expend)
                {
                    frm.Activate();
                    return;
                }
            }
            frm_expend expend = new frm_expend();

            expend._userLevel = _userLevel;
            expend._userName  = _userName;
            expend._userID    = _userID;
            expend._userState = _userState;
            expend._userValid = _userValid;
            expend._view_all  = _view_all;
            expend.Show(this.dockPanel1);
        }
Beispiel #2
0
        private void pic_out_Click(object sender, EventArgs e)
        {
            frm_expend expend = new frm_expend();

            expend.Show();
        }