lamont Posted August 14, 2015 Share Posted August 14, 2015 Arkadaşlar DataGridView Form Açıldıgında Satır Seçili Geliyor Sadece Tıkaldıgımda Satırı Seçsin İstiyorum Aşagıdkai Kodu Denedim Olmadı Yardımcı Olabilirmsiniz... dataGridView1.CurrentCell = null; Quote Link to comment Share on other sites More sharing options...
Editor pairs Posted August 14, 2015 Editor Share Posted August 14, 2015 http://stackoverflow.com/questions/11330147/how-to-disable-the-ability-to-select-in-a-datagridview Quote Link to comment Share on other sites More sharing options...
lamont Posted August 14, 2015 Author Share Posted August 14, 2015 Pairs Sütuna Tıkladıgında Seçili Olmuyor Aşagıdaki Şekilde Ama İşlem Yapıyor Seçili Renk Gelmesi Lazım private void dataGridView1_SelectionChanged(object sender, EventArgs e) { dataGridView1.ClearSelection(); } Quote Link to comment Share on other sites More sharing options...
Editor pairs Posted August 15, 2015 Editor Share Posted August 15, 2015 O attıgım linkte selection changed eventına yazmamışlarki. Quote Link to comment Share on other sites More sharing options...
lamont Posted August 15, 2015 Author Share Posted August 15, 2015 Pairs İşte örnek private void dgvSomeDataGridView_SelectionChanged(Object sender, EventArgs e) { dgvSomeDataGridView.ClearSelection() } Quote Link to comment Share on other sites More sharing options...
lamont Posted August 15, 2015 Author Share Posted August 15, 2015 Pairs Bir Çözüm Yokmu Bunun İçin ? Quote Link to comment Share on other sites More sharing options...
Editor pairs Posted August 15, 2015 Editor Share Posted August 15, 2015 selection olayındaki kodlarını double click de yaz. Quote Link to comment Share on other sites More sharing options...
lamont Posted August 16, 2015 Author Share Posted August 16, 2015 (edited) Pairs Olmuyor İnterntte Bir Çok Çözüme Baktım Ama İşe Yaramıyor ? Edited August 16, 2015 by lamont Quote Link to comment Share on other sites More sharing options...
Bitmap Posted August 16, 2015 Share Posted August 16, 2015 Form_Load'a ClearSelection ekle, ardından click event'ına istediğini yaptır. Quote Link to comment Share on other sites More sharing options...
lamont Posted August 16, 2015 Author Share Posted August 16, 2015 Form Load Olayına Denedim de Bir İşe Yaramıyor Nette Bazı Örnekler Buldum Uyguladım Ama Malesef Olumlu Bir Sonuç Alamadım Araştırmaya Devam Ediyorum Quote Link to comment Share on other sites More sharing options...
Editor pairs Posted August 16, 2015 Editor Share Posted August 16, 2015 lamont selection kısmında yapacaklarını double click te yaptırırsan neden sorun olsun . Quote Link to comment Share on other sites More sharing options...
lamont Posted August 16, 2015 Author Share Posted August 16, 2015 Yaptık olmadı Sayın: Pairs Bey Boşuna Olmadı Demiyoruz Quote Link to comment Share on other sites More sharing options...
Editor pairs Posted August 16, 2015 Editor Share Posted August 16, 2015 Olmaması imkansız yaptığında bi yanlışlık var. Double Click ayrı bir event selection ayrı bir event selection dan dolayı double click tetiklenmez. Quote Link to comment Share on other sites More sharing options...
lamont Posted August 16, 2015 Author Share Posted August 16, 2015 Mantıgını Anlayamadım Ben Açıldıgında ilk Sütun Seçili Geliyor Gelmemesini İstiyorum 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.