private void ClearForm() { txtRowNum.Text = string.Empty; _AppendixType = ProductHelper.Appendix.None; _CombinId = Guid.Empty; FillComboList(); SetToolBar(); SetCtrlEditable(); }
public AppendixList(ProductHelper.Appendix typeName, Control toolBar) { InitializeComponent(); ProductToolbar tb = new ProductToolbar(toolBar, ref tbControl); _AppendixType = typeName; base.ExportClick += new MenuEventHandler(DefaultList_ExportClick); base.RefreshClick += new EventHandler(DefaultList_RefreshClick); base.PreferenceClick += new EventHandler(DefaultList_PreferenceClick); base.BindingListDoubleClick += new EventHandler(DefaultList_BindingListDoubleClick); base.ComboBoxSelectedIndexChanged += new EventHandler(DefaultList_ComboBoxSelectedIndexChanged); base.ButtonClick += new EventHandler(DefaultList_ButtonClick); base.ShowClick += new EventHandler(DefaultList_ShowClick); fab.Location = new Point(this.Size.Width - 80, this.Height - 100); fab.Click += fab_OnClick; this.Controls.Add(fab); }