private void ts_actualizacoes_fichaAtletas_listarTodos_Click(object sender, EventArgs e) { PrototipoFuncionalClubeDeJudoDragao.Properties.Settings.Default.TokenFichas = "atletas"; ListagemAtletas listagemAtletas = new ListagemAtletas(); listagemAtletas.Show(); this.Hide(); }
private void bt_ok_Click(object sender, EventArgs e) { var radioButtons = gb_opcoes.Controls.OfType<RadioButton>(); foreach (RadioButton rb in radioButtons) { if (rb.Checked) { PrototipoFuncionalClubeDeJudoDragao.Properties.Settings.Default.OpcaoPesquisa = rb.Name; Console.WriteLine(rb.Name); } } ListagemAtletas listagemAtletas = new ListagemAtletas(); listagemAtletas.Show(); this.Hide(); }