프로젝트

일반

사용자정보

개정판 d42946e6

IDd42946e696c97523a6d674bb99583df936353bae
상위 881c3398
하위 9e5a1f16

유성호이(가) 일년 이상 전에 추가함

issue #0000
유저 등록 폼 커밋

Change-Id: Ib52e40706442e35ef8d13f11148019890ec367b2

차이점 보기:

ID2.Manager/ID2.Manager/Forms/SetupUser.Designer.cs
1

2
namespace ID2.Manager.Forms
3
{
4
    partial class SetupUser
5
    {
6
        /// <summary>
7
        /// Required designer variable.
8
        /// </summary>
9
        private System.ComponentModel.IContainer components = null;
10

  
11
        /// <summary>
12
        /// Clean up any resources being used.
13
        /// </summary>
14
        /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
15
        protected override void Dispose(bool disposing)
16
        {
17
            if (disposing && (components != null))
18
            {
19
                components.Dispose();
20
            }
21
            base.Dispose(disposing);
22
        }
23

  
24
        #region Windows Form Designer generated code
25

  
26
        /// <summary>
27
        /// Required method for Designer support - do not modify
28
        /// the contents of this method with the code editor.
29
        /// </summary>
30
        private void InitializeComponent()
31
        {
32
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn1 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
33
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn2 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
34
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn3 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
35
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn4 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
36
            Telerik.WinControls.UI.TableViewDefinition tableViewDefinition1 = new Telerik.WinControls.UI.TableViewDefinition();
37
            this.radGridViewUser = new Telerik.WinControls.UI.RadGridView();
38
            this.tableLayoutPanelWrap = new System.Windows.Forms.TableLayoutPanel();
39
            this.radLabelUserID = new Telerik.WinControls.UI.RadLabel();
40
            this.radLabelUserName = new Telerik.WinControls.UI.RadLabel();
41
            this.radTextBoxUserID = new Telerik.WinControls.UI.RadTextBox();
42
            this.radTextBoxUserName = new Telerik.WinControls.UI.RadTextBox();
43
            this.radLabelRole = new Telerik.WinControls.UI.RadLabel();
44
            this.radGroupBoxUser = new Telerik.WinControls.UI.RadGroupBox();
45
            this.radButtonSave = new Telerik.WinControls.UI.RadButton();
46
            this.radThemeManager1 = new Telerik.WinControls.RadThemeManager();
47
            this.radLabelProject = new Telerik.WinControls.UI.RadLabel();
48
            this.radLabelPassword = new Telerik.WinControls.UI.RadLabel();
49
            this.radLabelConfirm = new Telerik.WinControls.UI.RadLabel();
50
            this.radDropDownListRole = new Telerik.WinControls.UI.RadDropDownList();
51
            this.radDropDownListProject = new Telerik.WinControls.UI.RadDropDownList();
52
            this.radTextBoxPassword = new Telerik.WinControls.UI.RadTextBox();
53
            this.radTextBoxConfirm = new Telerik.WinControls.UI.RadTextBox();
54
            ((System.ComponentModel.ISupportInitialize)(this.radGridViewUser)).BeginInit();
55
            ((System.ComponentModel.ISupportInitialize)(this.radGridViewUser.MasterTemplate)).BeginInit();
56
            this.tableLayoutPanelWrap.SuspendLayout();
57
            ((System.ComponentModel.ISupportInitialize)(this.radLabelUserID)).BeginInit();
58
            ((System.ComponentModel.ISupportInitialize)(this.radLabelUserName)).BeginInit();
59
            ((System.ComponentModel.ISupportInitialize)(this.radTextBoxUserID)).BeginInit();
60
            ((System.ComponentModel.ISupportInitialize)(this.radTextBoxUserName)).BeginInit();
61
            ((System.ComponentModel.ISupportInitialize)(this.radLabelRole)).BeginInit();
62
            ((System.ComponentModel.ISupportInitialize)(this.radGroupBoxUser)).BeginInit();
63
            this.radGroupBoxUser.SuspendLayout();
64
            ((System.ComponentModel.ISupportInitialize)(this.radButtonSave)).BeginInit();
65
            ((System.ComponentModel.ISupportInitialize)(this.radLabelProject)).BeginInit();
66
            ((System.ComponentModel.ISupportInitialize)(this.radLabelPassword)).BeginInit();
67
            ((System.ComponentModel.ISupportInitialize)(this.radLabelConfirm)).BeginInit();
68
            ((System.ComponentModel.ISupportInitialize)(this.radDropDownListRole)).BeginInit();
69
            ((System.ComponentModel.ISupportInitialize)(this.radDropDownListProject)).BeginInit();
70
            ((System.ComponentModel.ISupportInitialize)(this.radTextBoxPassword)).BeginInit();
71
            ((System.ComponentModel.ISupportInitialize)(this.radTextBoxConfirm)).BeginInit();
72
            this.SuspendLayout();
73
            // 
74
            // radGridViewUser
75
            // 
76
            this.radGridViewUser.Dock = System.Windows.Forms.DockStyle.Fill;
77
            this.radGridViewUser.Location = new System.Drawing.Point(2, 18);
78
            // 
79
            // 
80
            // 
81
            this.radGridViewUser.MasterTemplate.AllowAddNewRow = false;
82
            this.radGridViewUser.MasterTemplate.AllowDeleteRow = false;
83
            gridViewTextBoxColumn1.FieldName = "ID";
84
            gridViewTextBoxColumn1.HeaderText = "ID";
85
            gridViewTextBoxColumn1.Name = "ID";
86
            gridViewTextBoxColumn1.Width = 100;
87
            gridViewTextBoxColumn2.FieldName = "Name";
88
            gridViewTextBoxColumn2.HeaderText = "Name";
89
            gridViewTextBoxColumn2.Name = "Name";
90
            gridViewTextBoxColumn2.Width = 100;
91
            gridViewTextBoxColumn3.FieldName = "Role";
92
            gridViewTextBoxColumn3.HeaderText = "Role";
93
            gridViewTextBoxColumn3.Name = "Role";
94
            gridViewTextBoxColumn3.Width = 100;
95
            gridViewTextBoxColumn4.FieldName = "Project";
96
            gridViewTextBoxColumn4.HeaderText = "Project";
97
            gridViewTextBoxColumn4.Name = "Project";
98
            gridViewTextBoxColumn4.Width = 100;
99
            this.radGridViewUser.MasterTemplate.Columns.AddRange(new Telerik.WinControls.UI.GridViewDataColumn[] {
100
            gridViewTextBoxColumn1,
101
            gridViewTextBoxColumn2,
102
            gridViewTextBoxColumn3,
103
            gridViewTextBoxColumn4});
104
            this.radGridViewUser.MasterTemplate.ViewDefinition = tableViewDefinition1;
105
            this.radGridViewUser.Name = "radGridViewUser";
106
            this.radGridViewUser.Size = new System.Drawing.Size(490, 369);
107
            this.radGridViewUser.TabIndex = 4;
108
            // 
109
            // tableLayoutPanelWrap
110
            // 
111
            this.tableLayoutPanelWrap.ColumnCount = 5;
112
            this.tableLayoutPanelWrap.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20F));
113
            this.tableLayoutPanelWrap.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 80F));
