Ejemplo n.º 1
0
 public FormParams(Form previousForm, FormShowTypeEnum openReason, FormReasonTypeEnum reasonType, params object[] objects)
 {
     PreviousForm = previousForm;
     ShowType     = openReason;
     ReasonType   = reasonType;
     Objects      = objects;
 }
Ejemplo n.º 2
0
 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)));
 }
Ejemplo n.º 3
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));
 }