Beispiel #1
0
        private void btnXemDiem_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            Form frm = this.CheckExists(typeof(frmXemDiem));

            if (frm != null)
            {
                frm.Activate();
            }
            else
            {
                frmXemDiem f = new frmXemDiem();
                f.MdiParent = this;
                f.Show();
            }
        }
Beispiel #2
0
        private void xemDiemToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmXemDiem frm = new frmXemDiem();

            frm.Show();
        }