private void button_print_Click(object sender, EventArgs e)
 {
     PrintForm printForm = new PrintForm(new ModelHandler<GateRecord>().FillModel(row));
     printForm.ShowDialog();
 }
        private void button_print_Click(object sender, EventArgs e)
        {
            PrintForm printForm = new PrintForm(new ModelHandler <GateRecord>().FillModel(row));

            printForm.ShowDialog();
        }