Пример #1
0
 private void btnExit_ItemClick(object sender, ItemClickEventArgs e)
 {
     if (BsfGlobal.g_bWorkFlow == true)
     {
         Cursor.Current = Cursors.WaitCursor;
         frmReceiptRegister frmProg = new frmReceiptRegister();
         frmReceiptRegister.m_oDW.Hide();
         this.Close();
         Cursor.Current = Cursors.Default;
     }
     else
     {
         Close();
     }
 }
Пример #2
0
        private void barButtonItem32_ItemClick(object sender, ItemClickEventArgs e)
        {
            dwHome.Hide();
            documentWindow1.Hide();
            dwHome.Text = "Receipt Register";
            frmReceiptRegister frm = new frmReceiptRegister()
            {
                TopLevel = false
            };

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