private void FrmTetris_Paint(object sender, PaintEventArgs e) { // Get a reference to the graphics object Graphics g = e.Graphics; // Draw the grid tb.DrawGrid(g); }