1
0
Ver Fonte

3 плитки в ряд

ypv há 3 anos atrás
pai
commit
289cd778b6

+ 27 - 22
Учебная практика 37 гр. - 3/Плиточный интерфейс/Плитки/Агенты/Form1.Designer.cs

@@ -30,9 +30,9 @@ namespace Агенты
         private void InitializeComponent()
         {
             this.panel1 = new System.Windows.Forms.Panel();
-            this.PbxLogo = new System.Windows.Forms.PictureBox();
-            this.LblTitle = new System.Windows.Forms.Label();
             this.LblPhone = new System.Windows.Forms.Label();
+            this.LblTitle = new System.Windows.Forms.Label();
+            this.PbxLogo = new System.Windows.Forms.PictureBox();
             this.panel1.SuspendLayout();
             ((System.ComponentModel.ISupportInitialize)(this.PbxLogo)).BeginInit();
             this.SuspendLayout();
@@ -44,44 +44,49 @@ namespace Агенты
             this.panel1.Controls.Add(this.LblPhone);
             this.panel1.Controls.Add(this.LblTitle);
             this.panel1.Controls.Add(this.PbxLogo);
-            this.panel1.Location = new System.Drawing.Point(76, 43);
+            this.panel1.Location = new System.Drawing.Point(57, 35);
+            this.panel1.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
             this.panel1.Name = "panel1";
-            this.panel1.Size = new System.Drawing.Size(296, 200);
+            this.panel1.Size = new System.Drawing.Size(222, 163);
             this.panel1.TabIndex = 0;
             // 
-            // PbxLogo
+            // LblPhone
             // 
-            this.PbxLogo.Location = new System.Drawing.Point(13, 18);
-            this.PbxLogo.Name = "PbxLogo";
-            this.PbxLogo.Size = new System.Drawing.Size(119, 120);
-            this.PbxLogo.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
-            this.PbxLogo.TabIndex = 0;
-            this.PbxLogo.TabStop = false;
+            this.LblPhone.AutoSize = true;
+            this.LblPhone.Location = new System.Drawing.Point(128, 47);
+            this.LblPhone.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
+            this.LblPhone.Name = "LblPhone";
+            this.LblPhone.Size = new System.Drawing.Size(41, 15);
+            this.LblPhone.TabIndex = 2;
+            this.LblPhone.Text = "label2";
             // 
             // LblTitle
             // 
             this.LblTitle.AutoSize = true;
-            this.LblTitle.Location = new System.Drawing.Point(13, 145);
+            this.LblTitle.Location = new System.Drawing.Point(128, 18);
+            this.LblTitle.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
             this.LblTitle.Name = "LblTitle";
-            this.LblTitle.Size = new System.Drawing.Size(46, 17);
+            this.LblTitle.Size = new System.Drawing.Size(41, 15);
             this.LblTitle.TabIndex = 1;
             this.LblTitle.Text = "label1";
             // 
-            // LblPhone
+            // PbxLogo
             // 
-            this.LblPhone.AutoSize = true;
-            this.LblPhone.Location = new System.Drawing.Point(13, 171);
-            this.LblPhone.Name = "LblPhone";
-            this.LblPhone.Size = new System.Drawing.Size(46, 17);
-            this.LblPhone.TabIndex = 2;
-            this.LblPhone.Text = "label2";
+            this.PbxLogo.Location = new System.Drawing.Point(13, 18);
+            this.PbxLogo.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
+            this.PbxLogo.Name = "PbxLogo";
+            this.PbxLogo.Size = new System.Drawing.Size(89, 98);
+            this.PbxLogo.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
+            this.PbxLogo.TabIndex = 0;
+            this.PbxLogo.TabStop = false;
             // 
             // Form1
             // 
-            this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
+            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
-            this.ClientSize = new System.Drawing.Size(800, 450);
+            this.ClientSize = new System.Drawing.Size(600, 366);
             this.Controls.Add(this.panel1);
+            this.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
             this.Name = "Form1";
             this.Text = "Form1";
             this.panel1.ResumeLayout(false);

+ 16 - 4
Учебная практика 37 гр. - 3/Плиточный интерфейс/Плитки/Агенты/MainForm.Designer.cs

@@ -31,21 +31,24 @@ namespace Агенты
         {
             this.MainPanel = new System.Windows.Forms.FlowLayoutPanel();
             this.button1 = new System.Windows.Forms.Button();
+            this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel();
+            this.MainPanel.SuspendLayout();
             this.SuspendLayout();
             // 
             // MainPanel
             // 
             this.MainPanel.AutoScroll = true;
-            this.MainPanel.Location = new System.Drawing.Point(20, 26);
+            this.MainPanel.Controls.Add(this.flowLayoutPanel1);
+            this.MainPanel.Location = new System.Drawing.Point(11, 11);
             this.MainPanel.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
             this.MainPanel.Name = "MainPanel";
-            this.MainPanel.Size = new System.Drawing.Size(728, 359);
+            this.MainPanel.Size = new System.Drawing.Size(990, 391);
             this.MainPanel.TabIndex = 0;
             // 
             // button1
             // 
             this.button1.Location = new System.Drawing.Point(20, 406);
-            this.button1.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
+            this.button1.Margin = new System.Windows.Forms.Padding(2);
             this.button1.Name = "button1";
             this.button1.Size = new System.Drawing.Size(67, 33);
             this.button1.TabIndex = 1;
@@ -53,16 +56,24 @@ namespace Агенты
             this.button1.UseVisualStyleBackColor = true;
             this.button1.Click += new System.EventHandler(this.button1_Click);
             // 
+            // flowLayoutPanel1
+            // 
+            this.flowLayoutPanel1.Location = new System.Drawing.Point(3, 3);
+            this.flowLayoutPanel1.Name = "flowLayoutPanel1";
+            this.flowLayoutPanel1.Size = new System.Drawing.Size(200, 100);
+            this.flowLayoutPanel1.TabIndex = 0;
+            // 
             // MainForm
             // 
             this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
-            this.ClientSize = new System.Drawing.Size(800, 450);
+            this.ClientSize = new System.Drawing.Size(992, 450);
             this.Controls.Add(this.button1);
             this.Controls.Add(this.MainPanel);
             this.Name = "MainForm";
             this.Text = "Агенты по продажам";
             this.Load += new System.EventHandler(this.Form1_Load);
+            this.MainPanel.ResumeLayout(false);
             this.ResumeLayout(false);
 
         }
@@ -71,6 +82,7 @@ namespace Агенты
 
         private System.Windows.Forms.FlowLayoutPanel MainPanel;
         private System.Windows.Forms.Button button1;
+        private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel1;
     }
 }
 

BIN
Учебная практика 37 гр. - 3/Плиточный интерфейс/Плитки/Агенты/bin/Debug/Агенты.exe


BIN
Учебная практика 37 гр. - 3/Плиточный интерфейс/Плитки/Агенты/obj/Debug/Агенты.exe