Exemple #1
0
 private void Btn_Add_Supplier_Click(object sender, EventArgs e)
 {
     Frm_Supplier supplier = new Frm_Supplier();
     supplier.Show();
 }
Exemple #2
0
 private void Cbo_Part_Supplier_MouseDoubleClick(object sender, MouseEventArgs e)
 {
     Frm_Supplier supplier = new Frm_Supplier(null,this);
     supplier.Show();
 }
Exemple #3
0
        private void bb_menu_Supplier_Click(object sender, DevComponents.DotNetBar.ClickEventArgs e)
        {
            Frm_Supplier Supplier = new Frm_Supplier(this,null);
            if (!layerAccess.IsCanRead(userID, "Frm_Supplier"))
            {
                clsWin.WarningMessage("You dont have permition to access this form, please contact your administrator", "Access Denied");

                return;
            }
            if (!CheckForm("Frm_Supplier"))
            {
                Supplier.MdiParent = this;
                Supplier.StartPosition = FormStartPosition.CenterScreen;
                Supplier.Show();

            }
        }