Exemple #1
0
        public EditUserForm(MOGUserManager userManager, MOG_Project project, MOG_Privileges privileges, MOG_User user)
        {
            mProject     = project;
            mUserManager = userManager;
            mUser        = user;
            mPrivileges  = privileges;

            InitializeComponent();
        }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ConfigureProjectForm));
     this.tabControl                        = new System.Windows.Forms.TabControl();
     this.tpProjectInfo                     = new System.Windows.Forms.TabPage();
     this.projectInfoControl1               = new MOG_ControlsLibrary.ProjectInfoControl();
     this.tpDepartments                     = new System.Windows.Forms.TabPage();
     this.departmentManager                 = new MOG_ControlsLibrary.DepartmentManager();
     this.tpUsers                           = new System.Windows.Forms.TabPage();
     this.userManager                       = new MOG_ControlsLibrary.MOGUserManager();
     this.tpPrivileges                      = new System.Windows.Forms.TabPage();
     this.MogControl_Privileges             = new MOG_ControlsLibrary.Common.MogControl_PrivilegesForm.MogControl_Privileges();
     this.tpClassifications                 = new System.Windows.Forms.TabPage();
     this.assetClassificationConfigControl1 = new MOG_ControlsLibrary.AssetClassificationConfigControl();
     this.tpPlatforms                       = new System.Windows.Forms.TabPage();
     this.platformEditor                    = new MOG_ControlsLibrary.MOGPlatformEditor();
     this.tpWebTabs                         = new System.Windows.Forms.TabPage();
     this.webTabManager                     = new MOG_ControlsLibrary.MogForm_ConfigureProject.MOGWebTabManager();
     this.tpBranches                        = new System.Windows.Forms.TabPage();
     this.mogBranchManager                  = new MOG_ControlsLibrary.MogForm_ConfigureProject.MOGBranchManager();
     this.btnBrowseProjectPath              = new System.Windows.Forms.Button();
     this.btnClose                          = new System.Windows.Forms.Button();
     this.imageList                         = new System.Windows.Forms.ImageList(this.components);
     this.projectInfoControl                = new MOG_ControlsLibrary.ProjectInfoControl();
     this.mogWebTabManager1                 = new MOG_ControlsLibrary.MogForm_ConfigureProject.MOGWebTabManager();
     this.tabControl.SuspendLayout();
     this.tpProjectInfo.SuspendLayout();
     this.tpDepartments.SuspendLayout();
     this.tpUsers.SuspendLayout();
     this.tpPrivileges.SuspendLayout();
     this.tpClassifications.SuspendLayout();
     this.tpPlatforms.SuspendLayout();
     this.tpWebTabs.SuspendLayout();
     this.tpBranches.SuspendLayout();
     this.SuspendLayout();
     //
     // tabControl
     //
     this.tabControl.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                     | System.Windows.Forms.AnchorStyles.Left)
                                                                    | System.Windows.Forms.AnchorStyles.Right)));
     this.tabControl.Controls.Add(this.tpProjectInfo);
     this.tabControl.Controls.Add(this.tpDepartments);
     this.tabControl.Controls.Add(this.tpUsers);
     this.tabControl.Controls.Add(this.tpPrivileges);
     this.tabControl.Controls.Add(this.tpClassifications);
     this.tabControl.Controls.Add(this.tpPlatforms);
     this.tabControl.Controls.Add(this.tpWebTabs);
     this.tabControl.Controls.Add(this.tpBranches);
     this.tabControl.Location      = new System.Drawing.Point(8, 8);
     this.tabControl.Name          = "tabControl";
     this.tabControl.SelectedIndex = 0;
     this.tabControl.Size          = new System.Drawing.Size(744, 450);
     this.tabControl.TabIndex      = 0;
     //
     // tpProjectInfo
     //
     this.tpProjectInfo.Controls.Add(this.projectInfoControl1);
     this.tpProjectInfo.Location = new System.Drawing.Point(4, 22);
     this.tpProjectInfo.Name     = "tpProjectInfo";
     this.tpProjectInfo.Size     = new System.Drawing.Size(736, 424);
     this.tpProjectInfo.TabIndex = 0;
     this.tpProjectInfo.Text     = "Project Info";
     this.tpProjectInfo.UseVisualStyleBackColor = true;
     //
     // projectInfoControl1
     //
     this.projectInfoControl1.AddAssetToPackageCommand = "";
     this.projectInfoControl1.Anchor               = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
     this.projectInfoControl1.BuildTool            = "";
     this.projectInfoControl1.DeletePackageCommand = "";
     this.projectInfoControl1.ImmediateMode        = true;
     this.projectInfoControl1.Location             = new System.Drawing.Point(8, 136);
     this.projectInfoControl1.Name        = "projectInfoControl1";
     this.projectInfoControl1.PackageTool = "";
     this.projectInfoControl1.ProjectKey  = "";
     this.projectInfoControl1.ProjectName = "";
     this.projectInfoControl1.ProjectNameInSourceControl = "";
     this.projectInfoControl1.ProjectNameReadOnly        = true;
     this.projectInfoControl1.ProjectPath  = "";
     this.projectInfoControl1.ProjectsPath = "";
     this.projectInfoControl1.RemoveAssetFromPackageCommand = "";
     this.projectInfoControl1.Size     = new System.Drawing.Size(720, 104);
     this.projectInfoControl1.TabIndex = 0;
     //
     // tpDepartments
     //
     this.tpDepartments.Controls.Add(this.departmentManager);
     this.tpDepartments.Location = new System.Drawing.Point(4, 22);
     this.tpDepartments.Name     = "tpDepartments";
     this.tpDepartments.Padding  = new System.Windows.Forms.Padding(3);
     this.tpDepartments.Size     = new System.Drawing.Size(736, 424);
     this.tpDepartments.TabIndex = 7;
     this.tpDepartments.Text     = "Departments";
     this.tpDepartments.UseVisualStyleBackColor = true;
     //
     // departmentManager
     //
     this.departmentManager.Location = new System.Drawing.Point(6, 6);
     this.departmentManager.Name     = "departmentManager";
     this.departmentManager.Size     = new System.Drawing.Size(727, 412);
     this.departmentManager.TabIndex = 0;
     //
     // tpUsers
     //
     this.tpUsers.Controls.Add(this.userManager);
     this.tpUsers.Location = new System.Drawing.Point(4, 22);
     this.tpUsers.Name     = "tpUsers";
     this.tpUsers.Size     = new System.Drawing.Size(736, 424);
     this.tpUsers.TabIndex = 1;
     this.tpUsers.Text     = "Users";
     this.tpUsers.UseVisualStyleBackColor = true;
     //
     // userManager
     //
     this.userManager.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                      | System.Windows.Forms.AnchorStyles.Left)
                                                                     | System.Windows.Forms.AnchorStyles.Right)));
     this.userManager.Location = new System.Drawing.Point(8, 8);
     this.userManager.Name     = "userManager";
     this.userManager.Size     = new System.Drawing.Size(720, 408);
     this.userManager.TabIndex = 0;
     //
     // tpPrivileges
     //
     this.tpPrivileges.Controls.Add(this.MogControl_Privileges);
     this.tpPrivileges.Location = new System.Drawing.Point(4, 22);
     this.tpPrivileges.Name     = "tpPrivileges";
     this.tpPrivileges.Size     = new System.Drawing.Size(736, 424);
     this.tpPrivileges.TabIndex = 10;
     this.tpPrivileges.Text     = "Privileges";
     this.tpPrivileges.UseVisualStyleBackColor = true;
     //
     // MogControl_Privileges
     //
     this.MogControl_Privileges.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.MogControl_Privileges.Location = new System.Drawing.Point(0, 0);
     this.MogControl_Privileges.Name     = "MogControl_Privileges";
     this.MogControl_Privileges.Size     = new System.Drawing.Size(736, 424);
     this.MogControl_Privileges.TabIndex = 0;
     //
     // tpClassifications
     //
     this.tpClassifications.Controls.Add(this.assetClassificationConfigControl1);
     this.tpClassifications.Location = new System.Drawing.Point(4, 22);
     this.tpClassifications.Name     = "tpClassifications";
     this.tpClassifications.Size     = new System.Drawing.Size(736, 424);
     this.tpClassifications.TabIndex = 6;
     this.tpClassifications.Text     = "Classifications";
     this.tpClassifications.UseVisualStyleBackColor = true;
     //
     // assetClassificationConfigControl1
     //
     this.assetClassificationConfigControl1.AddClassificationMenuItemVisible = true;
     this.assetClassificationConfigControl1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                                            | System.Windows.Forms.AnchorStyles.Left)
                                                                                           | System.Windows.Forms.AnchorStyles.Right)));
     this.assetClassificationConfigControl1.ConfigurationVisible = true;
     this.assetClassificationConfigControl1.ImmediateMode        = true;
     this.assetClassificationConfigControl1.Location             = new System.Drawing.Point(8, 8);
     this.assetClassificationConfigControl1.Name            = "assetClassificationConfigControl1";
     this.assetClassificationConfigControl1.ProjectRootPath = "";
     this.assetClassificationConfigControl1.RemoveClassificationMenuItemVisible = true;
     this.assetClassificationConfigControl1.ShowConfigurationMenuItemVisible    = true;
     this.assetClassificationConfigControl1.Size     = new System.Drawing.Size(720, 408);
     this.assetClassificationConfigControl1.TabIndex = 0;
     //
     // tpPlatforms
     //
     this.tpPlatforms.Controls.Add(this.platformEditor);
     this.tpPlatforms.Location = new System.Drawing.Point(4, 22);
     this.tpPlatforms.Name     = "tpPlatforms";
     this.tpPlatforms.Size     = new System.Drawing.Size(736, 424);
     this.tpPlatforms.TabIndex = 2;
     this.tpPlatforms.Text     = "Platforms";
     this.tpPlatforms.UseVisualStyleBackColor = true;
     //
     // platformEditor
     //
     this.platformEditor.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                         | System.Windows.Forms.AnchorStyles.Left)
                                                                        | System.Windows.Forms.AnchorStyles.Right)));
     this.platformEditor.IconLocation = null;
     this.platformEditor.Location     = new System.Drawing.Point(8, 8);
     this.platformEditor.Name         = "platformEditor";
     this.platformEditor.Size         = new System.Drawing.Size(720, 408);
     this.platformEditor.TabIndex     = 0;
     //
     // tpWebTabs
     //
     this.tpWebTabs.Controls.Add(this.webTabManager);
     this.tpWebTabs.Location = new System.Drawing.Point(4, 22);
     this.tpWebTabs.Name     = "tpWebTabs";
     this.tpWebTabs.Size     = new System.Drawing.Size(736, 424);
     this.tpWebTabs.TabIndex = 8;
     this.tpWebTabs.Text     = "Web Tabs";
     this.tpWebTabs.UseVisualStyleBackColor = true;
     //
     // webTabManager
     //
     this.webTabManager.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                        | System.Windows.Forms.AnchorStyles.Left)
                                                                       | System.Windows.Forms.AnchorStyles.Right)));
     this.webTabManager.Location = new System.Drawing.Point(8, 8);
     this.webTabManager.Name     = "webTabManager";
     this.webTabManager.Size     = new System.Drawing.Size(720, 408);
     this.webTabManager.TabIndex = 1;
     //
     // tpBranches
     //
     this.tpBranches.Controls.Add(this.mogBranchManager);
     this.tpBranches.Location = new System.Drawing.Point(4, 22);
     this.tpBranches.Name     = "tpBranches";
     this.tpBranches.Size     = new System.Drawing.Size(736, 424);
     this.tpBranches.TabIndex = 9;
     this.tpBranches.Text     = "Branches";
     this.tpBranches.UseVisualStyleBackColor = true;
     //
     // mogBranchManager
     //
     this.mogBranchManager.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                           | System.Windows.Forms.AnchorStyles.Left)
                                                                          | System.Windows.Forms.AnchorStyles.Right)));
     this.mogBranchManager.Location = new System.Drawing.Point(8, 8);
     this.mogBranchManager.Name     = "mogBranchManager";
     this.mogBranchManager.Size     = new System.Drawing.Size(720, 408);
     this.mogBranchManager.TabIndex = 2;
     //
     // btnBrowseProjectPath
     //
     this.btnBrowseProjectPath.Location = new System.Drawing.Point(0, 0);
     this.btnBrowseProjectPath.Name     = "btnBrowseProjectPath";
     this.btnBrowseProjectPath.Size     = new System.Drawing.Size(75, 23);
     this.btnBrowseProjectPath.TabIndex = 0;
     //
     // btnClose
     //
     this.btnClose.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.btnClose.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.btnClose.FlatStyle    = System.Windows.Forms.FlatStyle.System;
     this.btnClose.Location     = new System.Drawing.Point(664, 472);
     this.btnClose.Name         = "btnClose";
     this.btnClose.Size         = new System.Drawing.Size(75, 23);
     this.btnClose.TabIndex     = 3;
     this.btnClose.Text         = "Close";
     this.btnClose.Click       += new System.EventHandler(this.btnClose_Click);
     //
     // imageList
     //
     this.imageList.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList.ImageStream")));
     this.imageList.TransparentColor = System.Drawing.Color.Transparent;
     this.imageList.Images.SetKeyName(0, "");
     this.imageList.Images.SetKeyName(1, "");
     this.imageList.Images.SetKeyName(2, "");
     this.imageList.Images.SetKeyName(3, "");
     //
     // projectInfoControl
     //
     this.projectInfoControl.AddAssetToPackageCommand = "";
     this.projectInfoControl.BuildTool            = "";
     this.projectInfoControl.DeletePackageCommand = "";
     this.projectInfoControl.ImmediateMode        = false;
     this.projectInfoControl.Location             = new System.Drawing.Point(0, 0);
     this.projectInfoControl.Name        = "projectInfoControl";
     this.projectInfoControl.PackageTool = "";
     this.projectInfoControl.ProjectKey  = "";
     this.projectInfoControl.ProjectName = "";
     this.projectInfoControl.ProjectNameInSourceControl = "";
     this.projectInfoControl.ProjectNameReadOnly        = false;
     this.projectInfoControl.ProjectPath  = "";
     this.projectInfoControl.ProjectsPath = "";
     this.projectInfoControl.RemoveAssetFromPackageCommand = "";
     this.projectInfoControl.Size     = new System.Drawing.Size(488, 104);
     this.projectInfoControl.TabIndex = 0;
     //
     // mogWebTabManager1
     //
     this.mogWebTabManager1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                            | System.Windows.Forms.AnchorStyles.Left)
                                                                           | System.Windows.Forms.AnchorStyles.Right)));
     this.mogWebTabManager1.Location = new System.Drawing.Point(8, 8);
     this.mogWebTabManager1.Name     = "mogWebTabManager1";
     this.mogWebTabManager1.Size     = new System.Drawing.Size(720, 408);
     this.mogWebTabManager1.TabIndex = 1;
     //
     // ConfigureProjectForm
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(762, 512);
     this.ControlBox        = false;
     this.Controls.Add(this.btnClose);
     this.Controls.Add(this.tabControl);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name            = "ConfigureProjectForm";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text            = "Project Configuration";
     this.FormClosing    += new System.Windows.Forms.FormClosingEventHandler(this.ConfigureProjectForm_FormClosing);
     this.Load           += new System.EventHandler(this.ConfigureProjectForm_Load);
     this.tabControl.ResumeLayout(false);
     this.tpProjectInfo.ResumeLayout(false);
     this.tpDepartments.ResumeLayout(false);
     this.tpUsers.ResumeLayout(false);
     this.tpPrivileges.ResumeLayout(false);
     this.tpClassifications.ResumeLayout(false);
     this.tpPlatforms.ResumeLayout(false);
     this.tpWebTabs.ResumeLayout(false);
     this.tpBranches.ResumeLayout(false);
     this.ResumeLayout(false);
 }