Commit c2c26f1981d441ae344fdace03d7340feec7371f

Authored by r-ujihara
1 parent 30d58f43

再指摘反映

... ... @@ -99,6 +99,7 @@
99 99 this.label25 = new System.Windows.Forms.Label();
100 100 this.textBox33 = new System.Windows.Forms.TextBox();
101 101 this.textBox34 = new System.Windows.Forms.TextBox();
  102 + this.label26 = new System.Windows.Forms.Label();
102 103 this.panel1.SuspendLayout();
103 104 this.SuspendLayout();
104 105 //
... ... @@ -395,7 +396,7 @@
395 396 // label18
396 397 //
397 398 this.label18.AutoSize = true;
398   - this.label18.Location = new System.Drawing.Point(82, 550);
  399 + this.label18.Location = new System.Drawing.Point(82, 566);
399 400 this.label18.Name = "label18";
400 401 this.label18.Size = new System.Drawing.Size(65, 12);
401 402 this.label18.TabIndex = 31;
... ... @@ -415,7 +416,7 @@
415 416 // textBox16
416 417 //
417 418 this.textBox16.ImeMode = System.Windows.Forms.ImeMode.Off;
418   - this.textBox16.Location = new System.Drawing.Point(163, 547);
  419 + this.textBox16.Location = new System.Drawing.Point(163, 563);
419 420 this.textBox16.MaxLength = 1;
420 421 this.textBox16.Name = "textBox16";
421 422 this.textBox16.Size = new System.Drawing.Size(31, 19);
... ... @@ -425,17 +426,18 @@
425 426 //
426 427 // button1
427 428 //
428   - this.button1.Location = new System.Drawing.Point(232, 608);
  429 + this.button1.Location = new System.Drawing.Point(232, 616);
429 430 this.button1.Name = "button1";
430 431 this.button1.Size = new System.Drawing.Size(75, 23);
431 432 this.button1.TabIndex = 35;
432 433 this.button1.Text = "保存";
433 434 this.button1.UseVisualStyleBackColor = true;
  435 + this.button1.Visible = false;
434 436 this.button1.Click += new System.EventHandler(this.button1_Click);
435 437 //
436 438 // button2
437 439 //
438   - this.button2.Location = new System.Drawing.Point(313, 608);
  440 + this.button2.Location = new System.Drawing.Point(313, 616);
439 441 this.button2.Name = "button2";
440 442 this.button2.Size = new System.Drawing.Size(86, 23);
441 443 this.button2.TabIndex = 36;
... ... @@ -456,7 +458,7 @@
456 458 //
457 459 // button4
458 460 //
459   - this.button4.Location = new System.Drawing.Point(10, 608);
  461 + this.button4.Location = new System.Drawing.Point(10, 616);
460 462 this.button4.Name = "button4";
461 463 this.button4.Size = new System.Drawing.Size(75, 23);
462 464 this.button4.TabIndex = 37;
... ... @@ -495,7 +497,7 @@
495 497 //
496 498 // button5
497 499 //
498   - this.button5.Location = new System.Drawing.Point(91, 608);
  500 + this.button5.Location = new System.Drawing.Point(91, 616);
499 501 this.button5.Name = "button5";
500 502 this.button5.Size = new System.Drawing.Size(75, 23);
501 503 this.button5.TabIndex = 41;
... ... @@ -538,7 +540,7 @@
538 540 this.panel1.Controls.Add(this.textBox3);
539 541 this.panel1.Location = new System.Drawing.Point(371, 72);
540 542 this.panel1.Name = "panel1";
541   - this.panel1.Size = new System.Drawing.Size(109, 506);
  543 + this.panel1.Size = new System.Drawing.Size(109, 521);
542 544 this.panel1.TabIndex = 43;
543 545 this.panel1.Visible = false;
544 546 //
... ... @@ -588,7 +590,7 @@
588 590 //
589 591 // textBox30
590 592 //
591   - this.textBox30.Location = new System.Drawing.Point(3, 471);
  593 + this.textBox30.Location = new System.Drawing.Point(3, 487);
592 594 this.textBox30.MaxLength = 1;
593 595 this.textBox30.Name = "textBox30";
594 596 this.textBox30.ReadOnly = true;
... ... @@ -763,7 +765,7 @@
763 765 //
764 766 // button7
765 767 //
766   - this.button7.Location = new System.Drawing.Point(405, 608);
  768 + this.button7.Location = new System.Drawing.Point(405, 616);
