cerenpc Posted December 3, 2015 Share Posted December 3, 2015 c# ta yazılan bir programım var. Farklı çözünürlükteki ekranlarda program çalışma anında ekran boyutuna göre programı otomatik nasıl boyutlandırma yapabilirim. Quote Link to comment Share on other sites More sharing options...
KintaRo Posted December 3, 2015 Share Posted December 3, 2015 kod aracılığı ile tam ekran yapmak istiyorsanız Location = new Point(0, 0); Size = new Size(Screen.PrimaryScreen.WorkingArea.Width, Screen.PrimaryScreen.WorkingArea.Height); ya da WindowState = FormWindowState.Maximized; Quote Link to comment Share on other sites More sharing options...
cerenpc Posted December 3, 2015 Author Share Posted December 3, 2015 Rectangle resolution = Screen.PrimaryScreen.Bounds; this.Width = resolution.Width; this.Height = resolution.Height; Kodu ile Ana ekranı küçültüp büyütebiliyoruz. Ekranın içinde bulunan Componentler var 5-6 (lookupedit buton vb.) tane o componentlerinde ekrana sığıp büyümesini otomatik olarak nasıl ayarlayabilirim. Quote Link to comment Share on other sites More sharing options...
abdullahTR Posted December 3, 2015 Share Posted December 3, 2015 Rectangle resolution = Screen.PrimaryScreen.Bounds; this.Width = resolution.Width; this.Height = resolution.Height; Kodu ile Ana ekranı küçültüp büyütebiliyoruz. Ekranın içinde bulunan Componentler var 5-6 (lookupedit buton vb.) tane o componentlerinde ekrana sığıp büyümesini otomatik olarak nasıl ayarlayabilirim. c# wpf le bunu gridlerle cok rahat yaparsın wpf gird mantıgını ögrenmen lazım ama :) biliyorsan problem yok Quote Link to comment Share on other sites More sharing options...
cerenpc Posted December 3, 2015 Author Share Posted December 3, 2015 işte problemin kaynağı ben onu bilmiyorum :) başka bir yol varmıdır. Quote Link to comment Share on other sites More sharing options...
KintaRo Posted December 3, 2015 Share Posted December 3, 2015 bence Anchor ile de yapılabilir Kontrolün hangi yönlere doğru boyutlandırılmasını istiyorsanız o bölümleri seçiyorsunuz, bu kadar. kullanımı anlamanız açısından küçük bir uygulama hazırladım: https://yadi.sk/d/PPIZDorQkw4cN Quote Link to comment Share on other sites More sharing options...
cerenpc Posted December 3, 2015 Author Share Posted December 3, 2015 Kintaro hocam teşekkür ederim. Quote Link to comment Share on other sites More sharing options...
MostWanted Posted December 4, 2015 Share Posted December 4, 2015 Bu konu "Örnek Çalışmalar" forumundan "C#" forumuna taşınmıştır. 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.