- Timestamp:
- Aug 8, 2010, 6:58:05 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Scheduling/trunk/cs/bsdx0200GUISourceCode/DAccessGroupItem.cs
r614 r899 60 60 private void InitializeComponent() 61 61 { 62 63 64 65 66 67 68 69 70 71 72 this.pnlPageBottom.Controls.AddRange(new System.Windows.Forms.Control[] { 73 this.cmdCancel, 74 this.cmdOK});75 this.pnlPageBottom.Dock = System.Windows.Forms.DockStyle.Bottom;76 this.pnlPageBottom.Location = new System.Drawing.Point(0, 112);77 this.pnlPageBottom.Name = "pnlPageBottom";78 this.pnlPageBottom.Size = new System.Drawing.Size(472, 40);79 this.pnlPageBottom.TabIndex = 6; 80 // 81 // cmdCancel 82 // 83 this.cmdCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;84 this.cmdCancel.Location = new System.Drawing.Point(376, 8);85 this.cmdCancel.Name = "cmdCancel";86 this.cmdCancel.Size = new System.Drawing.Size(56, 24);87 this.cmdCancel.TabIndex = 2;88 this.cmdCancel.Text = "Cancel"; 89 // 90 // cmdOK 91 // 92 this.cmdOK.DialogResult = System.Windows.Forms.DialogResult.OK;93 this.cmdOK.Location = new System.Drawing.Point(296, 8);94 this.cmdOK.Name = "cmdOK";95 this.cmdOK.Size = new System.Drawing.Size(64, 24);96 this.cmdOK.TabIndex = 1;97 this.cmdOK.Text = "OK";98 this.cmdOK.Click += new System.EventHandler(this.cmdOK_Click); 99 // 100 // label1 101 // 102 this.label1.Location = new System.Drawing.Point(24, 40);103 this.label1.Name = "label1";104 this.label1.Size = new System.Drawing.Size(120, 16);105 this.label1.TabIndex = 10;106 this.label1.Text = "Select Access Type:";107 this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight; 108 // 109 // cboAccessType 110 // 111 this.cboAccessType.Location = new System.Drawing.Point(152, 40);112 this.cboAccessType.Name = "cboAccessType";113 this.cboAccessType.Size = new System.Drawing.Size(248, 21);114 this.cboAccessType.TabIndex = 9;115 this.cboAccessType.Text = "cboAccessType";116 // 117 // DAccessGroupItem 118 // 119 this.AcceptButton = this.cmdOK; 120 this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);121 this.CancelButton = this.cmdCancel;122 this.ClientSize = new System.Drawing.Size(472, 152);123 this.Controls.AddRange(new System.Windows.Forms.Control[] { 124 this.label1, 125 this.cboAccessType, 126 this.pnlPageBottom});127 128 129 130 131 132 62 this.pnlPageBottom = new System.Windows.Forms.Panel(); 63 this.cmdCancel = new System.Windows.Forms.Button(); 64 this.cmdOK = new System.Windows.Forms.Button(); 65 this.label1 = new System.Windows.Forms.Label(); 66 this.cboAccessType = new System.Windows.Forms.ComboBox(); 67 this.pnlPageBottom.SuspendLayout(); 68 this.SuspendLayout(); 69 // 70 // pnlPageBottom 71 // 72 this.pnlPageBottom.Controls.Add(this.cmdCancel); 73 this.pnlPageBottom.Controls.Add(this.cmdOK); 74 this.pnlPageBottom.Dock = System.Windows.Forms.DockStyle.Bottom; 75 this.pnlPageBottom.Location = new System.Drawing.Point(0, 112); 76 this.pnlPageBottom.Name = "pnlPageBottom"; 77 this.pnlPageBottom.Size = new System.Drawing.Size(472, 40); 78 this.pnlPageBottom.TabIndex = 6; 79 // 80 // cmdCancel 81 // 82 this.cmdCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; 83 this.cmdCancel.Location = new System.Drawing.Point(376, 8); 84 this.cmdCancel.Name = "cmdCancel"; 85 this.cmdCancel.Size = new System.Drawing.Size(56, 24); 86 this.cmdCancel.TabIndex = 2; 87 this.cmdCancel.Text = "Cancel"; 88 // 89 // cmdOK 90 // 91 this.cmdOK.DialogResult = System.Windows.Forms.DialogResult.OK; 92 this.cmdOK.Location = new System.Drawing.Point(296, 8); 93 this.cmdOK.Name = "cmdOK"; 94 this.cmdOK.Size = new System.Drawing.Size(64, 24); 95 this.cmdOK.TabIndex = 1; 96 this.cmdOK.Text = "OK"; 97 this.cmdOK.Click += new System.EventHandler(this.cmdOK_Click); 98 // 99 // label1 100 // 101 this.label1.Location = new System.Drawing.Point(24, 40); 102 this.label1.Name = "label1"; 103 this.label1.Size = new System.Drawing.Size(120, 16); 104 this.label1.TabIndex = 10; 105 this.label1.Text = "Select Access Type:"; 106 this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight; 107 // 108 // cboAccessType 109 // 110 this.cboAccessType.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend; 111 this.cboAccessType.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems; 112 this.cboAccessType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; 113 this.cboAccessType.Location = new System.Drawing.Point(152, 40); 114 this.cboAccessType.Name = "cboAccessType"; 115 this.cboAccessType.Size = new System.Drawing.Size(248, 21); 116 this.cboAccessType.TabIndex = 9; 117 // 118 // DAccessGroupItem 119 // 120 this.AcceptButton = this.cmdOK; 121 this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); 122 this.CancelButton = this.cmdCancel; 123 this.ClientSize = new System.Drawing.Size(472, 152); 124 this.Controls.Add(this.label1); 125 this.Controls.Add(this.cboAccessType); 126 this.Controls.Add(this.pnlPageBottom); 127 this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; 128 this.Name = "DAccessGroupItem"; 129 this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; 130 this.Text = "DAccessGroupItem"; 131 this.pnlPageBottom.ResumeLayout(false); 132 this.ResumeLayout(false); 133 133 134 134 } … … 147 147 DataTable dtAccessType = dsGlobal.Tables["AccessTypes"]; 148 148 DataView dvAccessType = new DataView(dtAccessType); 149 dvAccessType.Sort = "ACCESS_TYPE_NAME ASC"; 149 150 150 151 … … 209 210 #endregion Properties 210 211 212 211 213 } 212 214 }
Note:
See TracChangeset
for help on using the changeset viewer.