public FormParams(Form previousForm, FormShowTypeEnum openReason, FormReasonTypeEnum reasonType, params object[] objects) { PreviousForm = previousForm; ShowType = openReason; ReasonType = reasonType; Objects = objects; }
public static object OpenForm <T>(Form previousForm, FormShowTypeEnum showType, FormReasonTypeEnum reasonType, params object[] objects) where T : MyForm, new() { return(OpenForm <T>(new FormParams(previousForm, showType, reasonType, objects))); }
public static object OpenForm <T>(Form previousForm, FormShowTypeEnum showType) where T : MyForm, new() { return(OpenForm <T>(new FormParams(previousForm, showType, FormReasonTypeEnum.Default, new object[0]))); }
public static CreateFormResult <T> CreateForm <T>(Form previousForm, FormShowTypeEnum showType, FormReasonTypeEnum reasonType, params object[] objects) where T : MyForm, new() { return(CreateForm <T>(new FormParams(previousForm, showType, reasonType, objects), false)); }
public static CreateFormResult <T> CreateForm <T>(Form previousForm, FormShowTypeEnum showType) where T : MyForm, new() { return(CreateForm <T>(new FormParams(previousForm, showType, FormReasonTypeEnum.Default, new object[0]), false)); }