public frmSupplierDetail() { InitializeComponent(); suFun = new frmSupplierFunction(); btnClr.Visible = false; itemPanel1.Items.Remove(itemContainer1); itemPanel1.Items.Remove(itemContainer4); }
public frmSupplier() { InitializeComponent(); suFun = new frmSupplierFunction(); this.MaximizeBox = false; this.MinimizeBox = false; this.Movable = false; this.Resizable = false; btnNexts.Enabled = false; Control[] tempRequire = { txtEn1, txtEn2, txtEmail, txtPhone }; requirement = tempRequire; txtPhone.TextMaskFormat = MaskFormat.ExcludePromptAndLiterals; txtPhone2.TextMaskFormat = MaskFormat.ExcludePromptAndLiterals; loadPlaceHolder(); }