Beispiel #1
0
 public Frm_Sales()
 {
     InitializeComponent();
     if (frm == null)
     {
         frm = this;
     }
 }
        private void tileItem6_ItemClick(object sender, DevExpress.XtraEditors.TileItemEventArgs e)
        {
            bool check = checkUser("Sale", "User_Sale");

            if (check == true)
            {
                Frm_Sales frm = new Frm_Sales();
                frm.ShowDialog();
            }
        }
        private void barButtonItem13_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            bool check = checkUser("Sale", "User_Sale");

            if (check == true)
            {
                Frm_Sales frm = new Frm_Sales();
                frm.ShowDialog();
            }
        }
Beispiel #4
0
 static void frm_FormClosed(object sender, FormClosedEventArgs e)
 {
     frm = null;
 }