/// <summary>
 /// Constructor for the Relate Field Definition
 /// </summary>
 /// <param name="frm">The main form</param>
 /// <param name="page">The page</param>
 public RelateFieldDefinition(Epi.Windows.MakeView.Forms.MakeViewMainForm frm, Page page)
     : base(frm)
 {
     InitializeComponent();
     this.memoryRegion = frm.EpiInterpreter;
     this.mode         = FormMode.Create;
     this.page         = page;
 }
Esempio n. 2
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="frm">The main form</param>
 public EditorToolWindow(Epi.Windows.MakeView.Forms.MakeViewMainForm frm)
     : base(frm)
 {
     InitializeComponent();
     declaredVariables = new Collection<string>();
     this.txtTextArea.AcceptsTab = true;
     this.memoryRegion = frm.EpiInterpreter;
 }
 /// <summary>
 /// Constructor for the Relate Field Definition
 /// </summary>
 /// <param name="frm">The main form</param>
 /// <param name="page">The page</param>
 public RelateFieldDefinition(Epi.Windows.MakeView.Forms.MakeViewMainForm frm, Page page)
     : base(frm)
 {
     InitializeComponent();
     this.memoryRegion = frm.EpiInterpreter;
     this.mode = FormMode.Create;
     this.page = page;
 }
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="frm">The main form</param>
 public EditorToolWindow(Epi.Windows.MakeView.Forms.MakeViewMainForm frm)
     : base(frm)
 {
     InitializeComponent();
     declaredVariables           = new Collection <string>();
     this.txtTextArea.AcceptsTab = true;
     this.memoryRegion           = frm.EpiInterpreter;
 }
 /// <summary>
 /// Constructor for the class
 /// </summary>
 /// <param name="frm">The parent form</param>
 /// <param name="field">The fied to be edited</param>
 public RelateFieldDefinition(Epi.Windows.MakeView.Forms.MakeViewMainForm frm, RelatedViewField field)
     : base(frm)
 {
     InitializeComponent();
     this.mode         = FormMode.Edit;
     this.field        = field;
     this.page         = field.Page;
     this.memoryRegion = frm.EpiInterpreter;
     LoadFormData();
 }
 /// <summary>
 /// Constructor for the class
 /// </summary>
 /// <param name="frm">The parent form</param>
 /// <param name="field">The fied to be edited</param>
 public RelateFieldDefinition(Epi.Windows.MakeView.Forms.MakeViewMainForm frm, RelatedViewField field)
     : base(frm)
 {
     InitializeComponent();
     this.mode = FormMode.Edit;
     this.field = field;
     this.page = field.Page;
     this.memoryRegion = frm.EpiInterpreter;
     LoadFormData();
 }
Esempio n. 7
0
        /// <summary>
        /// Constructor for Command Design Dialog
        /// </summary>
        /// <param name="frm">The main form</param>
        public CommandDesignDialog(Epi.Windows.MakeView.Forms.MakeViewMainForm frm)
            : base(frm)
        {
            InitializeComponent();
            this.EpiInterpreter = frm.EpiInterpreter;

            //dialogCommandProcessor = Module.GetService(typeof(ICommandProcessor)) as ICommandProcessor;
            //if (dialogCommandProcessor == null)
            //{
            //    throw new GeneralException("Command processor is required but not available.");
            //}
        }
Esempio n. 8
0
        /// <summary>
        /// Constructor for Command Design Dialog
        /// </summary>
        /// <param name="frm">The main form</param>
        public CommandDesignDialog(Epi.Windows.MakeView.Forms.MakeViewMainForm frm)
            : base(frm)
        {
            InitializeComponent();
            this.EpiInterpreter = frm.EpiInterpreter;

            //dialogCommandProcessor = Module.GetService(typeof(ICommandProcessor)) as ICommandProcessor;
            //if (dialogCommandProcessor == null)
            //{
            //    throw new GeneralException("Command processor is required but not available.");
            //}
        }
 /// <summary>
 /// Constructor for the Relate Field Definition
 /// </summary>
 /// <param name="frm">The main form</param>
 public RelateFieldDefinition(Epi.Windows.MakeView.Forms.MakeViewMainForm frm)
     : base(frm)
 {
     InitializeComponent();
     this.memoryRegion = frm.EpiInterpreter;
 }
Esempio n. 10
0
 /// <summary>
 /// Constructor for the Relate Field Definition
 /// </summary>
 /// <param name="frm">The main form</param>
 public RelateFieldDefinition(Epi.Windows.MakeView.Forms.MakeViewMainForm frm)
     : base(frm)
 {
     InitializeComponent();
     this.memoryRegion = frm.EpiInterpreter;
 }