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

                return;
            }

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

            }
        }
Exemple #2
0
 public Frm_Find_part(Frm_BOM frm=null,Frm_Part frmP=null)
 {
     InitializeComponent();
     _frmBom = frm;
     _frmPart = frmP;
 }
Exemple #3
0
 public Frm_view_Report(Frm_BOM frm)
 {
     InitializeComponent();
     _bom = frm;
 }
Exemple #4
0
 public Frm_Find_ProjBOM(Frm_BOM frm=null)
 {
     InitializeComponent();
     _frmBom=frm;
 }