private void RefreshGrid(DataTable table)
        {
            filterTable           = Filter.SearchByValue(table, tsCombo, tsTextbox);
            dgvMatches.DataSource = filterTable;

            HideTeam();
        }
Exemplo n.º 2
0
 private void RefreshGrid(DataTable table)
 {
     dgvResult.DataSource = null;
     dgvResult.DataSource = Filter.SearchByValue(table, toolStripcmbSearch, toolStriptxtSearch);
     FormatGrid();
     if (Tournament.TournamentTypeE == TournamentTypeE.Knockout)
     {
         if (dgvResult.Columns.Contains("Result"))
         {
             dgvResult.Columns["Result"].Visible      = false;
             dgvResult.Columns["WhiteUserId"].Visible = false;
             dgvResult.Columns["BlackUserId"].Visible = false;
         }
     }
 }
Exemplo n.º 3
0
 private void RefreshGrid(DataTable table)
 {
     dgvResult.DataSource = null;
     dgvResult.DataSource = Filter.SearchByValue(table, toolStripcmbSearch, toolStriptxtSearch);
     FormatGrid();
 }
Exemplo n.º 4
0
 private void RefreshGrid(DataTable table)
 {
     dgvTeam.DataSource = Filter.SearchByValue(table, toolStripComboBox1, toolStripTextBox1);
 }
Exemplo n.º 5
0
 private void RefreshTeamGrid(DataTable table)
 {
     dgvMatches.DataSource = Filter.SearchByValue(table, tsCombo, tsTextbox);
 }
Exemplo n.º 6
0
 private void RefreshGrid(DataTable table)
 {
     filterTable = Filter.SearchByValue(table, tscombo, toolStripTextBox1);
     dgvRegisterPlayer.DataSource = filterTable;
 }
Exemplo n.º 7
0
 private void RefreshGrid(DataTable table)
 {
     filterTable = Filter.SearchByValue(table, tscombo, tsTextbox);
     dgvRegisterTeam.DataSource = filterTable;
 }
Exemplo n.º 8
0
 private void RefreshGrid(DataTable table)
 {
     filterTable          = Filter.SearchByValue(table, tsCombo, tsTextbox);
     dgvWantin.DataSource = filterTable;
 }
Exemplo n.º 9
0
 private void RefreshGrid(DataTable table)
 {
     dataGridView1.DataSource = Filter.SearchByValue(table, toolStripComboBox1, toolStripTextBox1);
     HideColumn(table, "TeamName");
 }
Exemplo n.º 10
0
 private void RefreshGrid(DataTable table)
 {
     dgvTournamentList.DataSource = Filter.SearchByValue(table, toolStripcmbSearch, toolStriptxtSearch);
 }
Exemplo n.º 11
0
 private void RefreshPlayerGrid(DataTable tablePlayer)
 {
     filterPlayerTable    = FilterPlayer.SearchByValue(tablePlayer, toolStripComboBox1, toolStripTextBox1);
     dgvPlayer.DataSource = filterPlayerTable;
 }
Exemplo n.º 12
0
 private void RefreshTeamGrid(DataTable tableTeam)
 {
     filterTeamTable    = FilterTeam.SearchByValue(tableTeam, tscombo, tsTextbox);
     dgvTeam.DataSource = filterTeamTable;
 }