private void DlgTechnicalFouls_Load(object sender, EventArgs e) { try { this.Text = caption; clTF = new CTehnicFouls(connect); clGame = new CGame(connect); init_combo_team(); init_combo_referee(); if (mode == 1) { set_data(); } else { int id = clTF.GetFreeId(idseason); textBoxId.Text = id.ToString(); radioButtonPlayer.Checked = true; } // init_combo_part(); } catch (Exception ex) { MessageBox.Show(ex.Message, ex.Source); } }
private void TableTehnicalFouls_Load(object sender, EventArgs e) { try { clTF = new CTehnicFouls(connect); this.WindowState = FormWindowState.Maximized; gpos = 0; init_list(); } catch (Exception ex) { MessageBox.Show(ex.Message, ex.Source); } }