public UserControlEventEditorPanel_OpenWindow_General(EventEditorAdapterAbstract hostAdapter)
     : base(hostAdapter)
 {
     InitializeComponent();
     _windowComponentService = ServiceUnity.Container.Resolve <IWindowComponentService>();
     this.txtCode.Regex      = CoreConstant.ENTITY_CODE_REGEX;
     Unity.ApplyResource(this);
     ApplyLanguageResource();
     ddlIfOpend.DataSource = EnumDescConverter.Get(typeof(OpenWindowEvent.EnumOpenWindowIfOpend));
 }
Exemplo n.º 2
0
        public FormFormChoose()
        {
            InitializeComponent();
            DataGridViewImageBinderColumn iconColumn = new DataGridViewImageBinderColumn()
            {
                Width = 25
            };

            iconColumn.Mapping(typeof(FolderEntityIndex), IconsLibrary.Folder, true);
            iconColumn.Mapping(typeof(WindowEntityIndex), IconsLibrary.Form, true);
            dataGridViewForms.Columns.Insert(0, iconColumn);
            _windowComponentService = ServiceUnity.Container.Resolve <IWindowComponentService>();
            UIHelper.ProcessDataGridView(this.dataGridViewForms);
            this.folderAddressBar.Renderer         = ToolStripRenders.ControlToControlLight;
            this.folderAddressBar.DropDownRenderer = ToolStripRenders.Control;
            Unity.ApplyResource(this);
        }
Exemplo n.º 3
0
 static DataListAddRowDevChecker()
 {
     _windowComponentService = ServiceUnity.Container.Resolve <IWindowComponentService>();
 }
Exemplo n.º 4
0
 public GlobalFormElementTreeModel(UIElementEntityTypeCollection allowFormElementControlType)
 {
     _windowComponentService          = ServiceUnity.Container.Resolve <IWindowComponentService>();
     this.AllowFormElementControlType = allowFormElementControlType;
 }
 public FolderAddressNode(WindowFolderEntity entity, FolderAddressNode parent)
 {
     _windowComponentService = ServiceUnity.Container.Resolve <IWindowComponentService>();
     this._entity            = entity;
     this.parent             = parent;
 }
 public FolderAddressNode()
 {
     _windowComponentService = ServiceUnity.Container.Resolve <IWindowComponentService>();
     GenerateRootNode();
 }
 static OpenWindowDevChecker()
 {
     _windowComponentService = ServiceUnity.Container.Resolve <IWindowComponentService>();
 }