Super Sache in .net2 Einstellungen unter Windows.Forms speichern Finde den Optionsdialog aber trotzdem interessant!
Lesebericht bei Email Versand von .net aus
Lesebesätigungen über MailMessage, MailAddress und SmtpClient... Lesebericht bei Email Versand
Optionsdialog - Optionen einfach speichern
Interessante Klasse um ganz einfach Optionen in DB(selfimplement) oder Xml File abzuspeichern. Option Library Einfach eine Options.cs Klasse erstellen mit den Optionen (Properties) Diese (pulibcs) werden dann im Dialog angezeigt und können verändert werden. Zusätzliches Zuckerl: Bei Änderung Notification Event.
Labels: usability
Visual Studio 2005 Code Snippets für Visual C#
ENDLICH!!!! Unter VB.net gibts schon massiv viele Snippets. Siehe VS2005 Visual Studio 2005 Code Snippets für Visual C#
AutoWaitCursor Tool Hilfs Klasse
Nie mehr solchen Code:
public void DoWork() { try { this.Cursor = Cursors.WaitCuros; DoSomeBigThing(); . . . . } catch() { . . . .. . . . . . } finally { . . . . this.Cursor = Cursors.Default; } }
Automatisch wenn die Applikation arbeitet wird der Cursor auf Wait gesetzt...
Kann man auch auf die Statusbar erweitern...
ps:
Aus dieser Klasse
http://www.codeproject.com/cs/miscctrl/WaitCursor.asp
wurde eine Verbesserung geschrieben
http://www.vbusers.com/codecsharp/codeget.asp?ThreadID=58&PostID=1&NumReplies=0
Visual Studio 2005 Localization Problem
BUG in VS2005 8.0.52727 I have created a UserControl. In one Language with Localizable= false. After i have finished my work i set Localizable= true. Save All Run Everything is fine. Now i set the Language on the UserControl to Italian and change some Labels (Text). SaveAll The Italian Version of my program is fine. When i switch to the default Language my control is corrupted. (DataSet deleted, Some properties removed) My Control contains a DataSet, UltratabControl from Infragistics some labels and a GridView. Filesize&Files before: 19.746 Rooms.cs 13.255 Rooms.Designer.cs 20.239 Rooms.resx Filesize&Files after: 19.746 Rooms.cs 17.560 Rooms.Designer.cs 66.295 Rooms.it.resx 25.981 Rooms.resx When i look into the Rooms.Designer.cs File it is very strange... Some properties are set some are not. Some are applyied (resources.ApplyResources() ) Strange! Solution: Change Localizable = true but dont change the Language. Manually add the Rooms.it.resx Files and complete the labels and change their Names.
Latest Posts
Popular Posts
-
I am *very* keen on automating tests, so I was looking into unit testing a WCF service. If I say "unit test", I mean a fast ,...
-
It's easy I thought, just select the Property of the EntityType and set the Default Value in the Properties window to: DateTime.Now ...
-
*Updated* 26. September 2010: Updated with comments from Adam Cogan *Updated* 27. September 2010: Updated the comparison between anonymo...