Пример #1
0
        private void BB_Menu_Part_Click(object sender, DevComponents.DotNetBar.ClickEventArgs e)
        {
            Frm_Part Part = new Frm_Part(this);
            if (!layerAccess.IsCanRead(userID, Part.Name.ToString()))
            {
                clsWin.WarningMessage("You dont have permition to access this form, please contact your administrator", "Access Denied");

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

            }
        }
Пример #2
0
 public Frm_Find_part(Frm_BOM frm=null,Frm_Part frmP=null)
 {
     InitializeComponent();
     _frmBom = frm;
     _frmPart = frmP;
 }
Пример #3
0
 public Frm_brand(MDI_Parent frm=null,Frm_Part frmPart=null)
 {
     InitializeComponent();
     _frmMain = frm;
     _frmPart =frmPart;
 }
Пример #4
0
 public Frm_part_Group(MDI_Parent frm=null,Frm_Part frmPrt=null)
 {
     InitializeComponent();
     _frmMain = frm;
     _frmPart = frmPrt;
 }