예제 #1
0
        public Form1()
        {
            InitializeComponent();
            searchsAlgorithms = new SearchsAlgorithms();
            DataGridViewRow dataRow = new DataGridViewRow();

            dataRow.ReadOnly = false;
            dataGridView1.Rows.Add(dataRow);
            dataGridView1[0, 0].Value = "0 проход";

            DataGridViewRow dataRownclude = new DataGridViewRow();

            dataRownclude.ReadOnly = false;
            dataGridDirectInclude.Rows.Add(dataRownclude);
            dataGridDirectInclude[0, 0].Value = "0 проход";

            DataGridViewRow directChange = new DataGridViewRow();

            directChange.ReadOnly = false;
            dataGridViewDirectChange.Rows.Add(directChange);
            dataGridViewDirectChange[0, 0].Value = "0 проход";

            DataGridViewRow dataRowShell = new DataGridViewRow();

            SortingByShell.Rows.Add(dataRowShell);
            SortingByShell[0, 0].Value = "0 проход";

            DataGridViewRow dataRowLine = new DataGridViewRow();

            dataGridViewLine.Rows.Add(dataRowLine);
            dataGridViewLine[0, 0].Value = "0 проход";
        }
예제 #2
0
        public Form1()
        {
            InitializeComponent();
            searchsAlgorithms = new SearchsAlgorithms();
            DataGridViewRow dataRow = new DataGridViewRow();

            dataRow.ReadOnly = false;
            dataGridView1.Rows.Add(dataRow);
            dataGridView1[0, 0].Value = "0 проход";

            DataGridViewRow dataRownclude = new DataGridViewRow();

            dataRownclude.ReadOnly = false;
            dataGridDirectInclude.Rows.Add(dataRownclude);
            dataGridDirectInclude[0, 0].Value = "0 проход";
        }