Beispiel #1
0
        private void btnCReg_ItemClick(object sender, ItemClickEventArgs e)
        {
            CommFun.DW1.Text = "Complaint Register";
            radPanel1.Controls.Clear();
            frmComplaintRegister frmCompReg = new frmComplaintRegister();

            frmCompReg.TopLevel        = false;
            frmCompReg.FormBorderStyle = Alias.FormBorderStyle.None;
            frmCompReg.Dock            = DockStyle.Fill;
            frmCompReg.Radpanel        = radPanel1;
            radPanel1.Controls.Add(frmCompReg);
            frmCompReg.Show();
        }
Beispiel #2
0
 private void btnExit_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     if (BsfGlobal.g_bWorkFlow == true)
     {
         Cursor.Current = Cursors.WaitCursor;
         frmComplaintRegister frmProg = new frmComplaintRegister();
         frmComplaintRegister.m_oDW.Hide();
         Close();
         Cursor.Current = Cursors.Default;
     }
     else
     {
         Close();
     }
 }