protected virtual void treeViewBM1_onClickAdd(object sender, TreeSelectEventArgs e) { try { if (((BaseForm)Activator.CreateInstance(typeof(tEdit), new object[] { e.BmString, this })).ShowDialog() == DialogResult.OK) { this.dataSet = this.bllManager.QueryData(this.bllManager.Pagesize, this.bllManager.CurrentPage); this.aisinoDataGrid1.DataSource = this.dataSet; this.treeViewBM1.SubTreeLoad(); } } catch (Exception exception) { this.log.Error(exception.ToString()); ExceptionHandler.HandleError(exception); } }
private void treeViewBM1_onClickModify(object sender, TreeSelectEventArgs e) { try { BMSPSMFenLei lei = new BMSPSMFenLei("", e.BmString, true); if (lei.ShowDialog() == DialogResult.OK) { this.dataSet = this.customerManager.QueryGoodsTax(this.customerManager.Pagesize, this.customerManager.CurrentPage); this.aisinoDataGrid1.DataSource = this.dataSet; } } catch (Exception exception) { this.log.Error(exception.ToString()); ExceptionHandler.HandleError(exception); } }
private void treeViewBM1_onClickAddFenLei(object sender, TreeSelectEventArgs e) { try { BMXZQYFenLei lei = new BMXZQYFenLei(e.BmString, this); if (lei.ShowDialog() == DialogResult.OK) { this.dataSet = this.districtManager.QueryDistrict(this.districtManager.Pagesize, this.districtManager.CurrentPage); this.aisinoDataGrid1.DataSource = this.dataSet; } } catch (Exception exception) { this.log.Error(exception.ToString()); ExceptionHandler.HandleError(exception); } }
protected override void treeViewBM1_onClickModify(object sender, TreeSelectEventArgs e) { try { if (this.IsXTSP(e.BmString)) { MessageBoxHelper.Show("不允许修改稀土族分类!", "错误", MessageBoxButtons.OK, MessageBoxIcon.Hand); } else { base.treeViewBM1_onClickModify(sender, e); } } catch (Exception exception) { base.log.Error(exception.ToString()); ExceptionHandler.HandleError(exception); } }
protected override void treeViewBM1_onClickAdd(object sender, TreeSelectEventArgs e) { try { if (this.IsXTSP(e.BmString)) { MessageManager.ShowMsgBox("INP-235124"); } else { base.treeViewBM1_onClickAdd(sender, e); } } catch (Exception exception) { base.log.Error(exception.ToString()); ExceptionHandler.HandleError(exception); } }
protected virtual void treeViewBM1_onClickModify(object sender, TreeSelectEventArgs e) { try { if (((BaseForm)Activator.CreateInstance(typeof(tFenLei), new object[] { this, e.BmString, true })).ShowDialog() == DialogResult.OK) { this.bllManager.CurrentPage = 1; this.dataSet = this.bllManager.SelectNodeDisplay(this.selectbm, this.bllManager.Pagesize, this.bllManager.CurrentPage); this.aisinoDataGrid1.DataSource = this.dataSet; this.treeViewBM1.TreeLoad(); this.treeViewBM1.SelectNodeByText(this.selectbm); } } catch (Exception exception) { this.log.Error(exception.ToString()); ExceptionHandler.HandleError(exception); } }
private void treeViewBM1_onClickAddFenLei(object sender, TreeSelectEventArgs e) { }
private void treeViewBM1_onClickModify(object sender, TreeSelectEventArgs e) { }