Example #1
0
 public Frm_Sales()
 {
     InitializeComponent();
     if (frm == null)
     {
         frm = this;
     }
 }
Example #2
0
        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();
            }
        }
Example #3
0
        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();
            }
        }
Example #4
0
 static void frm_FormClosed(object sender, FormClosedEventArgs e)
 {
     frm = null;
 }