114
            this.tableLayoutPanelWrap.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 180F));
115
            this.tableLayoutPanelWrap.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
116
            this.tableLayoutPanelWrap.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20F));
117
            this.tableLayoutPanelWrap.Controls.Add(this.radTextBoxConfirm, 2, 6);
118
            this.tableLayoutPanelWrap.Controls.Add(this.radLabelConfirm, 1, 6);
119
            this.tableLayoutPanelWrap.Controls.Add(this.radLabelPassword, 1, 5);
120
            this.tableLayoutPanelWrap.Controls.Add(this.radLabelProject, 1, 4);
121
            this.tableLayoutPanelWrap.Controls.Add(this.radLabelUserID, 1, 1);
122
            this.tableLayoutPanelWrap.Controls.Add(this.radLabelUserName, 1, 2);
123
            this.tableLayoutPanelWrap.Controls.Add(this.radTextBoxUserID, 2, 1);
124
            this.tableLayoutPanelWrap.Controls.Add(this.radTextBoxUserName, 2, 2);
125
            this.tableLayoutPanelWrap.Controls.Add(this.radLabelRole, 1, 3);
126
            this.tableLayoutPanelWrap.Controls.Add(this.radGroupBoxUser, 3, 1);
127
            this.tableLayoutPanelWrap.Controls.Add(this.radButtonSave, 3, 0);
