Example #1
0
 private void lnkName_ClickOverride()
 {
     var v = new DataEntryEdit(new ProcessBaseVm(source, sae, null));
     ViewForm form = new ViewForm(v);
     v.OnClose = () =>
     {
         form.Close();
     };
     form.Show();
 }
Example #2
0
 private void LoadForm(IView v)
 {
     ViewForm form = new ViewForm(v);
     v.OnClose = () =>
     {
         form.Close();
     };
     form.Show();
 }