Exemple #1
0
        public ProfileForm()
        {
            InitializeComponent();
            csv = new CSV();

            dataGridView1.DefaultCellStyle.Alignment = DataGridViewContentAlignment.MiddleCenter;
            RowCount = 1;
            dataGridView1.RowCount = RowCount;
            dataGridView1.Rows[RowCount - 1].Cells[0].Value = RowCount;
            cCell = new DataGridViewComboBoxCell();
            cCell.DisplayStyle = DataGridViewComboBoxDisplayStyle.ComboBox;
            cCell.Items.Add("SQUARE");
            cCell.Items.Add("RAMP");
            dataGridView1.Rows[RowCount - 1].Cells[4] = cCell;
        }
Exemple #2
0
 public LogForm()
 {
     InitializeComponent();
     csv = new CSV();
 }