public Main() { InitializeComponent(); dataGridView.DefaultCellStyle.SelectionBackColor = Color.Green; dataGridView.DefaultCellStyle.SelectionForeColor = Color.White; dataGridView.DefaultCellStyle.Font = new Font("Tahoma", 12); this.Margin = new Padding(5, 1, 5, 5); this.FormClosing += CloseProcess.FormClose; this.wordApp = new WordManipulation(); this.userData = new List <UserStruct>(); this.searchUserData = new List <UserStruct>(); this.typeForm = 0; panelSelectByBal.Hide(); }