C# windows 8 block style layout autosize







I want all the panels to auto size depending of FormWindowState, if is Maximized to adapt the height and width to screen size and look all good and without empty spaces if I will fill all the form with panels.


you can achieve it by dividing the actual width to a specific percentage of height.

lets say you want your division to be 10/15/45/30

so in code:

double actualItemHeight = this.Height/ 0.10;
double actualItemWidth = this.Width/ 0.10;

i hope you get my point, you can create a method so you can reuse the code.

Need Your Help

Android: TextView does not respect android:TextViewStyle using appcompat-v7 22.1.1

android appcompat appcompat-v7-r21 appcompat-v7-r22.1

I have overridden the Textview color using the below code that code is working fine in lower version of appcompat-v7 22.1 after i update to support repository these one not working. Any idea on the...

how do i correct this regular expressions pattern for php

php regex

How do i make this match the following text correctly?

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.