128
            this.tableLayoutPanelWrap.Controls.Add(this.radDropDownListRole, 2, 3);
129
            this.tableLayoutPanelWrap.Controls.Add(this.radDropDownListProject, 2, 4);
130
            this.tableLayoutPanelWrap.Controls.Add(this.radTextBoxPassword, 2, 5);
131
            this.tableLayoutPanelWrap.Dock = System.Windows.Forms.DockStyle.Fill;
132
            this.tableLayoutPanelWrap.Location = new System.Drawing.Point(0, 0);
133
            this.tableLayoutPanelWrap.Name = "tableLayoutPanelWrap";
134
            this.tableLayoutPanelWrap.RowCount = 9;
135
            this.tableLayoutPanelWrap.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 35F));
136
            this.tableLayoutPanelWrap.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 35F));
137
            this.tableLayoutPanelWrap.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 35F));
138
            this.tableLayoutPanelWrap.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 35F));
139
            this.tableLayoutPanelWrap.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 35F));
140
            this.tableLayoutPanelWrap.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 35F));
141
            this.tableLayoutPanelWrap.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 35F));
142
            this.tableLayoutPanelWrap.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
143
            this.tableLayoutPanelWrap.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
144
            this.tableLayoutPanelWrap.Size = new System.Drawing.Size(800, 450);
145
            this.tableLayoutPanelWrap.TabIndex = 1;
146
            // 
147
            // radLabelUserID
148
            // 
149
            this.radLabelUserID.Anchor = System.Windows.Forms.AnchorStyles.Left;
150
            this.radLabelUserID.Location = new System.Drawing.Point(23, 43);
151
            this.radLabelUserID.Name = "radLabelUserID";
152
            this.radLabelUserID.Size = new System.Drawing.Size(17, 18);
153
            this.radLabelUserID.TabIndex = 0;
154
            this.radLabelUserID.Text = "ID";
155
            // 
156
            // radLabelUserName
157
            // 
158
            this.radLabelUserName.Anchor = System.Windows.Forms.AnchorStyles.Left;
159
            this.radLabelUserName.Location = new System.Drawing.Point(23, 78);
160
            this.radLabelUserName.Name = "radLabelUserName";
161
            this.radLabelUserName.Size = new System.Drawing.Size(36, 18);
162
            this.radLabelUserName.TabIndex = 1;
163
            this.radLabelUserName.Text = "Name";
164
            // 
165
            // radTextBoxUserID
166
            // 
167
            this.radTextBoxUserID.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
168
            this.radTextBoxUserID.Location = new System.Drawing.Point(103, 42);
169
            this.radTextBoxUserID.Name = "radTextBoxUserID";
170
            this.radTextBoxUserID.Size = new System.Drawing.Size(174, 20);
171
            this.radTextBoxUserID.TabIndex = 2;
172
            // 
173
            // radTextBoxUserName
174
            // 
175
            this.radTextBoxUserName.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
176
            this.radTextBoxUserName.Location = new System.Drawing.Point(103, 77);
177
            this.radTextBoxUserName.Name = "radTextBoxUserName";
