Extended Posted June 4, 2016 Share Posted June 4, 2016 (edited) İyi günler, kısa bir sorum olacaktı. Daha öncesinde; Liste.Groups.Add("Genel"); Liste.Groups.Add("adasd"); Liste.Groups.Add("cvbc") bu şekilde (isimler öylesine) eklenmiş kategoriler var. Bir item eklicem ve ekleme yaparken bunun index iyle eklemem gerek ama index belli değil ismini verip ekleme yapamıyor muyum? satir.Group = Liste.Groups[0] ile oluyor ama index ini bilmiyorum Liste.Groups["Genel"] yaptım Genel e eklemedi başka yolu var mı bunun Edited June 4, 2016 by Extended Quote Link to comment Share on other sites More sharing options...
Editor pairs Posted June 4, 2016 Editor Share Posted June 4, 2016 var g = ListView1.Groups["Genel"]; var item = new ListViewItem{Text = "1. Item" , Group = g}; Bu şekilde denedinmi. 1 Quote Link to comment Share on other sites More sharing options...
Extended Posted June 4, 2016 Author Share Posted June 4, 2016 (edited) Hocam veritabanı kullanıyorum ve sanırım çözdüm olayı kodlamada mantık hatam var teşekkür ederim yardım için Bir ufak soru daha sormak istiyorum. Bir form açtırdığımızda Dispose ile kapatmak ve close ile kapatmak arasında ne fark var? Edited June 4, 2016 by Extended Quote Link to comment Share on other sites More sharing options...
Editor pairs Posted June 4, 2016 Editor Share Posted June 4, 2016 Close dediğin zaman sen o formu tekrar açabilirsin düşüncesiyle yaklaşıyor.Bellekten silmiyor. Ama dispose ile artık işim yok tamamdır bellektende temizleyin demektir. 2 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.