Exemple #1
0
        private void bb_Menu_brand_Click(object sender, DevComponents.DotNetBar.ClickEventArgs e)
        {
            Frm_brand Brand = new Frm_brand(this,null);
            if (!layerAccess.IsCanRead(userID, Brand.Name.ToString()))
            {
                clsWin.WarningMessage("You dont have permition to access this form, please contact your administrator", "Access Denied");

                return;
            }
            if (!CheckForm(Brand.Name))
            {
                Brand.MdiParent = this;
                Brand.StartPosition = FormStartPosition.CenterScreen;
                Brand.Show();

            }
        }
Exemple #2
0
 private void Btn_Part_add_Brand_Click(object sender, EventArgs e)
 {
     Frm_brand Brand = new Frm_brand(null,this);
     Brand.Show();
 }