WolfmanTR_ Posted June 5, 2013 Share Posted June 5, 2013 arkadaşlar combobox ta 2 tane veri var (Bay/Bayan) eğer Bay seçiliyse en basitinde MessageBox.Show(comboboxtan seçileni yazdır); yapmasını istiyorum. Bunu nasıl gerçekleştirebilirim ? Quote Link to comment Share on other sites More sharing options...
Editor pairs Posted June 5, 2013 Editor Share Posted June 5, 2013 Combobox.GetSelectedIndex yada GetSelectedItem,GetSelectedText,GetSelectedValue bunlar işini görecektir tabiki ayrı ayrı özellikleri var hangisi hoşuna giderse. Quote Link to comment Share on other sites More sharing options...
S_EroL Posted June 5, 2013 Share Posted June 5, 2013 private void cmbxbay_SelectedIndexChanged(object sender, EventArgs e) { cmbxbay.SelectedIndex = cmbxbayan.SelectedIndex; } bu şekilde yapabilirsin. seçtiğin index numarasına göre veriler gelir. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.