Esempio n. 1
0
 protected void Init(Type strategyType, Type formType)
 {
     this.MetaData.ClassType = strategyType;
     this.MetaData.FormType  = formType;
     Meta.GetMeta(this.MetaData);
 }
Esempio n. 2
0
        public static string GetMetaName(string code)
        {
            Meta meta = FindMetaByCode(code);

            return(meta.ClassType.Name);
        }
Esempio n. 3
0
 /// <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();
 }