Esempio n. 1
0
        /// <summary>
        /// Load do Form principal da aplicação
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void FormMain_Load(object sender, EventArgs e)
        {
            dataSumula = new DataSumula();
            bsPartidas = new BindingSource();
            bsPartidas = new BindingSource();
            bsGols = new BindingSource();
            bsCartoes = new BindingSource();
            bsSubstituicoes = new BindingSource();
            bsObs = new BindingSource();

            UpdateGridPrincipal();
            UpdateGrids(0);
            UpdateGols(0);
        }
Esempio n. 2
0
 private void abrirToolStripMenuItem_Click(object sender, EventArgs e)
 {
     OpenFileDialog op = new OpenFileDialog();
     if (op.ShowDialog() == System.Windows.Forms.DialogResult.OK)
     {
         dataSumula = new DataSumula(op.FileName);
         UpdateGridPrincipal();
         UpdateGrids(0);
     }
 }