..
This commit is contained in:
		| @@ -50,29 +50,6 @@ | ||||
|             label1.TabIndex = 0; | ||||
|             label1.Text = "사용자"; | ||||
|             //  | ||||
|             // tbName | ||||
|             //  | ||||
|             this.tbName.Location = new System.Drawing.Point(79, 18); | ||||
|             this.tbName.Name = "tbName"; | ||||
|             this.tbName.Size = new System.Drawing.Size(123, 21); | ||||
|             this.tbName.TabIndex = 1; | ||||
|             //  | ||||
|             // tbUID | ||||
|             //  | ||||
|             this.tbUID.Location = new System.Drawing.Point(208, 18); | ||||
|             this.tbUID.Name = "tbUID"; | ||||
|             this.tbUID.ReadOnly = true; | ||||
|             this.tbUID.Size = new System.Drawing.Size(123, 21); | ||||
|             this.tbUID.TabIndex = 2; | ||||
|             this.tbUID.TabStop = false; | ||||
|             //  | ||||
|             // dateTimePicker1 | ||||
|             //  | ||||
|             this.dateTimePicker1.Location = new System.Drawing.Point(79, 45); | ||||
|             this.dateTimePicker1.Name = "dateTimePicker1"; | ||||
|             this.dateTimePicker1.Size = new System.Drawing.Size(252, 21); | ||||
|             this.dateTimePicker1.TabIndex = 4; | ||||
|             //  | ||||
|             // label2 | ||||
|             //  | ||||
|             label2.AutoSize = true; | ||||
| @@ -91,6 +68,30 @@ | ||||
|             label3.TabIndex = 5; | ||||
|             label3.Text = "종료일"; | ||||
|             //  | ||||
|             // tbName | ||||
|             //  | ||||
|             this.tbName.Location = new System.Drawing.Point(79, 18); | ||||
|             this.tbName.Name = "tbName"; | ||||
|             this.tbName.Size = new System.Drawing.Size(123, 21); | ||||
|             this.tbName.TabIndex = 1; | ||||
|             //  | ||||
|             // tbUID | ||||
|             //  | ||||
|             this.tbUID.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); | ||||
|             this.tbUID.Location = new System.Drawing.Point(208, 18); | ||||
|             this.tbUID.Name = "tbUID"; | ||||
|             this.tbUID.Size = new System.Drawing.Size(123, 21); | ||||
|             this.tbUID.TabIndex = 2; | ||||
|             this.tbUID.TabStop = false; | ||||
|             this.tbUID.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; | ||||
|             //  | ||||
|             // dateTimePicker1 | ||||
|             //  | ||||
|             this.dateTimePicker1.Location = new System.Drawing.Point(79, 45); | ||||
|             this.dateTimePicker1.Name = "dateTimePicker1"; | ||||
|             this.dateTimePicker1.Size = new System.Drawing.Size(252, 21); | ||||
|             this.dateTimePicker1.TabIndex = 4; | ||||
|             //  | ||||
|             // dateTimePicker2 | ||||
|             //  | ||||
|             this.dateTimePicker2.Location = new System.Drawing.Point(79, 72); | ||||
|   | ||||
| @@ -11,9 +11,11 @@ namespace FPJ0000.JobReport | ||||
| { | ||||
|     public partial class fJobChartMenu : Form | ||||
|     { | ||||
|         public fJobChartMenu() | ||||
|         public fJobChartMenu(string name, string no) | ||||
|         { | ||||
|             InitializeComponent(); | ||||
|             this.tbName.Text = name; | ||||
|             this.tbUID.Text = no; | ||||
|         } | ||||
|  | ||||
|         private void btOK_Click(object sender, EventArgs e) | ||||
| @@ -24,8 +26,8 @@ namespace FPJ0000.JobReport | ||||
|  | ||||
|         private void fJobChartMenu_Load(object sender, EventArgs e) | ||||
|         { | ||||
|             this.tbUID.Text = FCOMMON.info.Login.no; | ||||
|             this.tbName.Text = FCOMMON.info.Login.nameK; | ||||
|            // this.tbUID.Text = FCOMMON.info.Login.no; | ||||
|             //this.tbName.Text = FCOMMON.info.Login.nameK; | ||||
|             this.dateTimePicker1.Value = DateTime.Parse(DateTime.Now.ToString("yyyy-MM-01")); | ||||
|             this.dateTimePicker2.Value = this.dateTimePicker1.Value.AddMonths(1).AddDays(-1); | ||||
|         } | ||||
|   | ||||
| @@ -480,7 +480,10 @@ namespace FPJ0000 | ||||
|  | ||||
|         private void toolStripButton1_Click(object sender, EventArgs e) | ||||
|         { | ||||
|             var f = new JobReport.fJobChartMenu(); | ||||
|             string request = cmbUser.Text.Substring(cmbUser.Text.LastIndexOf('(') + 1); | ||||
|             request = request.Substring(0, request.Length - 1); | ||||
|             string name = cmbUser.Text.Substring(0, cmbUser.Text.IndexOf('(')); | ||||
|             var f = new JobReport.fJobChartMenu(name, request); | ||||
|             f.ShowDialog(); | ||||
|         } | ||||
|     } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user