예제 #1
0
 private async void FillRandom_Click(object sender, EventArgs e)
 {
     ClearAll();
     for (int rowNum = 0; rowNum < 10; rowNum++)
     {
         InputDataGridView.Rows.Add(new DataGridViewRow());
         for (int i = 0; i < 1; i++)
         {
             InputDataGridView.Rows[rowNum].Cells[i].Value = rowNum + RandomText.NextText("" + DateTime.Now.Ticks + DateTime.Now.Millisecond);
             await Task.Delay(1);
         }
     }
 }
예제 #2
0
 public Form1()
 {
     InitializeComponent();
     RandomText.NextText("12321");
 }