Commits

Alex Kulikoff committed 12fd66a

pre1

Comments (0)

Files changed (14)

Binary file modified.

Banker/Form1.Designer.cs

         /// </summary>
         private void InitializeComponent()
         {
-            this.Column9 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.label1 = new System.Windows.Forms.Label();
             this.dataGridView1 = new System.Windows.Forms.DataGridView();
             this.Column1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.Column2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.Column5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.Column6 = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.Column7 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.dataGridView2 = new System.Windows.Forms.DataGridView();
+            this.Column8 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.Column9 = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.Column10 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.Column8 = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.label1 = new System.Windows.Forms.Label();
             this.Column11 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.button2 = new System.Windows.Forms.Button();
             this.button1 = new System.Windows.Forms.Button();
-            this.dataGridView2 = new System.Windows.Forms.DataGridView();
-            this.button2 = new System.Windows.Forms.Button();
             ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.dataGridView2)).BeginInit();
             this.SuspendLayout();
             // 
-            // Column9
+            // label1
             // 
-            this.Column9.Frozen = true;
-            this.Column9.HeaderText = "";
-            this.Column9.Name = "Column9";
-            this.Column9.ReadOnly = true;
+            this.label1.AutoSize = true;
+            this.label1.Location = new System.Drawing.Point(75, 241);
+            this.label1.Name = "label1";
+            this.label1.Size = new System.Drawing.Size(0, 13);
+            this.label1.TabIndex = 12;
             // 
             // dataGridView1
             // 
             this.Column5,
             this.Column6,
             this.Column7});
-            this.dataGridView1.Location = new System.Drawing.Point(1, 2);
+            this.dataGridView1.Location = new System.Drawing.Point(1, 3);
             this.dataGridView1.Name = "dataGridView1";
             this.dataGridView1.ReadOnly = true;
             this.dataGridView1.RowHeadersVisible = false;
             this.dataGridView1.Size = new System.Drawing.Size(383, 139);
-            this.dataGridView1.TabIndex = 5;
+            this.dataGridView1.TabIndex = 15;
             // 
             // Column1
             // 
             this.Column7.ReadOnly = true;
             this.Column7.Width = 50;
             // 
-            // Column10
-            // 
-            this.Column10.Frozen = true;
-            this.Column10.HeaderText = "";
-            this.Column10.Name = "Column10";
-            this.Column10.ReadOnly = true;
-            // 
-            // Column8
-            // 
-            this.Column8.Frozen = true;
-            this.Column8.HeaderText = "";
-            this.Column8.Name = "Column8";
-            this.Column8.ReadOnly = true;
-            this.Column8.Width = 80;
-            // 
-            // label1
-            // 
-            this.label1.AutoSize = true;
-            this.label1.Location = new System.Drawing.Point(1, 175);
-            this.label1.Name = "label1";
-            this.label1.Size = new System.Drawing.Size(0, 13);
-            this.label1.TabIndex = 7;
-            // 
-            // Column11
-            // 
-            this.Column11.Frozen = true;
-            this.Column11.HeaderText = "";
-            this.Column11.Name = "Column11";
-            this.Column11.ReadOnly = true;
-            // 
-            // button1
-            // 
-            this.button1.Location = new System.Drawing.Point(79, 184);
-            this.button1.Name = "button1";
-            this.button1.Size = new System.Drawing.Size(108, 40);
-            this.button1.TabIndex = 8;
-            this.button1.Text = "Дать";
-            this.button1.UseVisualStyleBackColor = true;
-            // 
             // dataGridView2
             // 
             this.dataGridView2.AllowUserToAddRows = false;
             this.Column9,
             this.Column10,
             this.Column11});
-            this.dataGridView2.Location = new System.Drawing.Point(1, 147);
+            this.dataGridView2.Location = new System.Drawing.Point(1, 148);
             this.dataGridView2.Name = "dataGridView2";
             this.dataGridView2.ReadOnly = true;
             this.dataGridView2.RowHeadersVisible = false;
             this.dataGridView2.Size = new System.Drawing.Size(383, 21);
-            this.dataGridView2.TabIndex = 6;
+            this.dataGridView2.TabIndex = 16;
+            // 
+            // Column8
+            // 
+            this.Column8.Frozen = true;
+            this.Column8.HeaderText = "";
+            this.Column8.Name = "Column8";
+            this.Column8.ReadOnly = true;
+            this.Column8.Width = 80;
+            // 
+            // Column9
+            // 
+            this.Column9.Frozen = true;
+            this.Column9.HeaderText = "";
+            this.Column9.Name = "Column9";
+            this.Column9.ReadOnly = true;
+            // 
+            // Column10
+            // 
+            this.Column10.Frozen = true;
+            this.Column10.HeaderText = "";
+            this.Column10.Name = "Column10";
+            this.Column10.ReadOnly = true;
+            // 
+            // Column11
+            // 
+            this.Column11.Frozen = true;
+            this.Column11.HeaderText = "";
+            this.Column11.Name = "Column11";
+            this.Column11.ReadOnly = true;
             // 
             // button2
             // 