178
            this.radTextBoxUserName.Size = new System.Drawing.Size(174, 20);
179
            this.radTextBoxUserName.TabIndex = 3;
180
            // 
181
            // radLabelRole
182
            // 
183
            this.radLabelRole.Anchor = System.Windows.Forms.AnchorStyles.Left;
184
            this.radLabelRole.Location = new System.Drawing.Point(23, 113);
185
            this.radLabelRole.Name = "radLabelRole";
186
            this.radLabelRole.Size = new System.Drawing.Size(28, 18);
187
            this.radLabelRole.TabIndex = 6;
188
            this.radLabelRole.Text = "Role";
189
            // 
190
            // radGroupBoxUser
191
            // 
192
            this.radGroupBoxUser.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
193
            this.radGroupBoxUser.Controls.Add(this.radGridViewUser);
194
            this.radGroupBoxUser.Dock = System.Windows.Forms.DockStyle.Fill;
195
            this.radGroupBoxUser.HeaderText = "User List";
196
            this.radGroupBoxUser.Location = new System.Drawing.Point(283, 38);
197
            this.radGroupBoxUser.Name = "radGroupBoxUser";
198
            this.tableLayoutPanelWrap.SetRowSpan(this.radGroupBoxUser, 7);
199
            this.radGroupBoxUser.Size = new System.Drawing.Size(494, 389);
200
            this.radGroupBoxUser.TabIndex = 7;
201
            this.radGroupBoxUser.Text = "User List";
202
            // 
203
            // radButtonSave
204
            // 
205
            this.radButtonSave.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
206
            this.radButtonSave.Location = new System.Drawing.Point(703, 9);
207
            this.radButtonSave.Name = "radButtonSave";
208
            this.radButtonSave.Size = new System.Drawing.Size(74, 23);
209
            this.radButtonSave.TabIndex = 9;
210
            this.radButtonSave.Text = "Save";
211
            // 
212
            // radLabelProject
213
            // 
214
            this.radLabelProject.Anchor = System.Windows.Forms.AnchorStyles.Left;
215
            this.radLabelProject.Location = new System.Drawing.Point(23, 148);
216
            this.radLabelProject.Name = "radLabelProject";
217
            this.radLabelProject.Size = new System.Drawing.Size(41, 18);
218
            this.radLabelProject.TabIndex = 7;
219
            this.radLabelProject.Text = "Project";
220
            // 
221
            // radLabelPassword
222
            // 
223
            this.radLabelPassword.Anchor = System.Windows.Forms.AnchorStyles.Left;
224
            this.radLabelPassword.Location = new System.Drawing.Point(23, 183);
225
            this.radLabelPassword.Name = "radLabelPassword";
226
            this.radLabelPassword.Size = new System.Drawing.Size(53, 18);
227
            this.radLabelPassword.TabIndex = 8;
228
            this.radLabelPassword.Text = "Password";
229
            // 
230
            // radLabelConfirm
231
            // 
232
            this.radLabelConfirm.Anchor = System.Windows.Forms.AnchorStyles.Left;
233
            this.radLabelConfirm.Location = new System.Drawing.Point(23, 218);
234
            this.radLabelConfirm.Name = "radLabelConfirm";
235
            this.radLabelConfirm.Size = new System.Drawing.Size(66, 18);
236
            this.radLabelConfirm.TabIndex = 9;
237
            this.radLabelConfirm.Text = "Confirm PW";
238
            // 
239
            // radDropDownListRole
240
            // 
241
            this.radDropDownListRole.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
242
            this.radDropDownListRole.DropDownAnimationEnabled = true;
243
            this.radDropDownListRole.DropDownStyle = Telerik.WinControls.RadDropDownStyle.DropDownList;
244
            this.radDropDownListRole.Location = new System.Drawing.Point(103, 112);
245
            this.radDropDownListRole.Name = "radDropDownListRole";
246
            this.radDropDownListRole.Size = new System.Drawing.Size(174, 20);
