private void ListToTablo_Load(object sender, EventArgs e) { clParamApp = new CParamApp(); filename = "табло.txt"; fullpath = Path.Combine(clParamApp.s_Path.pathreport, filename); }
private void Symbol5_Load(object sender, EventArgs e) { clParamApp = new CParamApp(); checkBoxFlaf.Checked = false; init_combo_division(); lst_idgroup = new List <int>(); }
private void ImportStats_Load(object sender, EventArgs e) { try { clParam = new CParamApp(); clFileInfo = new CFileInfo(connect); clRecords = new CRecordsPerson(connect); } catch (Exception ex) { MessageBox.Show(ex.Message, ex.Source); } }
private void HistoryPlayer_Load(object sender, EventArgs e) { try { clParam = new CParamApp(); set_data(); init_data_in(); init_data_stats(); } catch (Exception ex) { MessageBox.Show(ex.Message, ex.Source); } }
public DlgPlayers(SqlConnection cn, ushort md) { InitializeComponent(); connect = cn; mode = md; clPlayer = new CPlayer(connect); clParam = new CParamApp(); gid = clPlayer.GetFreeId(); caption = "Новый игрок"; }
public DlgReferee(SqlConnection cn, ushort md) { InitializeComponent(); connect = cn; mode = md; clReferee = new CReferee(connect); clParam = new CParamApp(); gid = clReferee.GetFreeId(); caption = "Ќовый судь¤"; }
public DlgCoach(SqlConnection cn, ushort md) { InitializeComponent(); connect = cn; mode = md; clCoach = new CCoach(connect); clParam = new CParamApp(); gid = clCoach.GetFreeId(); caption = "Ќовый тренер"; }
public DlgParticipant(SqlConnection cn, ushort md) { InitializeComponent(); connect = cn; mode = md; clParticipant = new CParticipant(connect); clParam = new CParamApp(); gid = clParticipant.GetFreeId(); caption = "Ќовый участник"; }
public DlgReferee(SqlConnection cn, ushort md, STReferee st) { InitializeComponent(); connect = cn; mode = md; gstReferee = st; gid = gstReferee.idref; clReferee = new CReferee(connect); clParam = new CParamApp(); caption = "–едактировать данные судьи"; }
public DlgParticipant(SqlConnection cn, ushort md, STParticipant st) { InitializeComponent(); connect = cn; mode = md; gstParticipant = st; gid = gstParticipant.idpart; clParticipant = new CParticipant(connect); clParam = new CParamApp(); caption = "–едактировать данные участника"; }
public DlgCoach(SqlConnection cn, ushort md, STCoach st) { InitializeComponent(); connect = cn; mode = md; gstCoach = st; gid = gstCoach.idcoach; clCoach = new CCoach(connect); clParam = new CParamApp(); caption = "–едактировать данные тренера"; }
public DlgPlayers(SqlConnection cn, ushort md, STPlayer st) { InitializeComponent(); connect = cn; mode = md; gstPlayer = st; gid = gstPlayer.idplayer; clPlayer = new CPlayer(connect); clParam = new CParamApp(); caption = "Редактировать данные игрока"; }
private void DlgBookOut_Load(object sender, EventArgs e) { try { clParamApp = new CParamApp(); pathbook = Path.Combine(clParamApp.s_Path.pathreport, "Book"); pathgame = Path.Combine(clParamApp.s_Path.pathreport, "Pre"); DirectoryInfo dir = new DirectoryInfo(pathbook); DirectoryInfo dirgame = new DirectoryInfo(pathgame); dirgame.Create(); dir.Create(); checkBoxBook.Checked = true; checkBoxGames.Checked = true; textBoxGamesBegin.Focus(); } catch (Exception ex) { MessageBox.Show(ex.Message, ex.Source); } }
private void DlgParticipant_Load(object sender, EventArgs e) { string text = null; try { clWork = new CParticipant(connect); clParam = new CParamApp(); clPost = new CPostment(connect); if (oldData != null) { mode = 1; } else { mode = 0; } if (mode == 0) { text = "Ќовый участник"; int n = clWork.GetFreeId(); textBoxId.Text = n.ToString(); textBoxFamily.Focus(); } if (mode == 1) { text = "–едактировать данные участника"; set_data((STParticipant)oldData); } this.Text = text; init_combo_country(); init_list_post(); } catch (Exception ex) { MessageBox.Show(ex.Message, ex.Source); } }
private void Symbol5_Load(object sender, EventArgs e) { clParamApp = new CParamApp(); checkBoxFlaf.Checked = false; }
public Mode() { InitializeComponent(); mode = 0; clParamApp = new CParamApp(); }
public Connect() { InitializeComponent(); clParamApp = new CParamApp(); }