-            this.button2.Location = new System.Drawing.Point(210, 184);
+            this.button2.Location = new System.Drawing.Point(210, 185);
             this.button2.Name = "button2";
             this.button2.Size = new System.Drawing.Size(110, 40);
-            this.button2.TabIndex = 9;
+            this.button2.TabIndex = 18;
             this.button2.Text = "Не дать";
             this.button2.UseVisualStyleBackColor = true;
             // 
+            // button1
+            // 
+            this.button1.Location = new System.Drawing.Point(79, 185);
+            this.button1.Name = "button1";
+            this.button1.Size = new System.Drawing.Size(108, 40);
+            this.button1.TabIndex = 17;
+            this.button1.Text = "Дать";
+            this.button1.UseVisualStyleBackColor = true;
+            // 
             // Form1
             // 
             this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
             this.ClientSize = new System.Drawing.Size(385, 262);
             this.Controls.Add(this.dataGridView1);
-            this.Controls.Add(this.label1);
-            this.Controls.Add(this.button1);
             this.Controls.Add(this.dataGridView2);
             this.Controls.Add(this.button2);
+            this.Controls.Add(this.button1);
+            this.Controls.Add(this.label1);
             this.Name = "Form1";
             this.Text = "Банкир";
             ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
 
         #endregion
 
-        private System.Windows.Forms.DataGridViewTextBoxColumn Column9;
+        private System.Windows.Forms.Label label1;
         private System.Windows.Forms.DataGridView dataGridView1;
         private System.Windows.Forms.DataGridViewTextBoxColumn Column1;
         private System.Windows.Forms.DataGridViewTextBoxColumn Column2;
         private System.Windows.Forms.DataGridViewTextBoxColumn Column5;
         private System.Windows.Forms.DataGridViewTextBoxColumn Column6;
         private System.Windows.Forms.DataGridViewTextBoxColumn Column7;
+        private System.Windows.Forms.DataGridView dataGridView2;
+        private System.Windows.Forms.DataGridViewTextBoxColumn Column8;
+        private System.Windows.Forms.DataGridViewTextBoxColumn Column9;
         private System.Windows.Forms.DataGridViewTextBoxColumn Column10;
-        private System.Windows.Forms.DataGridViewTextBoxColumn Column8;
-        private System.Windows.Forms.Label label1;
         private System.Windows.Forms.DataGridViewTextBoxColumn Column11;
+        private System.Windows.Forms.Button button2;
         private System.Windows.Forms.Button button1;
