public ManagedInterface() { this._version = "0.0.0.1"; this._formFieldType = new FormFieldType(); this._formGroupType = new FormGroupType(); this._titleLocation = new TitleLocation(); this._formControlDockStyle = new FormControlDockStyle(); }
public ManagedInterface() { this._version = "1.1.2.2"; this._formFieldType = new FormFieldType(); this._formGroupType = new FormGroupType(); this._titleLocation = new TitleLocation(); this._formControlDockStyle = new FormControlDockStyle(); this._standardDialogs = new StandardDialogs(); }
public ManagedForm() { this._version = "0.0.0.1"; this._form = new Form(); this._form.AutoSizeMode = AutoSizeMode.GrowAndShrink; this._form.MinimumSize = new Size(50, 50); this._elements = new Elements(this, _form); this._formFieldType = new FormFieldType(); this._formGroupType = new FormGroupType(); this._titleLocation = new TitleLocation(); this._name = ""; this._methodNameOnShown = ""; this._thisScriptOnShown = null; this._methodNameOnClose = ""; this._thisScriptOnClose = null; this._methodNameOnCreated = ""; this._thisScriptOnCreated = null; }
public FormField(Control parentCntrl) { FieldType = new FormFieldType(); this._name = ""; this._visible = true; this._enabled = true; this._title = ""; //this._toolTip = ""; this._parent = null; this._readOnly = false; this._parentControl = parentCntrl; this._choiceList = null; this._item = new TextBox(); this._methodName = ""; this._thisScript = null; this._methodNameDblClick = ""; this._thisScriptDblClick = null; this._methodOnChoice = ""; this._scriptOnChoice = null; this._methodOnKeyDown = ""; this._scriptOnKeyDown = null; //# По умолчанию поле ввода (обычный TextBox) this._formFieldType = 0; //# Создаем контейнер для элемента формы _panelMainContainer = new Panel(); _panelTitleContainer = new Panel(); _panelControlContainer = new Panel(); _panelMainContainer.Controls.Add(_panelControlContainer); _panelMainContainer.Controls.Add(_panelTitleContainer); _panelMainContainer.Dock = DockStyle.Top; _panelMainContainer.MinimumSize = new Size(150, 22); _panelMainContainer.AutoSize = true; _panelMainContainer.AutoSizeMode = AutoSizeMode.GrowAndShrink; _panelTitleContainer.Dock = DockStyle.Left; _panelTitleContainer.MinimumSize = new Size(50, 21); _panelTitleContainer.AutoSize = true; _panelTitleContainer.AutoSizeMode = AutoSizeMode.GrowAndShrink; _label = new Label(); _panelTitleContainer.Controls.Add(_label); _label.AutoSize = true; _label.Dock = DockStyle.Fill; //# Установка параметров панели для поля с данными _panelControlContainer.Dock = DockStyle.Fill; _panelControlContainer.MinimumSize = new Size(100, 21); _panelControlContainer.AutoSize = true; _panelControlContainer.AutoSizeMode = AutoSizeMode.GrowAndShrink; //_panelControlContainer.Controls.Add(this._item); this._parentControl.Controls.Add(_panelMainContainer); _panelMainContainer.BringToFront(); //this.createFormFieldByType(); }