diff --git a/PlumbingRepair/PlumbingRepair/FormComponents.Designer.cs b/PlumbingRepair/PlumbingRepair/FormComponents.Designer.cs index 5d5f0b0..f4a6e58 100644 --- a/PlumbingRepair/PlumbingRepair/FormComponents.Designer.cs +++ b/PlumbingRepair/PlumbingRepair/FormComponents.Designer.cs @@ -40,16 +40,19 @@ // this.DataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.DataGridView.Location = new System.Drawing.Point(2, 0); + this.DataGridView.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.DataGridView.Name = "DataGridView"; + this.DataGridView.RowHeadersWidth = 51; this.DataGridView.RowTemplate.Height = 25; - this.DataGridView.Size = new System.Drawing.Size(551, 551); + this.DataGridView.Size = new System.Drawing.Size(630, 735); this.DataGridView.TabIndex = 0; // // AddButton // - this.AddButton.Location = new System.Drawing.Point(571, 26); + this.AddButton.Location = new System.Drawing.Point(653, 35); + this.AddButton.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.AddButton.Name = "AddButton"; - this.AddButton.Size = new System.Drawing.Size(142, 45); + this.AddButton.Size = new System.Drawing.Size(162, 60); this.AddButton.TabIndex = 1; this.AddButton.Text = "Добавить"; this.AddButton.UseVisualStyleBackColor = true; @@ -57,9 +60,10 @@ // // ChangeButton // - this.ChangeButton.Location = new System.Drawing.Point(571, 93); + this.ChangeButton.Location = new System.Drawing.Point(653, 124); + this.ChangeButton.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.ChangeButton.Name = "ChangeButton"; - this.ChangeButton.Size = new System.Drawing.Size(142, 45); + this.ChangeButton.Size = new System.Drawing.Size(162, 60); this.ChangeButton.TabIndex = 2; this.ChangeButton.Text = "Изменить"; this.ChangeButton.UseVisualStyleBackColor = true; @@ -67,9 +71,10 @@ // // DeleteButton // - this.DeleteButton.Location = new System.Drawing.Point(571, 162); + this.DeleteButton.Location = new System.Drawing.Point(653, 216); + this.DeleteButton.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.DeleteButton.Name = "DeleteButton"; - this.DeleteButton.Size = new System.Drawing.Size(142, 45); + this.DeleteButton.Size = new System.Drawing.Size(162, 60); this.DeleteButton.TabIndex = 3; this.DeleteButton.Text = "Удалить"; this.DeleteButton.UseVisualStyleBackColor = true; @@ -77,9 +82,10 @@ // // UpdateButton // - this.UpdateButton.Location = new System.Drawing.Point(571, 230); + this.UpdateButton.Location = new System.Drawing.Point(653, 307); + this.UpdateButton.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.UpdateButton.Name = "UpdateButton"; - this.UpdateButton.Size = new System.Drawing.Size(142, 45); + this.UpdateButton.Size = new System.Drawing.Size(162, 60); this.UpdateButton.TabIndex = 4; this.UpdateButton.Text = "Обновить"; this.UpdateButton.UseVisualStyleBackColor = true; @@ -87,16 +93,18 @@ // // FormComponents // - this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F); + this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 20F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(725, 552); + this.ClientSize = new System.Drawing.Size(829, 736); this.Controls.Add(this.UpdateButton); this.Controls.Add(this.DeleteButton); this.Controls.Add(this.ChangeButton); this.Controls.Add(this.AddButton); this.Controls.Add(this.DataGridView); + this.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.Name = "FormComponents"; this.Text = "Компоненты"; + this.Load += new System.EventHandler(this.FormComponents_Load); ((System.ComponentModel.ISupportInitialize)(this.DataGridView)).EndInit(); this.ResumeLayout(false); diff --git a/PlumbingRepair/PlumbingRepair/FormComponents.resx b/PlumbingRepair/PlumbingRepair/FormComponents.resx index 1af7de1..f298a7b 100644 --- a/PlumbingRepair/PlumbingRepair/FormComponents.resx +++ b/PlumbingRepair/PlumbingRepair/FormComponents.resx @@ -1,64 +1,4 @@ - - - + diff --git a/PlumbingRepair/PlumbingRepair/FormMain.Designer.cs b/PlumbingRepair/PlumbingRepair/FormMain.Designer.cs index 495612f..3812a8c 100644 --- a/PlumbingRepair/PlumbingRepair/FormMain.Designer.cs +++ b/PlumbingRepair/PlumbingRepair/FormMain.Designer.cs @@ -159,6 +159,7 @@ this.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.Name = "FormMain"; this.Text = "Ремонт сантехники"; + this.Load += new System.EventHandler(this.FormMain_Load); this.MenuStrip.ResumeLayout(false); this.MenuStrip.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.DataGridView)).EndInit(); diff --git a/PlumbingRepair/PlumbingRepair/FormWorks.Designer.cs b/PlumbingRepair/PlumbingRepair/FormWorks.Designer.cs index 882dac0..e966303 100644 --- a/PlumbingRepair/PlumbingRepair/FormWorks.Designer.cs +++ b/PlumbingRepair/PlumbingRepair/FormWorks.Designer.cs @@ -40,16 +40,19 @@ // this.DataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.DataGridView.Location = new System.Drawing.Point(1, 1); + this.DataGridView.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.DataGridView.Name = "DataGridView"; + this.DataGridView.RowHeadersWidth = 51; this.DataGridView.RowTemplate.Height = 25; - this.DataGridView.Size = new System.Drawing.Size(562, 495); + this.DataGridView.Size = new System.Drawing.Size(642, 660); this.DataGridView.TabIndex = 0; // // AddButton // - this.AddButton.Location = new System.Drawing.Point(585, 12); + this.AddButton.Location = new System.Drawing.Point(669, 16); + this.AddButton.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.AddButton.Name = "AddButton"; - this.AddButton.Size = new System.Drawing.Size(120, 41); + this.AddButton.Size = new System.Drawing.Size(137, 55); this.AddButton.TabIndex = 1; this.AddButton.Text = "Добавить"; this.AddButton.UseVisualStyleBackColor = true; @@ -57,9 +60,10 @@ // // ChangeButton // - this.ChangeButton.Location = new System.Drawing.Point(585, 71); + this.ChangeButton.Location = new System.Drawing.Point(669, 95); + this.ChangeButton.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.ChangeButton.Name = "ChangeButton"; - this.ChangeButton.Size = new System.Drawing.Size(120, 41); + this.ChangeButton.Size = new System.Drawing.Size(137, 55); this.ChangeButton.TabIndex = 2; this.ChangeButton.Text = "Изменить"; this.ChangeButton.UseVisualStyleBackColor = true; @@ -67,9 +71,10 @@ // // DeleteButton // - this.DeleteButton.Location = new System.Drawing.Point(585, 130); + this.DeleteButton.Location = new System.Drawing.Point(669, 173); + this.DeleteButton.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.DeleteButton.Name = "DeleteButton"; - this.DeleteButton.Size = new System.Drawing.Size(120, 41); + this.DeleteButton.Size = new System.Drawing.Size(137, 55); this.DeleteButton.TabIndex = 3; this.DeleteButton.Text = "Удалить"; this.DeleteButton.UseVisualStyleBackColor = true; @@ -77,9 +82,10 @@ // // UpdateButton // - this.UpdateButton.Location = new System.Drawing.Point(585, 191); + this.UpdateButton.Location = new System.Drawing.Point(669, 255); + this.UpdateButton.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.UpdateButton.Name = "UpdateButton"; - this.UpdateButton.Size = new System.Drawing.Size(120, 41); + this.UpdateButton.Size = new System.Drawing.Size(137, 55); this.UpdateButton.TabIndex = 4; this.UpdateButton.Text = "Обновить"; this.UpdateButton.UseVisualStyleBackColor = true; @@ -87,16 +93,18 @@ // // FormWorks // - this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F); + this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 20F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(717, 502); + this.ClientSize = new System.Drawing.Size(819, 669); this.Controls.Add(this.UpdateButton); this.Controls.Add(this.DeleteButton); this.Controls.Add(this.ChangeButton); this.Controls.Add(this.AddButton); this.Controls.Add(this.DataGridView); + this.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.Name = "FormWorks"; this.Text = "Изделия"; + this.Load += new System.EventHandler(this.FormComponents_Load); ((System.ComponentModel.ISupportInitialize)(this.DataGridView)).EndInit(); this.ResumeLayout(false); diff --git a/PlumbingRepair/PlumbingRepair/FormWorks.resx b/PlumbingRepair/PlumbingRepair/FormWorks.resx index 1af7de1..f298a7b 100644 --- a/PlumbingRepair/PlumbingRepair/FormWorks.resx +++ b/PlumbingRepair/PlumbingRepair/FormWorks.resx @@ -1,64 +1,4 @@ - - - +