-        private System.Windows.Forms.DataGridView dataGridView2;
-        private System.Windows.Forms.Button button2;
+
     }
 }
 
 
         class Var
         {
-            int[,] t;
-            int[] m;
+           public int[,] t;
+           public int[] m;
             
           public  Var(int[,] t, int[] m)
           {
 
         Var[] var2 = new Var[9] 
         {   new Var(new int[,] { {3, 6, 4, 5},{5, 1, 4, 5} }, new int[]{6, 5}),
-            new Var(new int[,] { {},{} }, new int[]{ 5,6}),
-            new Var(new int[,] { {},{} }, new int[]{ 6,5}),
-            new Var(new int[,] { {},{} }, new int[]{ 6,5}),
-            new Var(new int[,] { {},{} }, new int[]{ 6,5}),
-            new Var(new int[,] { {},{} }, new int[]{ 6,5}),
-            new Var(new int[,] { {},{} }, new int[]{ 6,5}),
-            new Var(new int[,] { {},{} }, new int[]{ 6,5}),
-            new Var(new int[,] { {},{} }, new int[]{ 6,5}),
+            new Var(new int[,] { {5, 2, 4, 5},{3, 6, 4, 5} }, new int[]{ 5,6}),
+            new Var(new int[,] { {3, 5, 4, 6},{5, 1, 5, 5} }, new int[]{ 6,5}),
+            new Var(new int[,] { {4, 5, 6, 3},{5, 2, 4, 5} }, new int[]{ 6,5}),
+            new Var(new int[,] { {2, 6, 6, 5},{4, 1, 4, 5} }, new int[]{ 6,5}),
+            new Var(new int[,] { {2, 5, 6, 6},{5, 1, 4, 5} }, new int[]{ 6,5}),
+            new Var(new int[,] { {2, 6, 6, 5},{5, 0 ,4, 5} }, new int[]{ 6,5}),
+            new Var(new int[,] { {3, 5, 4, 5},{5, 2, 4, 5} }, new int[]{ 6,5}),
+            new Var(new int[,] { {3, 5, 4, 5},{5, 2, 4, 5} }, new int[]{ 6,5}),
             
         };
 
         Var[] var3 = new Var[9] 
-        {   new Var(new int[,] { {},{},{} }, new int[]{6, 5}),
-            new Var(new int[,] { {},{},{} }, new int[]{ 5,6}),
-            new Var(new int[,] { {},{},{} }, new int[]{ 6,5}),
-            new Var(new int[,] { {},{} ,{}}, new int[]{ 6,5}),
-            new Var(new int[,] { {},{} ,{}}, new int[]{ 6,5}),
-            new Var(new int[,] { {},{} ,{}}, new int[]{ 6,5}),
-            new Var(new int[,] { {},{},{} }, new int[]{ 6,5}),
-            new Var(new int[,] { {},{},{} }, new int[]{ 6,5}),
-            new Var(new int[,] { {},{},{} }, new int[]{ 6,5}),
+        {   new Var(new int[,] { {5, 0, 5, 6, 5},{6, 4, 2, 4, 5},{1, 6, 3, 5, 5} }, new int[]{7,6,6}),
+            new Var(new int[,] { {6, 4, 2, 4, 5},{3, 6, 3, 5, 5},{5, 0, 4, 6, 5} }, new int[]{ 7,6,6}),
+            new Var(new int[,] { {4, 2, 5, 6, 5},{6, 5, 1, 4, 5},{1, 6, 3, 5, 5} }, new int[]{ 7,6,6}),
+            new Var(new int[,] { {6, 4, 2, 4, 5},{1, 6, 3, 5, 5} ,{6, 1, 5, 6, 5}}, new int[]{ 7,6,6}),
+            new Var(new int[,] { {5, 3, 6, 1, 6},{6, 4, 2, 4, 5} ,{2, 6, 3, 5, 5}}, new int[]{ 7,6,6}),
+            new Var(new int[,] { {5, 0, 5, 6, 5},{6, 3, 5, 3, 6 } ,{1, 6, 3, 5, 5}}, new int[]{ 7,6,6}),
+            new Var(new int[,] { {4, 2, 6, 6, 5 },{6, 4, 2, 4, 5},{2, 6, 3, 4, 6} }, new int[]{ 7,6,6}),
+            new Var(new int[,] { {5, 0, 7, 6, 5},{6, 4, 3, 4, 5},{2, 6, 3, 5, 5 } }, new int[]{ 7,6,6}),
+            new Var(new int[,] { {5, 0, 5, 6, 5},{6, 4, 2, 4, 5},{1, 6, 3, 5, 5 } }, new int[]{ 7,6,6}),
             
         };
+
+        void level1(Var var) // Первый уровень, var - вариант задания
+        { }
+        void level2(Var var) // Второй уровень, var - вариант задания
+        { }
+        void level3(Var var) // Третий уровень, var - вариант задания
+        { }
+        void genOut() // генератор выходного файла
+        { }
     }
 }

Banker/Form1.resx

   <resheader name="writer">
     <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
   </resheader>
-  <metadata name="Column9.UserAddedColumn" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>True</value>
-  </metadata>
   <metadata name="Column1.UserAddedColumn" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     <value>True</value>
   </metadata>
   <metadata name="Column7.UserAddedColumn" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     <value>True</value>
   </metadata>
-  <metadata name="Column10.UserAddedColumn" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+  <metadata name="Column8.UserAddedColumn" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     <value>True</value>
   </metadata>
-  <metadata name="Column8.UserAddedColumn" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+  <metadata name="Column9.UserAddedColumn" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </metadata>
+  <metadata name="Column10.UserAddedColumn" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     <value>True</value>
   </metadata>
   <metadata name="Column11.UserAddedColumn" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
Add a comment to this file

Banker/bin/Debug/Banker.exe

Binary file added.

Add a comment to this file

Banker/bin/Debug/Banker.pdb

Binary file added.

Add a comment to this file

Banker/obj/x86/Debug/Banker.Form1.resources

Binary file added.

Add a comment to this file

Banker/obj/x86/Debug/Banker.Properties.Resources.resources

Binary file added.

Banker/obj/x86/Debug/Banker.csproj.FileListAbsolute.txt

+C:\Users\Alex\Desktop\banker\Banker\bin\Debug\Banker.exe
+C:\Users\Alex\Desktop\banker\Banker\bin\Debug\Banker.pdb
+C:\Users\Alex\Desktop\banker\Banker\obj\x86\Debug\ResolveAssemblyReference.cache
+C:\Users\Alex\Desktop\banker\Banker\obj\x86\Debug\Banker.Form1.resources
+C:\Users\Alex\Desktop\banker\Banker\obj\x86\Debug\Banker.Properties.Resources.resources
+C:\Users\Alex\Desktop\banker\Banker\obj\x86\Debug\GenerateResource-ResGen.read.1.tlog
+C:\Users\Alex\Desktop\banker\Banker\obj\x86\Debug\GenerateResource-ResGen.write.1.tlog
+C:\Users\Alex\Desktop\banker\Banker\obj\x86\Debug\Banker.exe
+C:\Users\Alex\Desktop\banker\Banker\obj\x86\Debug\Banker.pdb
Add a comment to this file

Banker/obj/x86/Debug/Banker.exe

Binary file added.

Add a comment to this file

Banker/obj/x86/Debug/Banker.pdb

Binary file added.

Add a comment to this file

Banker/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache

Binary file modified.

Add a comment to this file

Banker/obj/x86/Debug/GenerateResource-ResGen.read.1.tlog

Binary file added.

Add a comment to this file

Banker/obj/x86/Debug/GenerateResource-ResGen.write.1.tlog

Binary file added.

Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.