コード例 #1
0
ファイル: ProjectEdit.Designer.cs プロジェクト: mlivensp/csla
 /// <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();
     Wisej.Web.Label DescriptionLabel;
     Wisej.Web.Label EndedLabel;
     Wisej.Web.Label IdLabel;
     Wisej.Web.Label NameLabel;
     Wisej.Web.Label StartedLabel;
     this.CloseButton           = new Wisej.Web.Button();
     this.ApplyButton           = new Wisej.Web.Button();
     this.Cancel_Button         = new Wisej.Web.Button();
     this.OKButton              = new Wisej.Web.Button();
     this.GroupBox1             = new Wisej.Web.GroupBox();
     this.UnassignButton        = new Wisej.Web.Button();
     this.AssignButton          = new Wisej.Web.Button();
     this.ResourcesDataGridView = new Wisej.Web.DataGridView();
     this.ResourceId            = new Wisej.Web.DataGridViewTextBoxColumn();
     this.FullName              = new Wisej.Web.DataGridViewLinkColumn();
     this.Role = new Wisej.Web.DataGridViewComboBoxColumn();
     this.RoleListBindingSource             = new Wisej.Web.BindingSource(this.components);
     this.assignedDataGridViewTextBoxColumn = new Wisej.Web.DataGridViewTextBoxColumn();
     this.ResourcesBindingSource            = new Wisej.Web.BindingSource(this.components);
     this.ProjectBindingSource    = new Wisej.Web.BindingSource(this.components);
     this.DescriptionTextBox      = new Wisej.Web.TextBox();
     this.EndedTextBox            = new Wisej.Web.TextBox();
     this.IdLabel1                = new Wisej.Web.Label();
     this.NameTextBox             = new Wisej.Web.TextBox();
     this.StartedTextBox          = new Wisej.Web.TextBox();
     this.ErrorProvider1          = new Wisej.Web.ErrorProvider(this.components);
     this.ReadWriteAuthorization1 = new CslaContrib.WisejWeb.ReadWriteAuthorization(this.components);
     this.RefreshButton           = new Wisej.Web.Button();
     DescriptionLabel             = new Wisej.Web.Label();
     EndedLabel   = new Wisej.Web.Label();
     IdLabel      = new Wisej.Web.Label();
     NameLabel    = new Wisej.Web.Label();
     StartedLabel = new Wisej.Web.Label();
     this.GroupBox1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.ResourcesDataGridView)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.RoleListBindingSource)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ResourcesBindingSource)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ProjectBindingSource)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ErrorProvider1)).BeginInit();
     this.SuspendLayout();
     //
     // DescriptionLabel
     //
     this.ReadWriteAuthorization1.SetApplyAuthorization(DescriptionLabel, false);
     DescriptionLabel.AutoSize = true;
     DescriptionLabel.Location = new System.Drawing.Point(12, 120);
     DescriptionLabel.Name     = "DescriptionLabel";
     DescriptionLabel.Size     = new System.Drawing.Size(65, 14);
     DescriptionLabel.TabIndex = 8;
     DescriptionLabel.Text     = "Description:";
     //
     // EndedLabel
     //
     this.ReadWriteAuthorization1.SetApplyAuthorization(EndedLabel, false);
     EndedLabel.AutoSize = true;
     EndedLabel.Location = new System.Drawing.Point(12, 94);
     EndedLabel.Name     = "EndedLabel";
     EndedLabel.Size     = new System.Drawing.Size(41, 14);
     EndedLabel.TabIndex = 6;
     EndedLabel.Text     = "Ended:";
     //
     // IdLabel
     //
     this.ReadWriteAuthorization1.SetApplyAuthorization(IdLabel, false);
     IdLabel.AutoSize = true;
     IdLabel.Location = new System.Drawing.Point(12, 13);
     IdLabel.Name     = "IdLabel";
     IdLabel.Size     = new System.Drawing.Size(21, 14);
     IdLabel.TabIndex = 0;
     IdLabel.Text     = "Id:";
     //
     // NameLabel
     //
     this.ReadWriteAuthorization1.SetApplyAuthorization(NameLabel, false);
     NameLabel.AutoSize = true;
     NameLabel.Location = new System.Drawing.Point(12, 42);
     NameLabel.Name     = "NameLabel";
     NameLabel.Size     = new System.Drawing.Size(39, 14);
     NameLabel.TabIndex = 2;
     NameLabel.Text     = "Name:";
     //
     // StartedLabel
     //
     this.ReadWriteAuthorization1.SetApplyAuthorization(StartedLabel, false);
     StartedLabel.AutoSize = true;
     StartedLabel.Location = new System.Drawing.Point(12, 68);
     StartedLabel.Name     = "StartedLabel";
     StartedLabel.Size     = new System.Drawing.Size(46, 14);
     StartedLabel.TabIndex = 4;
     StartedLabel.Text     = "Started:";
     //
     // CloseButton
     //
     this.CloseButton.Anchor = ((Wisej.Web.AnchorStyles)((Wisej.Web.AnchorStyles.Top | Wisej.Web.AnchorStyles.Right)));
     this.ReadWriteAuthorization1.SetApplyAuthorization(this.CloseButton, false);
     this.CloseButton.DialogResult = Wisej.Web.DialogResult.Cancel;
     this.CloseButton.Location     = new System.Drawing.Point(814, 100);
     this.CloseButton.Name         = "CloseButton";
     this.CloseButton.Size         = new System.Drawing.Size(75, 23);
     this.CloseButton.TabIndex     = 14;
     this.CloseButton.Text         = "Close";
     this.CloseButton.Click       += new System.EventHandler(this.CloseButton_Click);
     //
     // ApplyButton
     //
     this.ApplyButton.Anchor = ((Wisej.Web.AnchorStyles)((Wisej.Web.AnchorStyles.Top | Wisej.Web.AnchorStyles.Right)));
     this.ReadWriteAuthorization1.SetApplyAuthorization(this.ApplyButton, false);
     this.ApplyButton.DialogResult = Wisej.Web.DialogResult.Cancel;
     this.ApplyButton.Location     = new System.Drawing.Point(814, 42);
     this.ApplyButton.Name         = "ApplyButton";
     this.ApplyButton.Size         = new System.Drawing.Size(75, 23);
     this.ApplyButton.TabIndex     = 12;
     this.ApplyButton.Text         = "Apply";
     this.ApplyButton.Click       += new System.EventHandler(this.ApplyButton_Click);
     //
     // Cancel_Button
     //
     this.Cancel_Button.Anchor = ((Wisej.Web.AnchorStyles)((Wisej.Web.AnchorStyles.Top | Wisej.Web.AnchorStyles.Right)));
     this.ReadWriteAuthorization1.SetApplyAuthorization(this.Cancel_Button, false);
     this.Cancel_Button.DialogResult = Wisej.Web.DialogResult.Cancel;
     this.Cancel_Button.Location     = new System.Drawing.Point(814, 71);
     this.Cancel_Button.Name         = "Cancel_Button";
     this.Cancel_Button.Size         = new System.Drawing.Size(75, 23);
     this.Cancel_Button.TabIndex     = 13;
     this.Cancel_Button.Text         = "Cancel";
     this.Cancel_Button.Click       += new System.EventHandler(this.Cancel_Button_Click);
     //
     // OKButton
     //
     this.OKButton.Anchor = ((Wisej.Web.AnchorStyles)((Wisej.Web.AnchorStyles.Top | Wisej.Web.AnchorStyles.Right)));
     this.ReadWriteAuthorization1.SetApplyAuthorization(this.OKButton, false);
     this.OKButton.Location = new System.Drawing.Point(814, 13);
     this.OKButton.Name     = "OKButton";
     this.OKButton.Size     = new System.Drawing.Size(75, 23);
     this.OKButton.TabIndex = 11;
     this.OKButton.Text     = "OK";
     this.OKButton.Click   += new System.EventHandler(this.OKButton_Click);
     //
     // GroupBox1
     //
     this.GroupBox1.Anchor = ((Wisej.Web.AnchorStyles)((((Wisej.Web.AnchorStyles.Top | Wisej.Web.AnchorStyles.Bottom)
                                                         | Wisej.Web.AnchorStyles.Left)
                                                        | Wisej.Web.AnchorStyles.Right)));
     this.ReadWriteAuthorization1.SetApplyAuthorization(this.GroupBox1, false);
     this.GroupBox1.Controls.Add(this.UnassignButton);
     this.GroupBox1.Controls.Add(this.AssignButton);
     this.GroupBox1.Controls.Add(this.ResourcesDataGridView);
     this.GroupBox1.Location = new System.Drawing.Point(81, 231);
     this.GroupBox1.Name     = "GroupBox1";
     this.GroupBox1.Size     = new System.Drawing.Size(696, 210);
     this.GroupBox1.TabIndex = 10;
     this.GroupBox1.Text     = "Resources";
     //
     // UnassignButton
     //
     this.UnassignButton.Anchor = ((Wisej.Web.AnchorStyles)((Wisej.Web.AnchorStyles.Top | Wisej.Web.AnchorStyles.Right)));
     this.ReadWriteAuthorization1.SetApplyAuthorization(this.UnassignButton, false);
     this.UnassignButton.Location = new System.Drawing.Point(615, 48);
     this.UnassignButton.Name     = "UnassignButton";
     this.UnassignButton.Size     = new System.Drawing.Size(75, 23);
     this.UnassignButton.TabIndex = 2;
     this.UnassignButton.Text     = "Unassign";
     this.UnassignButton.Click   += new System.EventHandler(this.UnassignButton_Click);
     //
     // AssignButton
     //
     this.AssignButton.Anchor = ((Wisej.Web.AnchorStyles)((Wisej.Web.AnchorStyles.Top | Wisej.Web.AnchorStyles.Right)));
     this.ReadWriteAuthorization1.SetApplyAuthorization(this.AssignButton, false);
     this.AssignButton.Location = new System.Drawing.Point(615, 19);
     this.AssignButton.Name     = "AssignButton";
     this.AssignButton.Size     = new System.Drawing.Size(75, 23);
     this.AssignButton.TabIndex = 1;
     this.AssignButton.Text     = "Assign";
     this.AssignButton.Click   += new System.EventHandler(this.AssignButton_Click);
     //
     // ResourcesDataGridView
     //
     this.ResourcesDataGridView.Anchor = ((Wisej.Web.AnchorStyles)((((Wisej.Web.AnchorStyles.Top | Wisej.Web.AnchorStyles.Bottom)
                                                                     | Wisej.Web.AnchorStyles.Left)
                                                                    | Wisej.Web.AnchorStyles.Right)));
     this.ReadWriteAuthorization1.SetApplyAuthorization(this.ResourcesDataGridView, true);
     this.ResourcesDataGridView.AutoGenerateColumns = false;
     this.ResourcesDataGridView.AutoSizeColumnsMode = Wisej.Web.DataGridViewAutoSizeColumnsMode.AllCells;
     this.ResourcesDataGridView.Columns.AddRange(new Wisej.Web.DataGridViewColumn[] {
         this.ResourceId,
         this.FullName,
         this.Role,
         this.assignedDataGridViewTextBoxColumn
     });
     this.ResourcesDataGridView.DataSource               = this.ResourcesBindingSource;
     this.ResourcesDataGridView.Location                 = new System.Drawing.Point(6, 19);
     this.ResourcesDataGridView.MultiSelect              = false;
     this.ResourcesDataGridView.Name                     = "ResourcesDataGridView";
     this.ResourcesDataGridView.RowHeadersVisible        = false;
     this.ResourcesDataGridView.SelectionMode            = Wisej.Web.DataGridViewSelectionMode.FullRowSelect;
     this.ResourcesDataGridView.ShowColumnVisibilityMenu = false;
     this.ResourcesDataGridView.Size                     = new System.Drawing.Size(603, 185);
     this.ResourcesDataGridView.TabIndex                 = 0;
     this.ResourcesDataGridView.CellClick               += new Wisej.Web.DataGridViewCellEventHandler(this.ResourcesDataGridView_CellContentClick);
     //
     // ResourceId
     //
     this.ResourceId.DataPropertyName = "ResourceId";
     this.ResourceId.HeaderText       = "ResourceId";
     this.ResourceId.Name             = "ResourceId";
     this.ResourceId.ReadOnly         = true;
     this.ResourceId.ValueType        = typeof(int);
     this.ResourceId.Visible          = false;
     //
     // FullName
     //
     this.FullName.AutoSizeMode     = Wisej.Web.DataGridViewAutoSizeColumnMode.Fill;
     this.FullName.DataPropertyName = "FullName";
     this.FullName.FillWeight       = 300F;
     this.FullName.HeaderText       = "Full Name";
     this.FullName.MinimumWidth     = 200;
     this.FullName.Name             = "FullName";
     this.FullName.ReadOnly         = true;
     this.FullName.Resizable        = Wisej.Web.DataGridViewTriState.True;
     this.FullName.SortMode         = Wisej.Web.DataGridViewColumnSortMode.Automatic;
     this.FullName.Text             = "";
     this.FullName.ValueType        = typeof(string);
     this.FullName.Width            = 300;
     //
     // Role
     //
     this.Role.DataPropertyName = "Role";
     this.Role.DataSource       = this.RoleListBindingSource;
     this.Role.DisplayMember    = "Value";
     this.Role.DropDownStyle    = Wisej.Web.ComboBoxStyle.DropDownList;
     this.Role.FillWeight       = 200F;
     this.Role.HeaderText       = "Role";
     this.Role.MinimumWidth     = 100;
     this.Role.Name             = "Role";
     this.Role.ValueMember      = "Key";
     this.Role.ValueType        = typeof(int);
     this.Role.Width            = 200;
     //
     // RoleListBindingSource
     //
     this.RoleListBindingSource.DataSource           = typeof(ProjectTracker.Library.RoleList);
     this.RoleListBindingSource.RefreshValueOnChange = true;
     //
     // assignedDataGridViewTextBoxColumn
     //
     this.assignedDataGridViewTextBoxColumn.DataPropertyName = "Assigned";
     this.assignedDataGridViewTextBoxColumn.HeaderText       = "Assigned";
     this.assignedDataGridViewTextBoxColumn.MinimumWidth     = 50;
     this.assignedDataGridViewTextBoxColumn.Name             = "assignedDataGridViewTextBoxColumn";
     this.assignedDataGridViewTextBoxColumn.ReadOnly         = true;
     this.assignedDataGridViewTextBoxColumn.ValueType        = typeof(System.DateTime);
     //
     // ResourcesBindingSource
     //
     this.ResourcesBindingSource.DataMember = "Resources";
     this.ResourcesBindingSource.DataSource = this.ProjectBindingSource;
     //
     // ProjectBindingSource
     //
     this.ProjectBindingSource.DataSource           = typeof(ProjectTracker.Library.ProjectEdit);
     this.ProjectBindingSource.RefreshValueOnChange = true;
     //
     // DescriptionTextBox
     //
     this.DescriptionTextBox.Anchor = ((Wisej.Web.AnchorStyles)(((Wisej.Web.AnchorStyles.Top | Wisej.Web.AnchorStyles.Left)
                                                                 | Wisej.Web.AnchorStyles.Right)));
     this.ReadWriteAuthorization1.SetApplyAuthorization(this.DescriptionTextBox, true);
     this.DescriptionTextBox.DataBindings.Add(new Wisej.Web.Binding("Text", this.ProjectBindingSource, "Description", true));
     this.DescriptionTextBox.Location  = new System.Drawing.Point(81, 117);
     this.DescriptionTextBox.Multiline = true;
     this.DescriptionTextBox.Name      = "DescriptionTextBox";
     this.DescriptionTextBox.Size      = new System.Drawing.Size(696, 108);
     this.DescriptionTextBox.TabIndex  = 9;
     //
     // EndedTextBox
     //
     this.EndedTextBox.Anchor = ((Wisej.Web.AnchorStyles)(((Wisej.Web.AnchorStyles.Top | Wisej.Web.AnchorStyles.Left)
                                                           | Wisej.Web.AnchorStyles.Right)));
     this.ReadWriteAuthorization1.SetApplyAuthorization(this.EndedTextBox, true);
     this.EndedTextBox.DataBindings.Add(new Wisej.Web.Binding("Text", this.ProjectBindingSource, "Ended", true));
     this.EndedTextBox.Location = new System.Drawing.Point(81, 91);
     this.EndedTextBox.Name     = "EndedTextBox";
     this.EndedTextBox.Size     = new System.Drawing.Size(696, 20);
     this.EndedTextBox.TabIndex = 7;
     //
     // IdLabel1
     //
     this.IdLabel1.Anchor = ((Wisej.Web.AnchorStyles)(((Wisej.Web.AnchorStyles.Top | Wisej.Web.AnchorStyles.Left)
                                                       | Wisej.Web.AnchorStyles.Right)));
     this.ReadWriteAuthorization1.SetApplyAuthorization(this.IdLabel1, false);
     this.IdLabel1.DataBindings.Add(new Wisej.Web.Binding("Text", this.ProjectBindingSource, "Id", true));
     this.IdLabel1.Location = new System.Drawing.Point(81, 13);
     this.IdLabel1.Name     = "IdLabel1";
     this.IdLabel1.Size     = new System.Drawing.Size(696, 23);
     this.IdLabel1.TabIndex = 1;
     //
     // NameTextBox
     //
     this.NameTextBox.Anchor = ((Wisej.Web.AnchorStyles)(((Wisej.Web.AnchorStyles.Top | Wisej.Web.AnchorStyles.Left)
                                                          | Wisej.Web.AnchorStyles.Right)));
     this.ReadWriteAuthorization1.SetApplyAuthorization(this.NameTextBox, true);
     this.NameTextBox.DataBindings.Add(new Wisej.Web.Binding("Text", this.ProjectBindingSource, "Name", true));
     this.NameTextBox.Location = new System.Drawing.Point(81, 39);
     this.NameTextBox.Name     = "NameTextBox";
     this.NameTextBox.Size     = new System.Drawing.Size(696, 20);
     this.NameTextBox.TabIndex = 3;
     //
     // StartedTextBox
     //
     this.StartedTextBox.Anchor = ((Wisej.Web.AnchorStyles)(((Wisej.Web.AnchorStyles.Top | Wisej.Web.AnchorStyles.Left)
                                                             | Wisej.Web.AnchorStyles.Right)));
     this.ReadWriteAuthorization1.SetApplyAuthorization(this.StartedTextBox, true);
     this.StartedTextBox.DataBindings.Add(new Wisej.Web.Binding("Text", this.ProjectBindingSource, "Started", true));
     this.StartedTextBox.Location = new System.Drawing.Point(81, 65);
     this.StartedTextBox.Name     = "StartedTextBox";
     this.StartedTextBox.Size     = new System.Drawing.Size(696, 20);
     this.StartedTextBox.TabIndex = 5;
     //
     // ErrorProvider1
     //
     this.ErrorProvider1.BlinkStyle       = Wisej.Web.ErrorBlinkStyle.NeverBlink;
     this.ErrorProvider1.ContainerControl = this;
     this.ErrorProvider1.DataSource       = this.ProjectBindingSource;
     //
     // RefreshButton
     //
     this.RefreshButton.Anchor = ((Wisej.Web.AnchorStyles)((Wisej.Web.AnchorStyles.Top | Wisej.Web.AnchorStyles.Right)));
     this.ReadWriteAuthorization1.SetApplyAuthorization(this.RefreshButton, false);
     this.RefreshButton.Location = new System.Drawing.Point(814, 129);
     this.RefreshButton.Name     = "RefreshButton";
     this.RefreshButton.Size     = new System.Drawing.Size(75, 23);
     this.RefreshButton.TabIndex = 15;
     this.RefreshButton.Text     = "Refresh";
     this.RefreshButton.Click   += new System.EventHandler(this.RefreshButton_Click);
     //
     // ProjectEdit
     //
     this.ReadWriteAuthorization1.SetApplyAuthorization(this, false);
     this.Controls.Add(this.RefreshButton);
     this.Controls.Add(this.CloseButton);
     this.Controls.Add(this.ApplyButton);
     this.Controls.Add(this.Cancel_Button);
     this.Controls.Add(this.OKButton);
     this.Controls.Add(this.GroupBox1);
     this.Controls.Add(DescriptionLabel);
     this.Controls.Add(this.DescriptionTextBox);
     this.Controls.Add(EndedLabel);
     this.Controls.Add(IdLabel);
     this.Controls.Add(NameLabel);
     this.Controls.Add(StartedLabel);
     this.Controls.Add(this.EndedTextBox);
     this.Controls.Add(this.IdLabel1);
     this.Controls.Add(this.NameTextBox);
     this.Controls.Add(this.StartedTextBox);
     this.Name = "ProjectEdit";
     this.Size = new System.Drawing.Size(901, 470);
     this.CurrentPrincipalChanged += new System.EventHandler(this.ProjectEdit_CurrentPrincipalChanged);
     this.Load += new System.EventHandler(this.ProjectEdit_Load);
     this.GroupBox1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.ResourcesDataGridView)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.RoleListBindingSource)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ResourcesBindingSource)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ProjectBindingSource)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ErrorProvider1)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #2
