private void frmQuery_FormClosed(object sender, FormClosedEventArgs e) { // Salva Config User CfgUser.FieldIndex = cmbCampo.SelectedIndex; CfgUser.Filter = txtCriterio.Text; CfgUser.Save(); }
private void frmQuery_Load(object sender, EventArgs e) { // Carrega Config User if (CfgUser.Open()) { SelecionaCampo(CfgUser.FieldIndex); txtCriterio.Text = CfgUser.Filter; txtCriterio.Select(); } }