Ejemplo n.º 1
0
 public FormViewModel(ObservableCollection<string> allPackges, Form form = null)
 {
     this.FormObject = form ?? new Form();
     this.FormObject.AllPackages = new ObservableCollection<string>(allPackges);
     this.FormObject.Packages = new ObservableCollection<string>();
     //._dependencyResolver = dependencyResolver;
 }
Ejemplo n.º 2
0
        public static List<string> ParamsToParser(Form form)
        {
            var result = new List<string>();

            if (form != null)
            {
                result.Add(form.FormName);
                result.Add(form.PdfName);
                result.Add(form.Doctype);
                result.Add(form.DataNamePrefix);
                result.Add(form.Docdesc);
                result.Add(form.MergeId);
                result.Add(form.Attachment);
                result.Add(form.PdfFilePath);
            }

            return result;
        }
Ejemplo n.º 3
0
 public FormViewModel(Form form = null)
 {
     this.FormObject = form ?? new Form();
     //this._dependencyResolver = dependencyResolver;
 }