コード例 #1
0
        private void barButtonItem4_ItemClick(object sender, ItemClickEventArgs e)
        {
            //btnMonHoc
            frmMonHoc mh = new frmMonHoc();

            mh.MdiParent = this;
            mh.Show();
        }
コード例 #2
0
        private void btnMonHoc_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            Form frm = this.CheckExists(typeof(frmMonHoc));

            if (frm != null)
            {
                frm.Activate();
            }
            else
            {
                frmMonHoc f = new frmMonHoc();
                f.MdiParent = this;
                f.Show();
            }
        }