Доработка 1
This commit is contained in:
parent
6c04c689c8
commit
3600408341
@ -235,7 +235,7 @@ namespace MotorPlantDatabaseImplement.Migrations
|
|||||||
modelBuilder.Entity("MotorPlantDatabaseImplement.Models.MessageInfo", b =>
|
modelBuilder.Entity("MotorPlantDatabaseImplement.Models.MessageInfo", b =>
|
||||||
{
|
{
|
||||||
b.HasOne("MotorPlantDatabaseImplement.Models.Client", "Client")
|
b.HasOne("MotorPlantDatabaseImplement.Models.Client", "Client")
|
||||||
.WithMany()
|
.WithMany("Messages")
|
||||||
.HasForeignKey("ClientId");
|
.HasForeignKey("ClientId");
|
||||||
|
|
||||||
b.Navigation("Client");
|
b.Navigation("Client");
|
||||||
@ -268,6 +268,8 @@ namespace MotorPlantDatabaseImplement.Migrations
|
|||||||
|
|
||||||
modelBuilder.Entity("MotorPlantDatabaseImplement.Models.Client", b =>
|
modelBuilder.Entity("MotorPlantDatabaseImplement.Models.Client", b =>
|
||||||
{
|
{
|
||||||
|
b.Navigation("Messages");
|
||||||
|
|
||||||
b.Navigation("Orders");
|
b.Navigation("Orders");
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -42,14 +42,14 @@
|
|||||||
dataGridView.Size = new Size(776, 426);
|
dataGridView.Size = new Size(776, 426);
|
||||||
dataGridView.TabIndex = 0;
|
dataGridView.TabIndex = 0;
|
||||||
//
|
//
|
||||||
// ViewMailForm
|
// FormViewMail
|
||||||
//
|
//
|
||||||
AutoScaleDimensions = new SizeF(8F, 20F);
|
AutoScaleDimensions = new SizeF(8F, 20F);
|
||||||
AutoScaleMode = AutoScaleMode.Font;
|
AutoScaleMode = AutoScaleMode.Font;
|
||||||
ClientSize = new Size(800, 450);
|
ClientSize = new Size(800, 450);
|
||||||
Controls.Add(dataGridView);
|
Controls.Add(dataGridView);
|
||||||
Name = "ViewMailForm";
|
Name = "FormViewMail";
|
||||||
Text = "ViewMailForm";
|
Text = "Письма";
|
||||||
Load += ViewMailForm_Load;
|
Load += ViewMailForm_Load;
|
||||||
((System.ComponentModel.ISupportInitialize)dataGridView).EndInit();
|
((System.ComponentModel.ISupportInitialize)dataGridView).EndInit();
|
||||||
ResumeLayout(false);
|
ResumeLayout(false);
|
||||||
|
Loading…
Reference in New Issue
Block a user