247
            this.radDropDownListRole.TabIndex = 10;
248
            // 
249
            // radDropDownListProject
250
            // 
251
            this.radDropDownListProject.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
252
            this.radDropDownListProject.DropDownAnimationEnabled = true;
253
            this.radDropDownListProject.DropDownStyle = Telerik.WinControls.RadDropDownStyle.DropDownList;
254
            this.radDropDownListProject.Location = new System.Drawing.Point(103, 147);
255
            this.radDropDownListProject.Name = "radDropDownListProject";
256
            this.radDropDownListProject.Size = new System.Drawing.Size(174, 20);
257
            this.radDropDownListProject.TabIndex = 11;
258
            // 
259
            // radTextBoxPassword
260
            // 
261
            this.radTextBoxPassword.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
262
            this.radTextBoxPassword.Location = new System.Drawing.Point(103, 182);
263
            this.radTextBoxPassword.Name = "radTextBoxPassword";
264
            this.radTextBoxPassword.PasswordChar = '*';
265
            this.radTextBoxPassword.Size = new System.Drawing.Size(174, 20);
266
            this.radTextBoxPassword.TabIndex = 12;
267
            // 
268
            // radTextBoxConfirm
269
            // 
270
            this.radTextBoxConfirm.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
271
            this.radTextBoxConfirm.Location = new System.Drawing.Point(103, 217);
272
            this.radTextBoxConfirm.Name = "radTextBoxConfirm";
273
            this.radTextBoxConfirm.PasswordChar = '*';
274
            this.radTextBoxConfirm.Size = new System.Drawing.Size(174, 20);
275
            this.radTextBoxConfirm.TabIndex = 13;
276
            // 
277
            // SetupUser
278
            // 
279
            this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
280
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
281
            this.ClientSize = new System.Drawing.Size(800, 450);
282
            this.Controls.Add(this.tableLayoutPanelWrap);
283
            this.Name = "SetupUser";
284
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
285
            this.Text = "User Setup";
286
            ((System.ComponentModel.ISupportInitialize)(this.radGridViewUser.MasterTemplate)).EndInit();
287
            ((System.ComponentModel.ISupportInitialize)(this.radGridViewUser)).EndInit();
288
            this.tableLayoutPanelWrap.ResumeLayout(false);
289
            this.tableLayoutPanelWrap.PerformLayout();
290
            ((System.ComponentModel.ISupportInitialize)(this.radLabelUserID)).EndInit();
291
            ((System.ComponentModel.ISupportInitialize)(this.radLabelUserName)).EndInit();
292
            ((System.ComponentModel.ISupportInitialize)(this.radTextBoxUserID)).EndInit();
293
            ((System.ComponentModel.ISupportInitialize)(this.radTextBoxUserName)).EndInit();
294
            ((System.ComponentModel.ISupportInitialize)(this.radLabelRole)).EndInit();
295
            ((System.ComponentModel.ISupportInitialize)(this.radGroupBoxUser)).EndInit();
296
            this.radGroupBoxUser.ResumeLayout(false);
297
            ((System.ComponentModel.ISupportInitialize)(this.radButtonSave)).EndInit();
298
            ((System.ComponentModel.ISupportInitialize)(this.radLabelProject)).EndInit();
299
            ((System.ComponentModel.ISupportInitialize)(this.radLabelPassword)).EndInit();
300
            ((System.ComponentModel.ISupportInitialize)(this.radLabelConfirm)).EndInit();
301
            ((System.ComponentModel.ISupportInitialize)(this.radDropDownListRole)).EndInit();
302
            ((System.ComponentModel.ISupportInitialize)(this.radDropDownListProject)).EndInit();
303
            ((System.ComponentModel.ISupportInitialize)(this.radTextBoxPassword)).EndInit();
304
            ((System.ComponentModel.ISupportInitialize)(this.radTextBoxConfirm)).EndInit();
305
            this.ResumeLayout(false);
