private void btnNew_Click(object sender, EventArgs e) { frmBP frmBp = new frmBP(BOIDEnum.BP); frmBp.MdiParent = this.MdiParent; FormExchangeParams param = new FormExchangeParams(); param.Mode = FormMode.Add; param.ReturnProc = NewBPMDRetProc; frmBp.SetFormExchangeParams(param); frmBp.Show(); }
private void objList_RowNumberDblClick(BrightIdeasSoftware.OlvListViewHitTestInfo hti) { frmBP frmPro = new frmBP(BOIDEnum.BP); frmPro.MdiParent = this.MdiParent; FormExchangeParams args = new FormExchangeParams(); args.Data = hti.RowObject; args.Mode = FormMode.Ok; args.ReturnProc = UpdateBPMdRetProc; frmPro.SetFormExchangeParams(args); frmPro.Show(); }
private void btnNew_Click(object sender, EventArgs e) { frmBP frmBp = new frmBP(BOIDEnum.BP); frmBp.MdiParent = this.MdiParent; FormExchangeParams param = new FormExchangeParams(); param.Mode = FormMode.Add; param.ReturnProc = NewBPMDRetProc; frmBp.SetFormExchangeParams(param); frmBp.Show(); }
private void objList_RowNumberDblClick(BrightIdeasSoftware.OlvListViewHitTestInfo hti) { frmBP frmPro = new frmBP(BOIDEnum.BP); frmPro.MdiParent = this.MdiParent; FormExchangeParams args = new FormExchangeParams(); args.Data = hti.RowObject; args.Mode = FormMode.Ok; args.ReturnProc = UpdateBPMdRetProc; frmPro.SetFormExchangeParams(args); frmPro.Show(); }