public Form3(SsbEnum sType, object _ssbObj) { ssbTypeF3 = sType; InitializeComponent(); SetupMenus(); SetUpEventHooks(); TVSetUp.SetUpTreeView(tv1); this.Text = string.Format("Deploy {0}", ssbTypeF3.ToString()); ssbObj = _ssbObj; isDirty = true; btnPaste.Enabled = false; browse = false; btnPaste.Text = "Paste/Deploy"; }
public Form3(SsbEnum sType, bool _browse, Control ctrlToUpdate) { objName = ""; ctrl = ctrlToUpdate; ssbTypeF3 = sType; InitializeComponent(); SetupMenus(); SetUpEventHooks(); TVSetUp.SetUpTreeView(tv1); this.Text = string.Format("Find {0}", ssbTypeF3.ToString()); ssbObj = null; isDirty = true; btnPaste.Enabled = false; browse = _browse; btnPaste.Text = "OK"; }