306

  
307
        }
308

  
309
        #endregion
310

  
311
        private Telerik.WinControls.UI.RadGridView radGridViewUser;
312
        private System.Windows.Forms.TableLayoutPanel tableLayoutPanelWrap;
313
        private Telerik.WinControls.UI.RadLabel radLabelUserID;
314
        private Telerik.WinControls.UI.RadLabel radLabelUserName;
315
        private Telerik.WinControls.UI.RadTextBox radTextBoxUserID;
316
        private Telerik.WinControls.UI.RadTextBox radTextBoxUserName;
317
        private Telerik.WinControls.UI.RadLabel radLabelRole;
318
        private Telerik.WinControls.UI.RadGroupBox radGroupBoxUser;
319
        private Telerik.WinControls.UI.RadButton radButtonSave;
320
        private Telerik.WinControls.RadThemeManager radThemeManager1;
321
        private Telerik.WinControls.UI.RadLabel radLabelProject;
322
        private Telerik.WinControls.UI.RadLabel radLabelConfirm;
323
        private Telerik.WinControls.UI.RadLabel radLabelPassword;
324
        private Telerik.WinControls.UI.RadDropDownList radDropDownListRole;
325
        private Telerik.WinControls.UI.RadDropDownList radDropDownListProject;
326
        private Telerik.WinControls.UI.RadTextBox radTextBoxConfirm;
327
        private Telerik.WinControls.UI.RadTextBox radTextBoxPassword;
328
    }
329
}
ID2.Manager/ID2.Manager/Forms/SetupUser.cs
1
using System;
2
using System.Collections.Generic;
3
using System.ComponentModel;
4
using System.Data;
5
using System.Drawing;
6
using System.Linq;
7
using System.Text;
8
using System.Threading.Tasks;
9
using System.Windows.Forms;
10

  
11
using ID2.Manager.Common;
12
using ID2.Manager.Data.Models;
13

  
14
namespace ID2.Manager.Forms
15
{
16
    public partial class SetupUser : Form
17
    {
18
        readonly Informations informations = Informations.Instance;
19

  
20
        public SetupUser()
21
        {
22
            InitializeComponent();
23

  
24
            this.Initialize();
25

  
26
            this.Load += SetupUser_Load;
27
            this.radGridViewUser.SelectionChanged += RadGridViewUser_SelectionChanged;
28
        }
29

  
30
        private void Initialize()
31
        {
32
            this.radDropDownListRole.DataSource = informations.UserRole;
33
        }
34

  
35
        private void SetupUser_Load(object sender, EventArgs e)
36
        {
37
            this.radGridViewUser.DataSource = informations.UserList;
38
        }
39

  
40
        private void RadGridViewUser_SelectionChanged(object sender, EventArgs e)
41
        {
42
            if (this.radGridViewUser.SelectedRows.Count == 0) return;
43

  
44
            var userInfo = this.radGridViewUser.SelectedRows[0].DataBoundItem as UserInfo;
45

  
46
            if (userInfo != null)
47
            {
48
                this.radTextBoxUserID.Text = userInfo.ID;
49
                this.radTextBoxUserName.Text = userInfo.Name;
50
                this.radDropDownListRole.SelectedText = userInfo.Role;
51
                //this.radDropDownListProject.SelectedItem.va = userInfo.ID;
52
            }
53
        }
54
    }
55
}
ID2.Manager/ID2.Manager/Forms/SetupUser.resx
1
<?xml version="1.0" encoding="utf-8"?>
2
<root>
3
  <!-- 
4
    Microsoft ResX Schema 
5
    
6
    Version 2.0
7
    
8
    The primary goals of this format is to allow a simple XML format 
9
    that is mostly human readable. The generation and parsing of the 
10
    various data types are done through the TypeConverter classes 
11
    associated with the data types.
12
    
13
    Example:
14
    
15
    ... ado.net/XML headers & schema ...
16
    <resheader name="resmimetype">text/microsoft-resx</resheader>
