public CategoryItemForm(int openMode, CategoryItemTypeConf conf, string title, Form parentForm) { InitializeComponent(); this.openMode = openMode; this.conf = conf; this.Text = title; this.toolStripLabel_manage.Text = title + "管理:"; this.Owner = parentForm; //去掉proxy this.initColumns(); this.initTree(); if (this.openMode == 0) { this.label_tip.Text = "双击即可选中" + title; hideSomeColumnsForSelectMode(); } else { this.label_tip.Text = "双击即可编辑" + title; } }
public QueryLibForm(CategoryItemTypeConf conf, Form parentForm, string title) : base(0, conf, title, parentForm) { this.Owner = parentForm; InitializeComponent(); this.Text = title; this.categoryItemProxy = conf; this.backgroundWorker.DoWork += new DoWorkEventHandler(backgroundWorker_DoWork); this.backgroundWorker.RunWorkerCompleted += new RunWorkerCompletedEventHandler(backgroundWorker_RunWorkerCompleted); }
public CategoryForm(CategoryItemTypeConf conf, int mode, int id) { openMode = mode; categoryID = id; this.conf = conf; InitializeComponent(); ControlUtility.initTree(this.comboBoxTree1.tvTreeView, conf.CategoryTableName); }
public CustomerCardCategoryItemForm(int openMode, CategoryItemTypeConf conf, string title, Form parentForm) : base(openMode, conf, title, parentForm) { }
public ProductStainlessCategoryItemForm(int openMode, CategoryItemTypeConf conf, string title, Form parentForm) : base(openMode, conf, title, parentForm) { }
public CustomerCategoryItemForm(int openMode, CategoryItemTypeConf conf, string title, Form parentForm) : base(openMode, conf, title, parentForm) { this.dataGridView1.IsLastRowSort = false; }