public ExplorerGridContainer() { InitializeComponent(); Unity.ApplyResource(this); UIHelper.ProcessDataGridView(this.dataGridView); this.pictureBox1.Image = ImagesLibrary.Navigate_48; if (DesignMode) { return; } //初始化命令 InitCommands(); //初始化菜单 InitContextMenu(); //初始化 DataGridView 控制器 InitController(); SubscribeEvent(); }
public FolderEditView(string parentId) { InitializeComponent(); Unity.ApplyResource(this); ApplyLanguageResource(); _parentId = parentId; }
public WindowEditView(string folderId) { InitializeComponent(); Unity.ApplyResource(this); ApplyLanguageResource(); this.txtCode.Regex = CoreConstant.ENTITY_CODE_REGEX; this.folderId = folderId; }
public EnumEntityEditView() { InitializeComponent(); Unity.ApplyResource(this); ApplyLanguageResource(); this.txtCode.Regex = CoreConstant.ENTITY_CODE_REGEX; this.txtCode.CustomValidate = CodeValidateMethod; }
public EnumItemEntityEditView(EnumEntity enumEntity) { InitializeComponent(); Unity.ApplyResource(this); ApplyLanguageResource(); _enumEntity = enumEntity; this.txtValue.CustomValidate = ValueValidateMethod; }
public ToolStripGroupEditView(string pageId) { InitializeComponent(); Unity.ApplyResource(this); ApplyLanguageResource(); this.txtCode.Regex = CoreConstant.ENTITY_CODE_REGEX; this.txtCode.CustomValidate = CodeValidateMethod; _pageId = pageId; }
public ProjectPropertyView() { InitializeComponent(); _container = ServiceUnity.Container; _projectService = _container.Resolve <IProjectService>(); _project = (Project)_projectService.Current; Unity.ApplyResource(this); ApplyLanguageResource(); }
public DataBaseCreateWizard_Create() { InitializeComponent(); Unity.ApplyResource(this); this.panelCreate.Dock = DockStyle.Fill; this.panelError.Dock = DockStyle.Fill; _backgroundWorkerCreateDataBase.DoWork += new DoWorkEventHandler(backgroundWorkerCreateDataBase_DoWork); _backgroundWorkerCreateDataBase.RunWorkerCompleted += new RunWorkerCompletedEventHandler(backgroundWorkerCreateDataBase_RunWorkerCompleted); }
public DataItemEditView(DataEntityDev dataEntity) { InitializeComponent(); this.txtCode.Regex = CoreConstant.ENTITY_CODE_REGEX; this.txtCode.CustomValidate = CodeValidateMethod; this.txtLength.MaxLength = 4; this.txtLength.CustomValidate = LengthValidateMethod; Unity.ApplyResource(this); this.ApplyLanguageResource(); this._dataEntity = dataEntity; }
public MenuEditView(string parentId) { InitializeComponent(); Unity.ApplyResource(this); ApplyLanguageResource(); this._parentId = parentId; this.txtCode.Regex = CoreConstant.ENTITY_CODE_REGEX; this.txtCode.CustomValidate = CodeValidateMethod; _userControlEvent.Dock = DockStyle.Fill; this.panelEvent.Controls.Add(_userControlEvent); }
public ToolStripItemEditView(string groupId) { InitializeComponent(); Unity.ApplyResource(this); ApplyLanguageResource(); _groupId = groupId; PropertyGridTypeWrapper typeWrapper = new PropertyGridTypeWrapper(typeof(ToolStripItemAbstract)); typeWrapper.ActOnSubClass = true; typeWrapper.VisibleAll = true; typeWrapper.VisibleException.AddRange(new string[] { ToolStripItemAbstract.Property_Name, ToolStripItemAbstract.Property_Code }); propertyGrid.AddTypeWrapper(typeWrapper); this.txtCode.Regex = CoreConstant.ENTITY_CODE_REGEX; this.txtCode.CustomValidate = CodeValidateMethod; this._userControlEvent = new UserControlEvent(null); this._userControlEvent.FormEntity = null; this._userControlEvent.Dock = DockStyle.Fill; }
public CreateProjectView() { InitializeComponent(); _container = ServiceUnity.Container; Unity.ApplyResource(this); }
public DataBaseCreateWizard_Account() { InitializeComponent(); Unity.ApplyResource(this); ApplyLanguageResource(); }
public DataBaseCreateWizard_Confirm() { InitializeComponent(); Unity.ApplyResource(this); this.BackSkip = true; }
public DataBaseCreateWizard_Option() { InitializeComponent(); Unity.ApplyResource(this); }