17
    <resheader name="version">2.0</resheader>
18
    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
19
    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
20
    <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
21
    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
22
    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
23
        <value>[base64 mime encoded serialized .NET Framework object]</value>
24
    </data>
25
    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
26
        <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
27
        <comment>This is a comment</comment>
28
    </data>
29
                
30
    There are any number of "resheader" rows that contain simple 
31
    name/value pairs.
32
    
33
    Each data row contains a name, and value. The row also contains a 
34
    type or mimetype. Type corresponds to a .NET class that support 
35
    text/value conversion through the TypeConverter architecture. 
36
    Classes that don't support this are serialized and stored with the 
37
    mimetype set.
38
    
39
    The mimetype is used for serialized objects, and tells the 
40
    ResXResourceReader how to depersist the object. This is currently not 
41
    extensible. For a given mimetype the value must be set accordingly:
42
    
43
    Note - application/x-microsoft.net.object.binary.base64 is the format 
44
    that the ResXResourceWriter will generate, however the reader can 
45
    read any of the formats listed below.
46
    
47
    mimetype: application/x-microsoft.net.object.binary.base64
48
    value   : The object must be serialized with 
49
            : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
50
            : and then encoded with base64 encoding.
51
    
52
    mimetype: application/x-microsoft.net.object.soap.base64
53
    value   : The object must be serialized with 
54
            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
55
            : and then encoded with base64 encoding.
56

  
57
    mimetype: application/x-microsoft.net.object.bytearray.base64
58
    value   : The object must be serialized into a byte array 
59
            : using a System.ComponentModel.TypeConverter
60
            : and then encoded with base64 encoding.
61
    -->
62
  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
63
    <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
64
    <xsd:element name="root" msdata:IsDataSet="true">
65
      <xsd:complexType>
66
        <xsd:choice maxOccurs="unbounded">
67
          <xsd:element name="metadata">
68
            <xsd:complexType>
69
              <xsd:sequence>
70
                <xsd:element name="value" type="xsd:string" minOccurs="0" />
71
              </xsd:sequence>
72
              <xsd:attribute name="name" use="required" type="xsd:string" />
73
              <xsd:attribute name="type" type="xsd:string" />
74
              <xsd:attribute name="mimetype" type="xsd:string" />
75
              <xsd:attribute ref="xml:space" />
76
            </xsd:complexType>
77
          </xsd:element>
78
          <xsd:element name="assembly">
79
            <xsd:complexType>
80
              <xsd:attribute name="alias" type="xsd:string" />
81
              <xsd:attribute name="name" type="xsd:string" />
82
            </xsd:complexType>
83
          </xsd:element>
84
          <xsd:element name="data">
85
            <xsd:complexType>
86
              <xsd:sequence>
87
                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
88
                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
89
              </xsd:sequence>
90
              <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
91
              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
92
              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
93
              <xsd:attribute ref="xml:space" />
94
            </xsd:complexType>
95
          </xsd:element>
96
          <xsd:element name="resheader">
97
            <xsd:complexType>
98
              <xsd:sequence>
99
                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
100
              </xsd:sequence>
101
              <xsd:attribute name="name" type="xsd:string" use="required" />
102
            </xsd:complexType>
103
          </xsd:element>
104
        </xsd:choice>
105
      </xsd:complexType>
106
    </xsd:element>
107
  </xsd:schema>
108
  <resheader name="resmimetype">
109
    <value>text/microsoft-resx</value>
110
  </resheader>
111
  <resheader name="version">
112
    <value>2.0</value>
113
  </resheader>
114
  <resheader name="reader">
115
    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
116
  </resheader>
117
  <resheader name="writer">
118
    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
119
  </resheader>
120
  <metadata name="radThemeManager1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
121
    <value>17, 17</value>
122
  </metadata>
123
</root>

내보내기 Unified diff

클립보드 이미지 추가 (최대 크기: 500 MB)