private void dataGridView1_CellClick(object sender, DataGridViewCellEventArgs e)
        {
            x = e.RowIndex;
            y = e.ColumnIndex;

            DLbh   bbhh = DLbh.getIns();
            string ssss = dataGridView1.Rows[x].Cells[0].Value.ToString();

            bbhh.Num = int.Parse(ssss);
        }
Exemple #2
0
 public static DLbh getIns()
 {
     if (c == null)
     {
         c = new DLbh();
         return(c);
     }
     else
     {
         return(c);
     }
 }