teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

1

質問を詳細に記載しました。

2021/01/15 06:07

投稿

koukousei_1
koukousei_1

スコア3

title CHANGED
@@ -1,1 +1,1 @@
1
- 一文の意味を教えてださい
1
+ デザイン画面編集ができななりました。
body CHANGED
@@ -1,4 +1,117 @@
1
1
  別プロジェクトで作っていたものを結合しようとしています。
2
2
  結合してみたら、
3
3
  this.pictureBox1.Image = global::daikei.Properties.Resources._12;
4
- この一文の「global::daikei.Properties」の部分にエラーが出てしまいました。
4
+ この一文の「global::daikei.Properties」の部分にエラーが出てしまいました。
5
+
6
+
7
+ ```Designer
8
+ namespace daikei
9
+ {
10
+ partial class daikei_1
11
+ {
12
+ /// <summary>
13
+ /// Required designer variable.
14
+ /// </summary>
15
+ private System.ComponentModel.IContainer components = null;
16
+
17
+ /// <summary>
18
+ /// Clean up any resources being used.
19
+ /// </summary>
20
+ /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
21
+ protected override void Dispose(bool disposing)
22
+ {
23
+ if (disposing && (components != null))
24
+ {
25
+ components.Dispose();
26
+ }
27
+ base.Dispose(disposing);
28
+ }
29
+
30
+ #region Windows Form Designer generated code
31
+
32
+ /// <summary>
33
+ /// Required method for Designer support - do not modify
34
+ /// the contents of this method with the code editor.
35
+ /// </summary>
36
+ private void InitializeComponent()
37
+ {
38
+ this.button1 = new System.Windows.Forms.Button();
39
+ this.label1 = new System.Windows.Forms.Label();
40
+ this.pictureBox1 = new System.Windows.Forms.PictureBox();
41
+ this.button2 = new System.Windows.Forms.Button();
42
+ ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
43
+ this.SuspendLayout();
44
+ //
45
+ // button1
46
+ //
47
+ this.button1.Font = new System.Drawing.Font("游ゴシック", 20F);
48
+ this.button1.Location = new System.Drawing.Point(1043, 557);
49
+ this.button1.Name = "button1";
50
+ this.button1.Size = new System.Drawing.Size(113, 59);
51
+ this.button1.TabIndex = 38;
52
+ this.button1.Text = "次へ";
53
+ this.button1.UseVisualStyleBackColor = true;
54
+ this.button1.Click += new System.EventHandler(this.button1_Click);
55
+ //
56
+ // label1
57
+ //
58
+ this.label1.AutoSize = true;
59
+ this.label1.Font = new System.Drawing.Font("游ゴシック", 13F);
60
+ this.label1.Location = new System.Drawing.Point(12, 9);
61
+ this.label1.Name = "label1";
62
+ this.label1.Size = new System.Drawing.Size(190, 23);
63
+ this.label1.TabIndex = 36;
64
+ this.label1.Text = "台形の面積を求める。";
65
+ //
66
+ // pictureBox1
67
+ //
68
+ this.pictureBox1.Image = global::daikei.Properties.Resources._12;
69
+ this.pictureBox1.Location = new System.Drawing.Point(142, 108);
70
+ this.pictureBox1.Name = "pictureBox1";
71
+ this.pictureBox1.Size = new System.Drawing.Size(875, 393);
72
+ this.pictureBox1.TabIndex = 37;
73
+ this.pictureBox1.TabStop = false;
74
+ //
75
+ // button2
76
+ //
77
+ this.button2.Font = new System.Drawing.Font("游ゴシック", 20F);
78
+ this.button2.Location = new System.Drawing.Point(12, 556);
79
+ this.button2.Name = "button2";
80
+ this.button2.Size = new System.Drawing.Size(113, 59);
81
+ this.button2.TabIndex = 39;
82
+ this.button2.Text = "戻る";
83
+ this.button2.UseVisualStyleBackColor = true;
84
+ //
85
+ // daikei_1
86
+ //
87
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
88
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
89
+ this.BackColor = System.Drawing.Color.White;
90
+ this.ClientSize = new System.Drawing.Size(1168, 627);
91
+ this.ControlBox = false;
92
+ this.Controls.Add(this.button2);
93
+ this.Controls.Add(this.button1);
94
+ this.Controls.Add(this.pictureBox1);
95
+ this.Controls.Add(this.label1);
96
+ this.Name = "daikei_1";
97
+ this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
98
+ this.Text = "daikei_1";
99
+ ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
100
+ this.ResumeLayout(false);
101
+ this.PerformLayout();
102
+
103
+ }
104
+
105
+ #endregion
106
+
107
+ private System.Windows.Forms.Button button1;
108
+ private System.Windows.Forms.PictureBox pictureBox1;
109
+ private System.Windows.Forms.Label label1;
110
+ private System.Windows.Forms.Button button2;
111
+ }
112
+ }
113
+
114
+ ```
115
+
116
+ エラー文
117
+ エラー CS0234 型または名前空間の名前 'Properties' が名前空間 'daikei' に存在しません (アセンブリ参照があることを確認してください)。