767 769 this.button7.Name = "button7";
768 770 this.button7.Size = new System.Drawing.Size(75, 23);
769 771 this.button7.TabIndex = 45;
... ... @@ -848,11 +850,22 @@
848 850 this.textBox34.TextChanged += new System.EventHandler(this.textBox34_TextChanged);
849 851 this.textBox34.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox34_KeyPress);
850 852 //
  853 + // label26
  854 + //
  855 + this.label26.AutoSize = true;
  856 + this.label26.ForeColor = System.Drawing.SystemColors.ActiveBorder;
  857 + this.label26.Location = new System.Drawing.Point(8, 548);
  858 + this.label26.Name = "label26";
  859 + this.label26.Size = new System.Drawing.Size(269, 12);
  860 + this.label26.TabIndex = 52;
  861 + this.label26.Text = "――――――――――――――――――――――";
  862 + //
851 863 // Form2
852 864 //
853 865 this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
854 866 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
855   - this.ClientSize = new System.Drawing.Size(492, 643);
  867 + this.ClientSize = new System.Drawing.Size(492, 651);
  868 + this.Controls.Add(this.label26);
856 869 this.Controls.Add(this.textBox34);
857 870 this.Controls.Add(this.textBox33);
858 871 this.Controls.Add(this.label25);
... ... @@ -989,5 +1002,6 @@
989 1002 private System.Windows.Forms.TextBox textBox37;
990 1003 private System.Windows.Forms.TextBox textBox36;
991 1004 private System.Windows.Forms.TextBox textBox35;
  1005 + private System.Windows.Forms.Label label26;
992 1006 }
993 1007 }
\ No newline at end of file
... ...
... ... @@ -897,22 +897,26 @@ namespace MedicalCheckInputTool
897 897
898 898 private void textBox15_TextChanged(object sender, EventArgs e) //希望場所
899 899 {
  900 + dspModify(textBox15, label17);
900 901 sendTabKey(textBox15, 1);
901 902 }
902 903
903 904 private void textBox33_TextChanged(object sender, EventArgs e) //希望場所(本庁個別)
904 905 {
  906 + dspModify(textBox33, label24);
905 907 sendTabKey(textBox15, 1);
906 908 }
907 909
908 910 private void textBox34_TextChanged(object sender, EventArgs e)//希望場所(石巻ロイヤル)
909 911 {
  912 + dspModify(textBox34, label25);
910 913 sendTabKey(textBox15, 1);
911 914 }
912 915
913 916
914 917 private void textBox16_TextChanged(object sender, EventArgs e) //身体不自由
915 918 {
  919 + dspModify(textBox16, label18);
916 920 sendTabKey(textBox16, 1);
917 921 }
918 922
... ... @@ -1672,6 +1676,8 @@ namespace MedicalCheckInputTool
1672 1676 }
1673 1677 else if ("1回目の保存".Equals(btxt))
1674 1678 {
  1679 + changeEdit(false);
  1680 + button6.Text = "1回目の編集";
1675 1681 //データ保存
1676 1682 updateDataOnce(conn);
1677 1683 }
... ...
... ... @@ -118,6 +118,7 @@
118 118 this.button2.TabIndex = 3;
119 119 this.button2.Text = "チェック";
120 120 this.button2.UseVisualStyleBackColor = true;
  121 + this.button2.Visible = false;
121 122 this.button2.Click += new System.EventHandler(this.button2_Click);
122 123 //
123 124 // checkBox1
... ...
... ... @@ -342,6 +342,10 @@ namespace MedicalCheckInputTool
342 342 {
343 343 // 整理番号を取得
344 344 string serialNo = dgv.Rows[e.RowIndex].Cells["f_整理番号"].Value.ToString();
  345 + if ("".Equals(serialNo)) //なかったら2回目の番号を入れて起動
  346 + {
  347 + serialNo = dgv.Rows[e.RowIndex].Cells["s_整理番号"].Value.ToString();
  348 + }
345 349 Global.lotNo = EditParam.lotNo;
346 350 Global.times = "1回目";
347 351 Global.inputUser = EditParam.inputUser;
... ... @@ -355,7 +359,11 @@ namespace MedicalCheckInputTool
355 359 if (dgv.Columns[e.ColumnIndex].Name == "編集2")
356 360 {
357 361 // 整理番号を取得
358   - string serialNo = dgv.Rows[e.RowIndex].Cells["f_整理番号"].Value.ToString();
  362 + string serialNo = dgv.Rows[e.RowIndex].Cells["s_整理番号"].Value.ToString();
  363 + if ("".Equals(serialNo)) //なかったら1回目の番号を入れて起動
  364 + {
  365 + serialNo = dgv.Rows[e.RowIndex].Cells["f_整理番号"].Value.ToString();
  366 + }
359 367 Global.lotNo = EditParam.lotNo;
360 368 Global.times = "2回目";
361 369 Global.inputUser = EditParam.inputUser;
... ...
Please register or login to post a comment