Пример #1
0
 public Frm_Buy()
 {
     InitializeComponent();
     if (frm == null)
     {
         frm = this;
     }
 }
Пример #2
0
        private void tileItem5_ItemClick(object sender, DevExpress.XtraEditors.TileItemEventArgs e)
        {
            bool check = checkUser("Buy", "User_Buy");

            if (check == true)
            {
                Frm_Buy frm = new Frm_Buy();
                frm.ShowDialog();
            }
        }
Пример #3
0
        private void barButtonItem11_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            bool check = checkUser("Buy", "User_Buy");

            if (check == true)
            {
                Frm_Buy frm = new Frm_Buy();
                frm.ShowDialog();
            }
        }
Пример #4
0
 static void frm_FormClosed(object sender, FormClosedEventArgs e)
 {
     frm = null;
 }