protected void Init(Type strategyType, Type formType) { this.MetaData.ClassType = strategyType; this.MetaData.FormType = formType; Meta.GetMeta(this.MetaData); }
public static string GetMetaName(string code) { Meta meta = FindMetaByCode(code); return(meta.ClassType.Name); }
/// <summary> /// Show strategy form that allow user to change default setting and save these settings /// </summary> /// <param name="meta"></param> public static void ShowStrategyForm(Meta meta) { GetUserSettings(meta); forms.baseStrategyForm form = GetStrategyForm(meta); form.ShowDialog(); }