예제 #1
0
 private void btnExit_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     if (BsfGlobal.g_bWorkFlow == true)
     {
         Cursor.Current = Cursors.WaitCursor;
         frmFollowUpReg frmProg = new frmFollowUpReg();
         frmFollowUpReg.m_oDW.Hide();
         this.Close();
         Cursor.Current = Cursors.Default;
     }
     else
     {
         Close();
     }
 }
예제 #2
0
        private void btnPostReg_ItemClick(object sender, ItemClickEventArgs e)
        {
            dwHome.Hide();
            documentWindow1.Hide();
            dwHome.Text = "PostSale FollowUp Register";
            frmFollowUpReg frm = new frmFollowUpReg()
            {
                TopLevel = false
            };

            radPanel1.Controls.Clear();
            frm.FormBorderStyle = Alias.FormBorderStyle.None;
            frm.Dock            = DockStyle.Fill;
            radPanel1.Controls.Add(frm);
            frm.Execute();
            dwHome.Show();
        }