SoundMax Posted May 4, 2010 Share Posted May 4, 2010 merhaba benim henüz başlayıpta tamamlamaya çalıştığım autoplay imde istediğim bazı bölümlerden hata oluşuyor. 1- alt bölümü win 7 görünümlü yapmak istedim sağ alt köşeye saat ve tarih ekliycektim fakat saat oldu tarih olmadı nedenide denemelerime göre ayarlar butonundan. çünki ayarlar butonunu pasif yaptımmı tarih calısıyor hata almıyorum ama ayarları aktif edip tarihi pasif edersem ayarlar calısıyor sadice ikisinden biri olmuyor yani. Resim-1 Resim-2 yardımcı olursanı cok sevinirim arkadaşlar. Link to comment Share on other sites More sharing options...
KintaRo Posted May 4, 2010 Share Posted May 4, 2010 tarih kodlarını sil onun yerine tarihin gorunmesini istediğin yere bir label koy ve sayfanın on show evresine su kodları yaz: Label.SetText("Label1", System.GetDate(DATE_FMT_EUROPE))[/CODE] Link to comment Share on other sites More sharing options...
SoundMax Posted May 4, 2010 Author Share Posted May 4, 2010 cok sagol oldu ayarlar kısmıda problemsiz artık. bu ayarlar kısmına kurulum bitince bilgisayarı kapat kurulum bitince bilgisayarı restart et butonları nasıl ekleyebilrim ? ve mesela 3 checkbox um var xp win7 tümünü seç bırak. tümünü seç bırak butonuna 1 kez tıkladımı tümünü seçiçek tekrar tıkladımı bırakıcak. xp yi seçtimi tümünü seç ve win7 butonları iptal olucak aynı işlem win7 dede olucak bunları nasıl saglayabilirim ? ve projemi apz şeklinde kayıt ederken şu çıkıyor bunda bir oynama yapmalımıyım yoksa önerilen nedir ? Link to comment Share on other sites More sharing options...
KintaRo Posted May 4, 2010 Share Posted May 4, 2010 son sorudan başlayayım, o çıkan pencere seçili klasorler içinde kullanılmayan nesneleri temizlemek istiyormusunuz diyor. Eğer o klasörlerde bir nesne varsa ve projenin hiç bir yerinde kod olarak yada ekleme olarak geçmiyosa otomatik temizliyor. Diğer soruların içinde bir örnek hazırlayayım.. Link to comment Share on other sites More sharing options...
KintaRo Posted May 4, 2010 Share Posted May 4, 2010 Projende CheckBox1, CheckBox2, CheckBox3, CheckBox4, CheckBox5 şeklinde 5 adet checbox oldugunu varsayıyorum. Bunların 1. ve 3. sü WinXP programları olsun, 2,4 ve 5 nolu checkboxlarda Win7 programları olsun. WinXP checboxı: bak = CheckBox.GetChecked(this) -- bu CB'nin seçili olup olmadigina bak if bak then -- eğer seçili ise CheckBox.SetChecked("CheckBox1", true) -- aktif CheckBox.SetChecked("CheckBox3", true) -- aktif CheckBox.SetChecked("CheckBox2", false) -- pasif CheckBox.SetChecked("CheckBox4", false) -- pasif CheckBox.SetChecked("CheckBox5", false) -- pasif CheckBox.SetEnabled("tumunu", false) -- tumunu sec butonunu pasif yap CheckBox.SetEnabled("win7", false) -- win7 buttonunu pasif yap else -- seçili değilse CheckBox.SetChecked("CheckBox1", false) -- pasif CheckBox.SetChecked("CheckBox3", false) -- pasif CheckBox.SetEnabled("tumunu", true) -- buttonu aktif yap CheckBox.SetEnabled("win7", true) -- butonu aktif yap end[/CODE] Win7 Checkboxı: [CODE]bak = CheckBox.GetChecked(this) if bak then CheckBox.SetChecked("CheckBox2", true) CheckBox.SetChecked("CheckBox4", true) CheckBox.SetChecked("CheckBox5", true) CheckBox.SetChecked("CheckBox1", false) CheckBox.SetChecked("CheckBox3", false) CheckBox.SetEnabled("tumunu", false) CheckBox.SetEnabled("winxp", false) else CheckBox.SetChecked("CheckBox2", false) CheckBox.SetChecked("CheckBox4", false) CheckBox.SetChecked("CheckBox5", false) CheckBox.SetEnabled("tumunu", true) CheckBox.SetEnabled("winxp", true) end[/CODE] Tümünü Seç bırak: [CODE]bak = CheckBox.GetChecked(this) if bak then CheckBox.SetChecked("CheckBox1", true) CheckBox.SetChecked("CheckBox2", true) CheckBox.SetChecked("CheckBox3", true) CheckBox.SetChecked("CheckBox4", true) CheckBox.SetChecked("CheckBox5", true) CheckBox.SetEnabled("winxp", false) CheckBox.SetEnabled("win7", false) else CheckBox.SetChecked("CheckBox1", false) CheckBox.SetChecked("CheckBox2", false) CheckBox.SetChecked("CheckBox3", false) CheckBox.SetChecked("CheckBox4", false) CheckBox.SetChecked("CheckBox5", false) CheckBox.SetEnabled("winxp", true) CheckBox.SetEnabled("win7", true) end[/CODE] Örnek Proje: [CODE]http://www.tamotomatik.org/dosya/xp7checkbox.zip[/CODE] Link to comment Share on other sites More sharing options...
SoundMax Posted May 4, 2010 Author Share Posted May 4, 2010 son sorudan başlayayım, o çıkan pencere seçili klasorler içinde kullanılmayan nesneleri temizlemek istiyormusunuz diyor. Eğer o klasörlerde bir nesne varsa ve projenin hiç bir yerinde kod olarak yada ekleme olarak geçmiyosa otomatik temizliyor. Diğer soruların içinde bir örnek hazırlayayım.. anladıgım kadarı ile bu resim şu işe yarıyor. button seçiyoruz sürekli atıyorum ama begenmiyip siliyoruz ama autoplay bunları klasörde depoluyo apz olarak kaydettıgımızdede toplu temizliyor. dogrumu anladım ? docs klasörüde programları ekledigimiz bölüm sanırım Link to comment Share on other sites More sharing options...
KintaRo Posted May 4, 2010 Share Posted May 4, 2010 Evet aynen o şekilde. Docs klasörü çok amaçlı kullanıldığı için orayı ellememek lazım. Ama diğer klasorler çöplük olmasın, dosya boyutu büyümesin diye temizliyor. Link to comment Share on other sites More sharing options...
SoundMax Posted May 4, 2010 Author Share Posted May 4, 2010 Projende CheckBox1, CheckBox2, CheckBox3, CheckBox4, CheckBox5 şeklinde 5 adet checbox oldugunu varsayıyorum. Bunların 1. ve 3. sü WinXP programları olsun, 2,4 ve 5 nolu checkboxlarda Win7 programları olsun. WinXP checboxı: bak = CheckBox.GetChecked(this) if bak then CheckBox.SetChecked("CheckBox1", true) CheckBox.SetChecked("CheckBox3", true) else CheckBox.SetChecked("CheckBox1", false) CheckBox.SetChecked("CheckBox3", false) end[/CODE] Win7 Checkboxı: [CODE]bak = CheckBox.GetChecked(this) if bak then CheckBox.SetChecked("CheckBox2", true) CheckBox.SetChecked("CheckBox4", true) CheckBox.SetChecked("CheckBox5", true) else CheckBox.SetChecked("CheckBox2", false) CheckBox.SetChecked("CheckBox4", false) CheckBox.SetChecked("CheckBox5", false) end[/CODE] Tümünü Seç bırak: [CODE]bak = CheckBox.GetChecked(this) if bak then CheckBox.SetChecked("CheckBox1", true) CheckBox.SetChecked("CheckBox2", true) CheckBox.SetChecked("CheckBox3", true) CheckBox.SetChecked("CheckBox4", true) CheckBox.SetChecked("CheckBox5", true) else CheckBox.SetChecked("CheckBox1", false) CheckBox.SetChecked("CheckBox2", false) CheckBox.SetChecked("CheckBox3", false) CheckBox.SetChecked("CheckBox4", false) CheckBox.SetChecked("CheckBox5", false) end[/CODE] Örnek Proje: [CODE]http://www.tamotomatik.org/dosya/xp7checkbox.zip[/CODE] buradakini denedim fakat istediğim tam anlamıyla şu. xp checkboxı seçilince win7 ve tumunu seç bırak iptal olucak. win7 seçilince xp ve tümünü seç bırak iptal olucak bunu nasıl saglayabilirim Link to comment Share on other sites More sharing options...
egemynet Posted May 4, 2010 Share Posted May 4, 2010 win7 checkboxına xp de secili olanları eklersen win7 butonuna tıklayınca secili ise onları kapatacaktır. mantık bu yani. true secer false kapatır. yani Win7 butonunu bu sekılde duzenle calısacaktır bak = CheckBox.GetChecked(this) if bak then CheckBox.SetChecked("CheckBox1", false) CheckBox.SetChecked("CheckBox3", false) CheckBox.SetChecked("CheckBox2", true) CheckBox.SetChecked("CheckBox4", true) CheckBox.SetChecked("CheckBox5", true) else CheckBox.SetChecked("CheckBox2", false) CheckBox.SetChecked("CheckBox4", false) CheckBox.SetChecked("CheckBox5", false) end Link to comment Share on other sites More sharing options...
KintaRo Posted May 4, 2010 Share Posted May 4, 2010 buradakini denedim fakat istediğim tam anlamıyla şu. xp checkboxı seçilince win7 ve tumunu seç bırak iptal olucak. win7 seçilince xp ve tümünü seç bırak iptal olucak bunu nasıl saglayabilirim SoundMax evet o kısmı atlamışım ben. Yukarıda yazdığım kodları ve örneği yeniledim. Bu sefer tam istediğin gibi oldu :-) Link to comment Share on other sites More sharing options...
SoundMax Posted May 4, 2010 Author Share Posted May 4, 2010 valla cok sagolun ya eve gider gitmez kaldigim yerden devam edicem Link to comment Share on other sites More sharing options...
SoundMax Posted May 4, 2010 Author Share Posted May 4, 2010 SoundMax evet o kısmı atlamışım ben. Yukarıda yazdığım kodları ve örneği yeniledim. Bu sefer tam istediğin gibi oldu :-) teşekkürler fakat yine bi aksilik var. kendim yapmaya çalıştım ama olmadı. şimdi bak win7 winxp ve tumunu die bir checkboxum var oke isimlerini böyle yaptım . 5 adette checkbox oluşturdum. checkbox1-2-3-4-5 şeklinde. hersey oke. winxp checkboxuna tıklıyorum xp için ayarlanmış olanlar seçiliyor. ama bu sefer win7 ve tumunu checkboxu tıklanmaz hale geliyor halbuki şöyle istiyorum. winxp yi seçse bile win7 yi de seçilebilecek otomatikmen xp ve tumunu checkboxu pasife düşecek seçilmemiş gibi. win7 seçecek bu sefer xp ve tumunu pasif olacak ama seçilebilecek yinede. ayrıca tumunu seç bırakda xp ve 7 olmasına ragmen seçmiyorum true false ile oynadım fakat yapamadım ayrıca xp checkboxu seçilipte win7 uyumlu bir yazılım extradan olurda seçilirse yanlışlıkla veya bilinçi bir not gösterebilirmiyiz ekranda ? Link to comment Share on other sites More sharing options...
SoundMax Posted May 5, 2010 Author Share Posted May 5, 2010 İnanırmısın hiç birşey anlamadım. Şöyle tane tane anlatırsan halledelim bu işi bak xp checkboxunu secince win7 ve tumunu sec birak secilemiyor halbuki secilmesini istiyorum. xp yi sectimi digerlerinide secebilsin ama win7 yi secti diye xp otomatik iptal olsun bu sekilde. istedigim olay burada : Please register to see this content. ve secilenler kalin yazi oluyor onu nasil sagliyorlar ? ayrıca xp checkboxu seçilipte win7 uyumlu bir yazılım extradan olurda seçilirse yanlışlıkla veya bilinçi bir not gösterebilirmiyiz ekranda ? Link to comment Share on other sites More sharing options...
egemynet Posted May 5, 2010 Share Posted May 5, 2010 bak xp checkboxunu secince win7 ve tumunu sec birak secilemiyor halbuki secilmesini istiyorum. xp yi sectimi digerlerinide secebilsin ama win7 yi secti diye xp otomatik iptal olsun bu sekilde. istedigim olay burada : Please register to see this content. ve secilenler kalin yazi oluyor onu nasil sagliyorlar ? ayrıca xp checkboxu seçilipte win7 uyumlu bir yazılım extradan olurda seçilirse yanlışlıkla veya bilinçi bir not gösterebilirmiyiz ekranda ? SoundMax kintaro sana yolu göstermiş zaten biraz dikkatli baksan olayı kendinde gireceksin xp butonu üzerine yazılı kodlardan (zaten acılamasınıda yazmış) "CheckBox.SetEnabled("tumunu", false)" - "CheckBox.SetEnabled("win7", false)" - "CheckBox.SetEnabled("tumunu", true)" - "CheckBox.SetEnabled("win7", true)" kodlarını sileceksin ve istediğin olacak. Ya ben anlatmak ıstediğini anlamadım yada sen olayı daha kavrayamadın. Link to comment Share on other sites More sharing options...
KintaRo Posted May 5, 2010 Share Posted May 5, 2010 Özelden msn adresini verirmisin başka türlü olmayacak bu iş... Link to comment Share on other sites More sharing options...
SoundMax Posted May 5, 2010 Author Share Posted May 5, 2010 Özelden msn adresini verirmisin başka türlü olmayacak bu iş... edit: tmm yoneticiler siliyor ama bi deniyim Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.