/
artem_ivanov
/
Graphs
Обзор
Документация
Войти
/
artem_ivanov
/
Graphs
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
WindowsFormsGraphs/AddEdgeForm.Designer.cs
287 строк
17 KB
Artyom Ivanov
добавь алгоритм флойда
12 мар 2023, 11:00
12 мар 2023, 11:00
96aa224
Код
Авторство
О чём код?
namespace WindowsFormsGraphs { partial class AddEdgeForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> protected override void Dispose(bool disposing) { if (disposing && (components != null)) { components.Dispose(); } base.Dispose(disposing); } #region Windows Form Designer generated code /// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel(); this.label3 = new System.Windows.Forms.Label(); this.textBoxFrom = new System.Windows.Forms.TextBox(); this.label1 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.textBoxTo = new System.Windows.Forms.TextBox(); this.numericUpDownWeight = new System.Windows.Forms.NumericUpDown(); this.tableLayoutPanel3 = new System.Windows.Forms.TableLayoutPanel(); this.buttonUndirected = new System.Windows.Forms.RadioButton(); this.buttonDirected = new System.Windows.Forms.RadioButton(); this.tableLayoutPanel4 = new System.Windows.Forms.TableLayoutPanel(); this.buttonSubmit = new System.Windows.Forms.Button(); this.buttonCancel = new System.Windows.Forms.Button(); this.tableLayoutPanel1.SuspendLayout(); this.tableLayoutPanel2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.numericUpDownWeight)).BeginInit(); this.tableLayoutPanel3.SuspendLayout(); this.tableLayoutPanel4.SuspendLayout(); this.SuspendLayout(); // // tableLayoutPanel1 // this.tableLayoutPanel1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); this.tableLayoutPanel1.ColumnCount = 1; this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.tableLayoutPanel1.Controls.Add(this.tableLayoutPanel2, 0, 1); this.tableLayoutPanel1.Controls.Add(this.tableLayoutPanel3, 0, 0); this.tableLayoutPanel1.Controls.Add(this.tableLayoutPanel4, 0, 2); this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill; this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0); this.tableLayoutPanel1.Name = "tableLayoutPanel1"; this.tableLayoutPanel1.RowCount = 3; this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 20F)); this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 60F)); this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 20F)); this.tableLayoutPanel1.Size = new System.Drawing.Size(392, 303); this.tableLayoutPanel1.TabIndex = 0; // // tableLayoutPanel2 // this.tableLayoutPanel2.ColumnCount = 2; this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 40F)); this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 60F)); this.tableLayoutPanel2.Controls.Add(this.label3, 0, 2); this.tableLayoutPanel2.Controls.Add(this.textBoxFrom, 1, 0); this.tableLayoutPanel2.Controls.Add(this.label1, 0, 0); this.tableLayoutPanel2.Controls.Add(this.label2, 0, 1); this.tableLayoutPanel2.Controls.Add(this.textBoxTo, 1, 1); this.tableLayoutPanel2.Controls.Add(this.numericUpDownWeight, 1, 2); this.tableLayoutPanel2.Dock = System.Windows.Forms.DockStyle.Fill; this.tableLayoutPanel2.Location = new System.Drawing.Point(3, 63); this.tableLayoutPanel2.Name = "tableLayoutPanel2"; this.tableLayoutPanel2.RowCount = 3; this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 33.33333F)); this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 33.33333F)); this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 33.33333F)); this.tableLayoutPanel2.Size = new System.Drawing.Size(386, 175); this.tableLayoutPanel2.TabIndex = 0; // // label3 // this.label3.AutoSize = true; this.label3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); this.label3.Dock = System.Windows.Forms.DockStyle.Top; this.label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.label3.ForeColor = System.Drawing.Color.White; this.label3.Location = new System.Drawing.Point(3, 116); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(148, 18); this.label3.TabIndex = 4; this.label3.Text = "Вес ребра"; this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // textBoxFrom // this.textBoxFrom.Dock = System.Windows.Forms.DockStyle.Fill; this.textBoxFrom.Location = new System.Drawing.Point(157, 3); this.textBoxFrom.Name = "textBoxFrom"; this.textBoxFrom.Size = new System.Drawing.Size(226, 22); this.textBoxFrom.TabIndex = 0; // // label1 // this.label1.AutoSize = true; this.label1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); this.label1.Dock = System.Windows.Forms.DockStyle.Top; this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.label1.ForeColor = System.Drawing.Color.White; this.label1.Location = new System.Drawing.Point(3, 0); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(148, 18); this.label1.TabIndex = 1; this.label1.Text = "От вершины"; this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // label2 // this.label2.AutoSize = true; this.label2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); this.label2.Dock = System.Windows.Forms.DockStyle.Top; this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.label2.ForeColor = System.Drawing.Color.White; this.label2.Location = new System.Drawing.Point(3, 58); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(148, 18); this.label2.TabIndex = 2; this.label2.Text = "К вершине"; this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // textBoxTo // this.textBoxTo.Dock = System.Windows.Forms.DockStyle.Top; this.textBoxTo.Location = new System.Drawing.Point(157, 61); this.textBoxTo.Name = "textBoxTo"; this.textBoxTo.Size = new System.Drawing.Size(226, 22); this.textBoxTo.TabIndex = 3; // // numericUpDownWeight // this.numericUpDownWeight.Dock = System.Windows.Forms.DockStyle.Fill; this.numericUpDownWeight.Location = new System.Drawing.Point(157, 119); this.numericUpDownWeight.Minimum = new decimal(new int[] { 100, 0, 0, -2147483648}); this.numericUpDownWeight.Name = "numericUpDownWeight"; this.numericUpDownWeight.Size = new System.Drawing.Size(226, 22); this.numericUpDownWeight.TabIndex = 5; this.numericUpDownWeight.Value = new decimal(new int[] { 1, 0, 0, 0}); // // tableLayoutPanel3 // this.tableLayoutPanel3.ColumnCount = 2; this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F)); this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F)); this.tableLayoutPanel3.Controls.Add(this.buttonUndirected, 0, 0); this.tableLayoutPanel3.Controls.Add(this.buttonDirected, 1, 0); this.tableLayoutPanel3.Dock = System.Windows.Forms.DockStyle.Fill; this.tableLayoutPanel3.Location = new System.Drawing.Point(3, 3); this.tableLayoutPanel3.Name = "tableLayoutPanel3"; this.tableLayoutPanel3.RowCount = 1; this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.tableLayoutPanel3.Size = new System.Drawing.Size(386, 54); this.tableLayoutPanel3.TabIndex = 1; // // buttonUndirected // this.buttonUndirected.AutoSize = true; this.buttonUndirected.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); this.buttonUndirected.Checked = true; this.buttonUndirected.Dock = System.Windows.Forms.DockStyle.Fill; this.buttonUndirected.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.buttonUndirected.ForeColor = System.Drawing.Color.White; this.buttonUndirected.Location = new System.Drawing.Point(3, 3); this.buttonUndirected.Name = "buttonUndirected"; this.buttonUndirected.Size = new System.Drawing.Size(187, 48); this.buttonUndirected.TabIndex = 0; this.buttonUndirected.TabStop = true; this.buttonUndirected.Text = "Ненаправленный"; this.buttonUndirected.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; this.buttonUndirected.UseVisualStyleBackColor = false; // // buttonDirected // this.buttonDirected.AutoSize = true; this.buttonDirected.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); this.buttonDirected.Dock = System.Windows.Forms.DockStyle.Fill; this.buttonDirected.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.buttonDirected.ForeColor = System.Drawing.Color.White; this.buttonDirected.Location = new System.Drawing.Point(196, 3); this.buttonDirected.Name = "buttonDirected"; this.buttonDirected.Size = new System.Drawing.Size(187, 48); this.buttonDirected.TabIndex = 1; this.buttonDirected.Text = "Направленный"; this.buttonDirected.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; this.buttonDirected.UseVisualStyleBackColor = false; // // tableLayoutPanel4 // this.tableLayoutPanel4.ColumnCount = 2; this.tableLayoutPanel4.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F)); this.tableLayoutPanel4.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F)); this.tableLayoutPanel4.Controls.Add(this.buttonSubmit, 0, 0); this.tableLayoutPanel4.Controls.Add(this.buttonCancel, 1, 0); this.tableLayoutPanel4.Dock = System.Windows.Forms.DockStyle.Fill; this.tableLayoutPanel4.Location = new System.Drawing.Point(3, 244); this.tableLayoutPanel4.Name = "tableLayoutPanel4"; this.tableLayoutPanel4.RowCount = 1; this.tableLayoutPanel4.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.tableLayoutPanel4.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 55F)); this.tableLayoutPanel4.Size = new System.Drawing.Size(386, 56); this.tableLayoutPanel4.TabIndex = 2; // // buttonSubmit // this.buttonSubmit.Dock = System.Windows.Forms.DockStyle.Right; this.buttonSubmit.Font = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.buttonSubmit.Location = new System.Drawing.Point(80, 3); this.buttonSubmit.Name = "buttonSubmit"; this.buttonSubmit.Size = new System.Drawing.Size(110, 50); this.buttonSubmit.TabIndex = 0; this.buttonSubmit.Text = "Создать"; this.buttonSubmit.UseVisualStyleBackColor = true; this.buttonSubmit.Click += new System.EventHandler(this.buttonSubmit_Click); // // buttonCancel // this.buttonCancel.Dock = System.Windows.Forms.DockStyle.Left; this.buttonCancel.Font = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.buttonCancel.Location = new System.Drawing.Point(196, 3); this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.Size = new System.Drawing.Size(110, 50); this.buttonCancel.TabIndex = 1; this.buttonCancel.Text = "Отмена"; this.buttonCancel.UseVisualStyleBackColor = true; this.buttonCancel.Click += new System.EventHandler(this.buttonCancel_Click); // // AddEdgeForm // this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(392, 303); this.Controls.Add(this.tableLayoutPanel1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow; this.Name = "AddEdgeForm"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Добавить ребро"; this.tableLayoutPanel1.ResumeLayout(false); this.tableLayoutPanel2.ResumeLayout(false); this.tableLayoutPanel2.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.numericUpDownWeight)).EndInit(); this.tableLayoutPanel3.ResumeLayout(false); this.tableLayoutPanel3.PerformLayout(); this.tableLayoutPanel4.ResumeLayout(false); this.ResumeLayout(false); } #endregion private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1; private System.Windows.Forms.TableLayoutPanel tableLayoutPanel3; private System.Windows.Forms.RadioButton buttonUndirected; private System.Windows.Forms.RadioButton buttonDirected; private System.Windows.Forms.TableLayoutPanel tableLayoutPanel4; private System.Windows.Forms.Button buttonSubmit; private System.Windows.Forms.Button buttonCancel; private System.Windows.Forms.TableLayoutPanel tableLayoutPanel2; private System.Windows.Forms.Label label3; private System.Windows.Forms.TextBox textBoxFrom; private System.Windows.Forms.Label label1; private System.Windows.Forms.Label label2; private System.Windows.Forms.TextBox textBoxTo; private System.Windows.Forms.NumericUpDown numericUpDownWeight; } }