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