0
 /// <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();
     Wisej.Web.Label cardHolderLabel;
     Wisej.Web.Label cardTypeLabel;
     Wisej.Web.Label creditCardLabel;
     Wisej.Web.Label expDateLabel;
     Wisej.Web.Label orderIDLabel;
     Wisej.Web.Label orderNumberLabel;
     Wisej.Web.Label userNameLabel;
     Wisej.Web.Label textLabel;
     Wisej.Web.DataGridViewCellStyle dataGridViewCellStyle1 = new Wisej.Web.DataGridViewCellStyle();
     Wisej.Web.DataGridViewCellStyle dataGridViewCellStyle2 = new Wisej.Web.DataGridViewCellStyle();
     this.cardHolderTextBox            = new Wisej.Web.TextBox();
     this.orderBindingSource           = new Wisej.Web.BindingSource(this.components);
     this.cardTypeTextBox              = new Wisej.Web.TextBox();
     this.creditCardTextBox            = new Wisej.Web.TextBox();
     this.expDateTextBox               = new Wisej.Web.TextBox();
     this.orderIDLabel1                = new Wisej.Web.Label();
     this.orderNumberTextBox           = new Wisej.Web.TextBox();
     this.userNameTextBox              = new Wisej.Web.TextBox();
     this.orderDateTextBox             = new Wisej.Web.TextBox();
     this.orderDetailListBindingSource = new Wisej.Web.BindingSource(this.components);
     this.orderDetailListDataGridView  = new Wisej.Web.DataGridView();
     this.toolStrip1                 = new Wisej.Web.ToolBar();
     this.toolSave                   = new Wisej.Web.ToolBarButton();
     this.toolSaveNew                = new Wisej.Web.ToolBarButton();
     this.toolSaveClose              = new Wisej.Web.ToolBarButton();
     this.toolCancel                 = new Wisej.Web.ToolBarButton();
     this.toolClose                  = new Wisej.Web.ToolBarButton();
     this.errorProvider1             = new Wisej.Web.ErrorProvider(this.components);
     this.dataGridViewTextBoxColumn1 = new Wisej.Web.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn3 = new Wisej.Web.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn4 = new Wisej.Web.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn5 = new Wisej.Web.DataGridViewTextBoxColumn();
     cardHolderLabel                 = new Wisej.Web.Label();
     cardTypeLabel                   = new Wisej.Web.Label();
     creditCardLabel                 = new Wisej.Web.Label();
     expDateLabel     = new Wisej.Web.Label();
     orderIDLabel     = new Wisej.Web.Label();
     orderNumberLabel = new Wisej.Web.Label();
     userNameLabel    = new Wisej.Web.Label();
     textLabel        = new Wisej.Web.Label();
     ((System.ComponentModel.ISupportInitialize)(this.orderBindingSource)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.orderDetailListBindingSource)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.orderDetailListDataGridView)).BeginInit();
     this.toolStrip1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.errorProvider1)).BeginInit();
     this.SuspendLayout();
     //
     // cardHolderLabel
     //
     cardHolderLabel.AutoSize = true;
     cardHolderLabel.Location = new System.Drawing.Point(36, 59);
     cardHolderLabel.Name     = "cardHolderLabel";
     cardHolderLabel.Size     = new System.Drawing.Size(66, 13);
     cardHolderLabel.TabIndex = 1;
     cardHolderLabel.Text     = "Card Holder:";
     //
     // cardTypeLabel
     //
     cardTypeLabel.AutoSize = true;
     cardTypeLabel.Location = new System.Drawing.Point(36, 85);
     cardTypeLabel.Name     = "cardTypeLabel";
     cardTypeLabel.Size     = new System.Drawing.Size(59, 13);
     cardTypeLabel.TabIndex = 3;
     cardTypeLabel.Text     = "Card Type:";
     //
     // creditCardLabel
     //
     creditCardLabel.AutoSize = true;
     creditCardLabel.Location = new System.Drawing.Point(36, 111);
     creditCardLabel.Name     = "creditCardLabel";
     creditCardLabel.Size     = new System.Drawing.Size(62, 13);
     creditCardLabel.TabIndex = 5;
     creditCardLabel.Text     = "Credit Card:";
     //
     // expDateLabel
     //
     expDateLabel.AutoSize = true;
     expDateLabel.Location = new System.Drawing.Point(36, 137);
     expDateLabel.Name     = "expDateLabel";
     expDateLabel.Size     = new System.Drawing.Size(54, 13);
     expDateLabel.TabIndex = 7;
     expDateLabel.Text     = "Exp Date:";
     //
     // orderIDLabel
     //
     orderIDLabel.AutoSize = true;
     orderIDLabel.Location = new System.Drawing.Point(36, 163);
     orderIDLabel.Name     = "orderIDLabel";
     orderIDLabel.Size     = new System.Drawing.Size(50, 13);
     orderIDLabel.TabIndex = 9;
     orderIDLabel.Text     = "Order ID:";
     //
     // orderNumberLabel
     //
     orderNumberLabel.AutoSize = true;
     orderNumberLabel.Location = new System.Drawing.Point(36, 189);
     orderNumberLabel.Name     = "orderNumberLabel";
     orderNumberLabel.Size     = new System.Drawing.Size(76, 13);
     orderNumberLabel.TabIndex = 11;
     orderNumberLabel.Text     = "Order Number:";
     //
     // userNameLabel
     //
     userNameLabel.AutoSize = true;
     userNameLabel.Location = new System.Drawing.Point(36, 215);
     userNameLabel.Name     = "userNameLabel";
     userNameLabel.Size     = new System.Drawing.Size(63, 13);
     userNameLabel.TabIndex = 13;
     userNameLabel.Text     = "User Name:";
     //
     // textLabel
     //
     textLabel.AutoSize = true;
     textLabel.Location = new System.Drawing.Point(37, 241);
     textLabel.Name     = "textLabel";
     textLabel.Size     = new System.Drawing.Size(62, 13);
     textLabel.TabIndex = 15;
     textLabel.Text     = "Order Date:";
     //
     // cardHolderTextBox
     //
     this.cardHolderTextBox.DataBindings.Add(new Wisej.Web.Binding("Text", this.orderBindingSource, "CardHolder", true));
     this.cardHolderTextBox.Location = new System.Drawing.Point(118, 56);
     this.cardHolderTextBox.Name     = "cardHolderTextBox";
     this.cardHolderTextBox.Size     = new System.Drawing.Size(292, 20);
     this.cardHolderTextBox.TabIndex = 2;
     //
     // orderBindingSource
     //
     this.orderBindingSource.DataSource           = typeof(ActionExtenderSample.Business.Order);
     this.orderBindingSource.RefreshValueOnChange = true;
     //
     // cardTypeTextBox
     //
     this.cardTypeTextBox.DataBindings.Add(new Wisej.Web.Binding("Text", this.orderBindingSource, "CardType", true));
     this.cardTypeTextBox.Location = new System.Drawing.Point(118, 82);
     this.cardTypeTextBox.Name     = "cardTypeTextBox";
     this.cardTypeTextBox.Size     = new System.Drawing.Size(77, 20);
     this.cardTypeTextBox.TabIndex = 4;
     //
     // creditCardTextBox
     //
     this.creditCardTextBox.DataBindings.Add(new Wisej.Web.Binding("Text", this.orderBindingSource, "CreditCard", true));
     this.creditCardTextBox.Location  = new System.Drawing.Point(118, 108);
     this.creditCardTextBox.MaxLength = 20;
     this.creditCardTextBox.Name      = "creditCardTextBox";
     this.creditCardTextBox.Size      = new System.Drawing.Size(140, 20);
     this.creditCardTextBox.TabIndex  = 6;
     //
     // expDateTextBox
     //
     this.expDateTextBox.DataBindings.Add(new Wisej.Web.Binding("Text", this.orderBindingSource, "ExpDate", true));
     this.expDateTextBox.Location = new System.Drawing.Point(118, 134);
     this.expDateTextBox.Name     = "expDateTextBox";
     this.expDateTextBox.Size     = new System.Drawing.Size(77, 20);
     this.expDateTextBox.TabIndex = 8;
     //
     // orderIDLabel1
     //
     this.orderIDLabel1.DataBindings.Add(new Wisej.Web.Binding("Text", this.orderBindingSource, "OrderID", true));
     this.orderIDLabel1.Location = new System.Drawing.Point(118, 163);
     this.orderIDLabel1.Name     = "orderIDLabel1";
     this.orderIDLabel1.Size     = new System.Drawing.Size(289, 13);
     this.orderIDLabel1.TabIndex = 10;
     this.orderIDLabel1.Text     = "label1";
     //
     // orderNumberTextBox
     //
     this.orderNumberTextBox.DataBindings.Add(new Wisej.Web.Binding("Text", this.orderBindingSource, "OrderNumber", true));
     this.orderNumberTextBox.Location  = new System.Drawing.Point(118, 186);
     this.orderNumberTextBox.MaxLength = 20;
     this.orderNumberTextBox.Name      = "orderNumberTextBox";
     this.orderNumberTextBox.Size      = new System.Drawing.Size(140, 20);
     this.orderNumberTextBox.TabIndex  = 12;
     //
     // userNameTextBox
     //
     this.userNameTextBox.DataBindings.Add(new Wisej.Web.Binding("Text", this.orderBindingSource, "UserName", true));
     this.userNameTextBox.Location  = new System.Drawing.Point(118, 212);
     this.userNameTextBox.MaxLength = 50;
     this.userNameTextBox.Name      = "userNameTextBox";
     this.userNameTextBox.Size      = new System.Drawing.Size(292, 20);
     this.userNameTextBox.TabIndex  = 14;
     //
     // orderDateTextBox
     //
     this.orderDateTextBox.DataBindings.Add(new Wisej.Web.Binding("Text", this.orderBindingSource, "OrderDate", true));
     this.orderDateTextBox.Location    = new System.Drawing.Point(118, 238);
     this.orderDateTextBox.Name        = "orderDateTextBox";
     this.orderDateTextBox.Size        = new System.Drawing.Size(77, 20);
     this.orderDateTextBox.TabIndex    = 16;
     this.orderDateTextBox.Validating += new System.ComponentModel.CancelEventHandler(orderDateTextBox_Validating);
     //
     // orderDetailListBindingSource
     //
     this.orderDetailListBindingSource.DataMember           = "OrderDetailList";
     this.orderDetailListBindingSource.DataSource           = this.orderBindingSource;
     this.orderDetailListBindingSource.RefreshValueOnChange = true;
     //
     // orderDetailListDataGridView
     //
     this.orderDetailListDataGridView.AutoGenerateColumns         = false;
     this.orderDetailListDataGridView.ColumnHeadersHeightSizeMode = Wisej.Web.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.orderDetailListDataGridView.Columns.AddRange(new Wisej.Web.DataGridViewColumn[] {
         this.dataGridViewTextBoxColumn1,
         this.dataGridViewTextBoxColumn3,
         this.dataGridViewTextBoxColumn4,
         this.dataGridViewTextBoxColumn5
     });
     this.orderDetailListDataGridView.DataSource = this.orderDetailListBindingSource;
     this.orderDetailListDataGridView.Location   = new System.Drawing.Point(76, 284);
     this.orderDetailListDataGridView.Name       = "orderDetailListDataGridView";
     this.orderDetailListDataGridView.Size       = new System.Drawing.Size(600, 220);
     this.orderDetailListDataGridView.TabIndex   = 16;
     this.orderDetailListDataGridView.DataError += new Wisej.Web.DataGridViewDataErrorEventHandler(orderDetailListDataGridView_DataError);
     //
     // toolStrip1
     //
     this.toolStrip1.Buttons.AddRange(new Wisej.Web.ToolBarButton[] {
         this.toolSave,
         this.toolSaveNew,
         this.toolSaveClose,
         this.toolCancel,
         this.toolClose
     });
     this.toolStrip1.Location = new System.Drawing.Point(0, 0);
     this.toolStrip1.Name     = "toolStrip1";
     this.toolStrip1.Size     = new System.Drawing.Size(791, 25);
     this.toolStrip1.TabIndex = 22;
     this.toolStrip1.Text     = "toolStrip1";
     //
     // toolSave
     //
     //this.toolSave.DisplayStyle = Wisej.Web.ToolStripItemDisplayStyle.Text;
     this.toolSave.Name   = "toolSave";
     this.toolSave.Text   = "Save";
     this.toolSave.Click += new System.EventHandler(this.toolSave_Click);
     //
     // toolSaveNew
     //
     //this.toolSaveNew.DisplayStyle = Wisej.Web.ToolStripItemDisplayStyle.Text;
     this.toolSaveNew.Name   = "toolSaveNew";
     this.toolSaveNew.Text   = "Save/New";
     this.toolSaveNew.Click += new System.EventHandler(this.toolSaveNew_Click);
     //
     // toolSaveClose
     //
     //this.toolSaveClose.DisplayStyle = Wisej.Web.ToolStripItemDisplayStyle.Text;
     this.toolSaveClose.Name   = "toolSaveClose";
     this.toolSaveClose.Text   = "Save/Close";
     this.toolSaveClose.Click += new System.EventHandler(this.toolSaveClose_Click);
     //
     // toolCancel
     //
     //this.toolCancel.DisplayStyle = Wisej.Web.ToolStripItemDisplayStyle.Text;
     this.toolCancel.Name   = "toolCancel";
     this.toolCancel.Text   = "Cancel";
     this.toolCancel.Click += new System.EventHandler(this.toolCancel_Click);
     //
     // toolClose
     //
     //this.toolClose.DisplayStyle = Wisej.Web.ToolStripItemDisplayStyle.Text;
     this.toolClose.Name   = "toolClose";
     this.toolClose.Text   = "Close";
     this.toolClose.Click += new System.EventHandler(this.toolClose_Click);
     //
     // errorProvider1
     //
     this.errorProvider1.ContainerControl = this;
     this.errorProvider1.DataSource       = this.orderBindingSource;
     //
     // dataGridViewTextBoxColumn1
     //
     this.dataGridViewTextBoxColumn1.DataPropertyName = "OrderDetailID";
     this.dataGridViewTextBoxColumn1.HeaderText       = "Order Detail ID";
     this.dataGridViewTextBoxColumn1.Name             = "dataGridViewTextBoxColumn1";
     this.dataGridViewTextBoxColumn1.ReadOnly         = true;
     this.dataGridViewTextBoxColumn1.Width            = 185;
     //
     // dataGridViewTextBoxColumn3
     //
     this.dataGridViewTextBoxColumn3.DataPropertyName = "ProductID";
     this.dataGridViewTextBoxColumn3.HeaderText       = "Product ID";
     this.dataGridViewTextBoxColumn3.Name             = "dataGridViewTextBoxColumn3";
     this.dataGridViewTextBoxColumn3.Width            = 185;
     //
     // dataGridViewTextBoxColumn4
     //
     this.dataGridViewTextBoxColumn4.DataPropertyName = "PurchaseUnitPrice";
     dataGridViewCellStyle1.Alignment = Wisej.Web.DataGridViewContentAlignment.MiddleRight;
     this.dataGridViewTextBoxColumn4.DefaultCellStyle = dataGridViewCellStyle1;
     this.dataGridViewTextBoxColumn4.HeaderText       = "Purchase Unit Price";
     this.dataGridViewTextBoxColumn4.Name             = "dataGridViewTextBoxColumn4";
     this.dataGridViewTextBoxColumn4.Width            = 130;
     //
     // dataGridViewTextBoxColumn5
     //
     this.dataGridViewTextBoxColumn5.AutoSizeMode     = Wisej.Web.DataGridViewAutoSizeColumnMode.Fill;
     this.dataGridViewTextBoxColumn5.DataPropertyName = "Quantity";
     dataGridViewCellStyle2.Alignment = Wisej.Web.DataGridViewContentAlignment.MiddleRight;
     this.dataGridViewTextBoxColumn5.DefaultCellStyle = dataGridViewCellStyle2;
     this.dataGridViewTextBoxColumn5.HeaderText       = "Quantity";
     this.dataGridViewTextBoxColumn5.Name             = "dataGridViewTextBoxColumn5";
     //
     // OrderMaint3
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = Wisej.Web.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(791, 571);
     this.Controls.Add(this.toolStrip1);
     this.Controls.Add(this.orderDetailListDataGridView);
     this.Controls.Add(textLabel);
     this.Controls.Add(this.orderDateTextBox);
     this.Controls.Add(cardHolderLabel);
     this.Controls.Add(this.cardHolderTextBox);
     this.Controls.Add(cardTypeLabel);
     this.Controls.Add(this.cardTypeTextBox);
     this.Controls.Add(creditCardLabel);
     this.Controls.Add(this.creditCardTextBox);
     this.Controls.Add(expDateLabel);
     this.Controls.Add(this.expDateTextBox);
     this.Controls.Add(orderIDLabel);
     this.Controls.Add(this.orderIDLabel1);
     this.Controls.Add(orderNumberLabel);
     this.Controls.Add(this.orderNumberTextBox);
     this.Controls.Add(userNameLabel);
     this.Controls.Add(this.userNameTextBox);
     this.Name = "OrderMaint3";
     this.Text = "Order Maintenance - Helper";
     ((System.ComponentModel.ISupportInitialize)(this.orderBindingSource)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.orderDetailListBindingSource)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.orderDetailListDataGridView)).EndInit();
     this.toolStrip1.ResumeLayout(false);
     this.toolStrip1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.errorProvider1)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #3
