Example #1
0
 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();
 }
Example #2
0
 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();
 }
Example #3
0
        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();
        }
Example #4
0
        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();
        }