I'm wondering if there is a content alignment feature inside container controls (Panel, TableLayoutPanel) . e.g. I have several controls in a TableLayoutPanel. Those controls may change their size on runtime. I want to place them into a grid (like html table) one per cell and align them to middle of the cell(horizontally and vertically). Is this possible without writing custom code ? Until now, I figured out only way that to keep them aligned is to dock-Fill them.
It's easy to build a chat application. But a messenger like msn is far more complicated. The client should be in sync with the server. i.e: whenever you get a new message the client should be intimated. Mechanisms like polling in regular interval would be complicated,or rather may not be optimal . I think msn messenger has implemented a tcp channel for that purpose.
Hey guys, I'v worked on Windows application for quite a while and it switched to ASP.net about 3 months ago ! Of course it's something totally different and I was wondering if you could hook me up with some practical sources ! as well some websites to get some ready projects to get a better idea !
You can't start to build the complete website straight away. You have to read the book and try some samples steps by steps.. then, if you get some ideas how web application works, you can start the project... You can also participate in opensoure ASP.NET project if you wanna practice ...
HI I have created an application that uses the registry.
On the application there are two textboxes and a button. When the form is loaded the first textbox displays a font that has been declared in the registry and the second text box displays the font size, again declared in the registry. The button allows the user to change the font and font size using a FontDialog. When this dialog is opened (by clicking the button), the selected font is the font declared in the registry. I also want the font size that is declared in the registry to be selected in the dialog. The font name works perfectly fine, I am just having trouble with converting the font size.
First of here is my code:
FontDialog selectFont = new FontDialog();
font = Convert.ToString(Registry.GetValue(@"HKEY_LOCAL_MACHINE\SOFTWARE\RegKey_test", "Font", ""));