0
 /// <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();
     Wisej.Web.Label FirstNameLabel;
     Wisej.Web.Label IdLabel;
     Wisej.Web.Label LastNameLabel;
     this.CloseButton                          = new Wisej.Web.Button();
     this.ApplyButton                          = new Wisej.Web.Button();
     this.Cancel_Button                        = new Wisej.Web.Button();
     this.OKButton                             = new Wisej.Web.Button();
     this.GroupBox1                            = new Wisej.Web.GroupBox();
     this.AssignmentsDataGridView              = new Wisej.Web.DataGridView();
     this.projectIdDataGridViewTextBoxColumn   = new Wisej.Web.DataGridViewTextBoxColumn();
     this.projectNameDataGridViewTextBoxColumn = new Wisej.Web.DataGridViewLinkColumn();
     this.assignedDataGridViewTextBoxColumn    = new Wisej.Web.DataGridViewTextBoxColumn();
     this.Role = new Wisej.Web.DataGridViewComboBoxColumn();
     this.RoleListBindingSource    = new Wisej.Web.BindingSource(this.components);
     this.AssignmentsBindingSource = new Wisej.Web.BindingSource(this.components);
     this.ResourceBindingSource    = new Wisej.Web.BindingSource(this.components);
     this.UnassignButton           = new Wisej.Web.Button();
     this.AssignButton             = new Wisej.Web.Button();
     this.FirstNameTextBox         = new Wisej.Web.TextBox();
     this.IdLabel1                = new Wisej.Web.Label();
     this.LastNameTextBox         = new Wisej.Web.TextBox();
     this.ErrorProvider1          = new Wisej.Web.ErrorProvider(this.components);
     this.ReadWriteAuthorization1 = new CslaContrib.WisejWeb.ReadWriteAuthorization(this.components);
     this.RefreshButton           = new Wisej.Web.Button();
     FirstNameLabel               = new Wisej.Web.Label();
     IdLabel       = new Wisej.Web.Label();
     LastNameLabel = new Wisej.Web.Label();
     this.GroupBox1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.AssignmentsDataGridView)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.RoleListBindingSource)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.AssignmentsBindingSource)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ResourceBindingSource)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ErrorProvider1)).BeginInit();
     this.SuspendLayout();
     //
     // FirstNameLabel
     //
     this.ReadWriteAuthorization1.SetApplyAuthorization(FirstNameLabel, false);
     FirstNameLabel.AutoSize = true;
     FirstNameLabel.Location = new System.Drawing.Point(13, 42);
     FirstNameLabel.Name     = "FirstNameLabel";
     FirstNameLabel.Size     = new System.Drawing.Size(63, 14);
     FirstNameLabel.TabIndex = 2;
     FirstNameLabel.Text     = "First Name:";
     //
     // IdLabel
     //
     this.ReadWriteAuthorization1.SetApplyAuthorization(IdLabel, false);
     IdLabel.AutoSize = true;
     IdLabel.Location = new System.Drawing.Point(13, 13);
     IdLabel.Name     = "IdLabel";
     IdLabel.Size     = new System.Drawing.Size(21, 14);
     IdLabel.TabIndex = 0;
     IdLabel.Text     = "Id:";
     //
     // LastNameLabel
     //
     this.ReadWriteAuthorization1.SetApplyAuthorization(LastNameLabel, false);
     LastNameLabel.AutoSize = true;
     LastNameLabel.Location = new System.Drawing.Point(13, 68);
     LastNameLabel.Name     = "LastNameLabel";
     LastNameLabel.Size     = new System.Drawing.Size(62, 14);
     LastNameLabel.TabIndex = 4;
     LastNameLabel.Text     = "Last Name:";
     //
     // CloseButton
     //
     this.CloseButton.Anchor = ((Wisej.Web.AnchorStyles)((Wisej.Web.AnchorStyles.Top | Wisej.Web.AnchorStyles.Right)));
     this.ReadWriteAuthorization1.SetApplyAuthorization(this.CloseButton, false);
     this.CloseButton.DialogResult = Wisej.Web.DialogResult.Cancel;
     this.CloseButton.Location     = new System.Drawing.Point(814, 100);
     this.CloseButton.Name         = "CloseButton";
     this.CloseButton.Size         = new System.Drawing.Size(75, 23);
     this.CloseButton.TabIndex     = 10;
     this.CloseButton.Text         = "Close";
     this.CloseButton.Click       += new System.EventHandler(this.CloseButton_Click);
     //
     // ApplyButton
     //
     this.ApplyButton.Anchor = ((Wisej.Web.AnchorStyles)((Wisej.Web.AnchorStyles.Top | Wisej.Web.AnchorStyles.Right)));
     this.ReadWriteAuthorization1.SetApplyAuthorization(this.ApplyButton, false);
     this.ApplyButton.DialogResult = Wisej.Web.DialogResult.Cancel;
     this.ApplyButton.Location     = new System.Drawing.Point(814, 42);
     this.ApplyButton.Name         = "ApplyButton";
     this.ApplyButton.Size         = new System.Drawing.Size(75, 23);
     this.ApplyButton.TabIndex     = 8;
     this.ApplyButton.Text         = "Apply";
     this.ApplyButton.Click       += new System.EventHandler(this.ApplyButton_Click);
     //
     // Cancel_Button
     //
     this.Cancel_Button.Anchor = ((Wisej.Web.AnchorStyles)((Wisej.Web.AnchorStyles.Top | Wisej.Web.AnchorStyles.Right)));
     this.ReadWriteAuthorization1.SetApplyAuthorization(this.Cancel_Button, false);
     this.Cancel_Button.DialogResult = Wisej.Web.DialogResult.Cancel;
     this.Cancel_Button.Location     = new System.Drawing.Point(814, 71);
     this.Cancel_Button.Name         = "Cancel_Button";
     this.Cancel_Button.Size         = new System.Drawing.Size(75, 23);
     this.Cancel_Button.TabIndex     = 9;
     this.Cancel_Button.Text         = "Cancel";
     this.Cancel_Button.Click       += new System.EventHandler(this.Cancel_Button_Click);
     //
     // OKButton
     //
     this.OKButton.Anchor = ((Wisej.Web.AnchorStyles)((Wisej.Web.AnchorStyles.Top | Wisej.Web.AnchorStyles.Right)));
     this.ReadWriteAuthorization1.SetApplyAuthorization(this.OKButton, false);
     this.OKButton.Location = new System.Drawing.Point(814, 13);
     this.OKButton.Name     = "OKButton";
     this.OKButton.Size     = new System.Drawing.Size(75, 23);
     this.OKButton.TabIndex = 7;
     this.OKButton.Text     = "OK";
     this.OKButton.Click   += new System.EventHandler(this.OKButton_Click);
     //
     // GroupBox1
     //
     this.GroupBox1.Anchor = ((Wisej.Web.AnchorStyles)((((Wisej.Web.AnchorStyles.Top | Wisej.Web.AnchorStyles.Bottom)
                                                         | Wisej.Web.AnchorStyles.Left)
                                                        | Wisej.Web.AnchorStyles.Right)));
     this.ReadWriteAuthorization1.SetApplyAuthorization(this.GroupBox1, false);
     this.GroupBox1.Controls.Add(this.AssignmentsDataGridView);
     this.GroupBox1.Controls.Add(this.UnassignButton);
     this.GroupBox1.Controls.Add(this.AssignButton);
     this.GroupBox1.Location = new System.Drawing.Point(16, 91);
     this.GroupBox1.Name     = "GroupBox1";
     this.GroupBox1.Size     = new System.Drawing.Size(762, 310);
     this.GroupBox1.TabIndex = 6;
     this.GroupBox1.Text     = "Assigned projects";
     //
     // AssignmentsDataGridView
     //
     this.AssignmentsDataGridView.Anchor = ((Wisej.Web.AnchorStyles)((((Wisej.Web.AnchorStyles.Top | Wisej.Web.AnchorStyles.Bottom)
                                                                       | Wisej.Web.AnchorStyles.Left)
                                                                      | Wisej.Web.AnchorStyles.Right)));
     this.ReadWriteAuthorization1.SetApplyAuthorization(this.AssignmentsDataGridView, true);
     this.AssignmentsDataGridView.AutoGenerateColumns = false;
     this.AssignmentsDataGridView.AutoSizeColumnsMode = Wisej.Web.DataGridViewAutoSizeColumnsMode.AllCells;
     this.AssignmentsDataGridView.Columns.AddRange(new Wisej.Web.DataGridViewColumn[] {
         this.projectIdDataGridViewTextBoxColumn,
         this.projectNameDataGridViewTextBoxColumn,
         this.assignedDataGridViewTextBoxColumn,
         this.Role
     });
     this.AssignmentsDataGridView.DataSource               = this.AssignmentsBindingSource;
     this.AssignmentsDataGridView.Location                 = new System.Drawing.Point(6, 19);
     this.AssignmentsDataGridView.MultiSelect              = false;
     this.AssignmentsDataGridView.Name                     = "AssignmentsDataGridView";
     this.AssignmentsDataGridView.RowHeadersVisible        = false;
     this.AssignmentsDataGridView.SelectionMode            = Wisej.Web.DataGridViewSelectionMode.FullRowSelect;
     this.AssignmentsDataGridView.ShowColumnVisibilityMenu = false;
     this.AssignmentsDataGridView.Size                     = new System.Drawing.Size(669, 285);
     this.AssignmentsDataGridView.TabIndex                 = 0;
     this.AssignmentsDataGridView.CellClick               += new Wisej.Web.DataGridViewCellEventHandler(this.AssignmentsDataGridView_CellContentClick);
     //
     // projectIdDataGridViewTextBoxColumn
     //
     this.projectIdDataGridViewTextBoxColumn.DataPropertyName = "ProjectId";
     this.projectIdDataGridViewTextBoxColumn.HeaderText       = "ProjectId";
     this.projectIdDataGridViewTextBoxColumn.Name             = "projectIdDataGridViewTextBoxColumn";
     this.projectIdDataGridViewTextBoxColumn.ReadOnly         = true;
     this.projectIdDataGridViewTextBoxColumn.ValueType        = typeof(int);
     this.projectIdDataGridViewTextBoxColumn.Visible          = false;
     this.projectIdDataGridViewTextBoxColumn.Width            = 74;
     //
     // projectNameDataGridViewTextBoxColumn
     //
     this.projectNameDataGridViewTextBoxColumn.AutoSizeMode     = Wisej.Web.DataGridViewAutoSizeColumnMode.Fill;
     this.projectNameDataGridViewTextBoxColumn.DataPropertyName = "ProjectName";
     this.projectNameDataGridViewTextBoxColumn.FillWeight       = 200F;
     this.projectNameDataGridViewTextBoxColumn.HeaderText       = "Project Name";
     this.projectNameDataGridViewTextBoxColumn.MinimumWidth     = 100;
     this.projectNameDataGridViewTextBoxColumn.Name             = "projectNameDataGridViewTextBoxColumn";
     this.projectNameDataGridViewTextBoxColumn.ReadOnly         = true;
     this.projectNameDataGridViewTextBoxColumn.Resizable        = Wisej.Web.DataGridViewTriState.True;
     this.projectNameDataGridViewTextBoxColumn.SortMode         = Wisej.Web.DataGridViewColumnSortMode.Automatic;
     this.projectNameDataGridViewTextBoxColumn.Text             = "";
     this.projectNameDataGridViewTextBoxColumn.ValueType        = typeof(string);
     this.projectNameDataGridViewTextBoxColumn.Width            = 200;
     //
     // assignedDataGridViewTextBoxColumn
     //
     this.assignedDataGridViewTextBoxColumn.DataPropertyName = "Assigned";
     this.assignedDataGridViewTextBoxColumn.HeaderText       = "Assigned";
     this.assignedDataGridViewTextBoxColumn.MinimumWidth     = 50;
     this.assignedDataGridViewTextBoxColumn.Name             = "assignedDataGridViewTextBoxColumn";
     this.assignedDataGridViewTextBoxColumn.ReadOnly         = true;
     this.assignedDataGridViewTextBoxColumn.ValueType        = typeof(string);
     //
     // Role
     //
     this.Role.DataPropertyName = "Role";
     this.Role.DataSource       = this.RoleListBindingSource;
     this.Role.DisplayMember    = "Value";
     this.Role.DropDownStyle    = Wisej.Web.ComboBoxStyle.DropDownList;
     this.Role.FillWeight       = 200F;
     this.Role.HeaderText       = "Role";
     this.Role.MinimumWidth     = 100;
     this.Role.Name             = "Role";
     this.Role.ValueMember      = "Key";
     this.Role.ValueType        = typeof(int);
     this.Role.Width            = 200;
     //
     // RoleListBindingSource
     //
     this.RoleListBindingSource.DataSource = typeof(ProjectTracker.Library.RoleList);
     //
     // AssignmentsBindingSource
     //
     this.AssignmentsBindingSource.DataMember = "Assignments";
     this.AssignmentsBindingSource.DataSource = this.ResourceBindingSource;
     //
     // ResourceBindingSource
     //
     this.ResourceBindingSource.DataSource           = typeof(ProjectTracker.Library.ResourceEdit);
     this.ResourceBindingSource.RefreshValueOnChange = true;
     //
     // UnassignButton
     //
     this.UnassignButton.Anchor = ((Wisej.Web.AnchorStyles)((Wisej.Web.AnchorStyles.Top | Wisej.Web.AnchorStyles.Right)));
     this.ReadWriteAuthorization1.SetApplyAuthorization(this.UnassignButton, false);
     this.UnassignButton.Location = new System.Drawing.Point(681, 48);
     this.UnassignButton.Name     = "UnassignButton";
     this.UnassignButton.Size     = new System.Drawing.Size(75, 23);
     this.UnassignButton.TabIndex = 2;
     this.UnassignButton.Text     = "Unassign";
     this.UnassignButton.Click   += new System.EventHandler(this.UnassignButton_Click);
     //
     // AssignButton
     //
     this.AssignButton.Anchor = ((Wisej.Web.AnchorStyles)((Wisej.Web.AnchorStyles.Top | Wisej.Web.AnchorStyles.Right)));
     this.ReadWriteAuthorization1.SetApplyAuthorization(this.AssignButton, false);
     this.AssignButton.Location = new System.Drawing.Point(681, 19);
     this.AssignButton.Name     = "AssignButton";
     this.AssignButton.Size     = new System.Drawing.Size(75, 23);
     this.AssignButton.TabIndex = 1;
     this.AssignButton.Text     = "Assign";
     this.AssignButton.Click   += new System.EventHandler(this.AssignButton_Click);
     //
     // FirstNameTextBox
     //
     this.FirstNameTextBox.Anchor = ((Wisej.Web.AnchorStyles)(((Wisej.Web.AnchorStyles.Top | Wisej.Web.AnchorStyles.Left)
                                                               | Wisej.Web.AnchorStyles.Right)));
     this.ReadWriteAuthorization1.SetApplyAuthorization(this.FirstNameTextBox, true);
     this.FirstNameTextBox.DataBindings.Add(new Wisej.Web.Binding("Text", this.ResourceBindingSource, "FirstName", true));
     this.FirstNameTextBox.Location = new System.Drawing.Point(80, 39);
     this.FirstNameTextBox.Name     = "FirstNameTextBox";
     this.FirstNameTextBox.Size     = new System.Drawing.Size(698, 20);
     this.FirstNameTextBox.TabIndex = 3;
     //
     // IdLabel1
     //
     this.IdLabel1.Anchor = ((Wisej.Web.AnchorStyles)(((Wisej.Web.AnchorStyles.Top | Wisej.Web.AnchorStyles.Left)
                                                       | Wisej.Web.AnchorStyles.Right)));
     this.ReadWriteAuthorization1.SetApplyAuthorization(this.IdLabel1, true);
     this.IdLabel1.DataBindings.Add(new Wisej.Web.Binding("Text", this.ResourceBindingSource, "Id", true));
     this.IdLabel1.Location = new System.Drawing.Point(80, 13);
     this.IdLabel1.Name     = "IdLabel1";
     this.IdLabel1.Size     = new System.Drawing.Size(698, 23);
     this.IdLabel1.TabIndex = 1;
     //
     // LastNameTextBox
     //
     this.LastNameTextBox.Anchor = ((Wisej.Web.AnchorStyles)(((Wisej.Web.AnchorStyles.Top | Wisej.Web.AnchorStyles.Left)
                                                              | Wisej.Web.AnchorStyles.Right)));
     this.ReadWriteAuthorization1.SetApplyAuthorization(this.LastNameTextBox, true);
     this.LastNameTextBox.DataBindings.Add(new Wisej.Web.Binding("Text", this.ResourceBindingSource, "LastName", true));
     this.LastNameTextBox.Location = new System.Drawing.Point(80, 65);
     this.LastNameTextBox.Name     = "LastNameTextBox";
     this.LastNameTextBox.Size     = new System.Drawing.Size(698, 20);
     this.LastNameTextBox.TabIndex = 5;
     //
     // ErrorProvider1
     //
     this.ErrorProvider1.BlinkStyle       = Wisej.Web.ErrorBlinkStyle.NeverBlink;
     this.ErrorProvider1.ContainerControl = this;
     this.ErrorProvider1.DataSource       = this.ResourceBindingSource;
     //
     // RefreshButton
     //
     this.RefreshButton.Anchor = ((Wisej.Web.AnchorStyles)((Wisej.Web.AnchorStyles.Top | Wisej.Web.AnchorStyles.Right)));
     this.ReadWriteAuthorization1.SetApplyAuthorization(this.RefreshButton, false);
     this.RefreshButton.Location = new System.Drawing.Point(814, 129);
     this.RefreshButton.Name     = "RefreshButton";
     this.RefreshButton.Size     = new System.Drawing.Size(75, 23);
     this.RefreshButton.TabIndex = 11;
     this.RefreshButton.Text     = "Refresh";
     this.RefreshButton.Click   += new System.EventHandler(this.RefreshButton_Click);
     //
     // ResourceEdit
     //
     this.ReadWriteAuthorization1.SetApplyAuthorization(this, false);
     this.Controls.Add(this.RefreshButton);
     this.Controls.Add(this.CloseButton);
     this.Controls.Add(this.ApplyButton);
     this.Controls.Add(this.Cancel_Button);
     this.Controls.Add(this.OKButton);
     this.Controls.Add(this.GroupBox1);
     this.Controls.Add(FirstNameLabel);
     this.Controls.Add(this.FirstNameTextBox);
     this.Controls.Add(IdLabel);
     this.Controls.Add(this.IdLabel1);
     this.Controls.Add(LastNameLabel);
     this.Controls.Add(this.LastNameTextBox);
     this.Name  = "ResourceEdit";
     this.Size  = new System.Drawing.Size(901, 431);
     this.Load += new System.EventHandler(this.ResourceEdit_Load);
     this.GroupBox1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.AssignmentsDataGridView)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.RoleListBindingSource)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.AssignmentsBindingSource)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ResourceBindingSource)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ErrorProvider1)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }