Click here to Skip to main content
12,395,378 members (71,034 online)

.NET Framework

 
GeneralRe: CS0029: Cannot implicitly convert type 'System.DateTime' to 'var' Pin
Dave Kreskowiak9-Aug-14 6:25
mvpDave Kreskowiak9-Aug-14 6:25 
GeneralRe: CS0029: Cannot implicitly convert type 'System.DateTime' to 'var' Pin
demoninside98-Aug-14 21:22
memberdemoninside98-Aug-14 21:22 
GeneralRe: CS0029: Cannot implicitly convert type 'System.DateTime' to 'var' Pin
PIEBALDconsult9-Aug-14 5:23
memberPIEBALDconsult9-Aug-14 5:23 
AnswerRe: CS0029: Cannot implicitly convert type 'System.DateTime' to 'var' Pin
Richard MacCutchan8-Aug-14 22:39
protectorRichard MacCutchan8-Aug-14 22:39 
GeneralRe: CS0029: Cannot implicitly convert type 'System.DateTime' to 'var' Pin
demoninside99-Aug-14 0:35
memberdemoninside99-Aug-14 0:35 
QuestionRetrieve information from UDL file Pin
Ashfaque Hussain4-Aug-14 19:23
memberAshfaque Hussain4-Aug-14 19:23 
AnswerRe: Retrieve information from UDL file Pin
Eddy Vluggen5-Aug-14 2:37
professionalEddy Vluggen5-Aug-14 2:37 
QuestionControls resize to init after changing language Pin
ChriSSi0034-Aug-14 1:36
memberChriSSi0034-Aug-14 1:36 
Hi, i have a problem with my WindowsForms Application.
I have a Form with various controls which change size when the user changes the size of the Window. That works and i used Anchor and Dock properties to realize that.

The application has different languages and two buttons to chose the current language which works also with that kind of code:
private void LoadLanguage( string Language)
        {
            ComponentResourceManager Resources = new ComponentResourceManager(typeof(Form1));
            CultureInfo CultureInfo = new CultureInfo(Language);
 
            doRecursiveLoading(this, CultureInfo, Resources);
        }
 

private void doRecursiveLoading(Control Parent, CultureInfo CultureInfo, ComponentResourceManager Resources)
        {
            foreach(Control c in Parent.Controls)
            {
                Resources.ApplyResources(c, c.Name, CultureInfo);
 
                if (c.Controls.Count > 0)
                    doRecursiveLoading(c, CultureInfo, Resources);
            }
        }

But now i get a problem: My init state is a solution of 1280x1024. When i maximise the window to Fullscreen on HD-Monitor and then click the button for changing the language it changes the language but it also resizes all my controls to the inital size they had at a resolution of 1280x1024 and not the size they should have at fullscreen.

Hope you can understand my problem and some of you has an idea how to fix that.
Thannks in advance.

Chrissi

modified 5-Aug-14 3:35am.

AnswerRe: Control resize to init after changing language Pin
Eddy Vluggen4-Aug-14 2:00
professionalEddy Vluggen4-Aug-14 2:00 
AnswerRe: Control resize to init after changing language Pin
Bernhard Hiller4-Aug-14 20:49
professionalBernhard Hiller4-Aug-14 20:49 
GeneralRe: Control resize to init after changing language Pin
ChriSSi0034-Aug-14 21:26
memberChriSSi0034-Aug-14 21:26 
GeneralRe: Control resize to init after changing language Pin
Bernhard Hiller4-Aug-14 23:38
professionalBernhard Hiller4-Aug-14 23:38 
GeneralRe: Control resize to init after changing language Pin
ChriSSi0035-Aug-14 0:49
memberChriSSi0035-Aug-14 0:49 
Question.net memory leaks Pin
Bret Stern3-Aug-14 16:10
memberBret Stern3-Aug-14 16:10 
AnswerRe: .net memory leaks Pin
MarkLTX3-Aug-14 16:40
memberMarkLTX3-Aug-14 16:40 
GeneralRe: .net memory leaks Pin
Bret Stern3-Aug-14 18:46
memberBret Stern3-Aug-14 18:46 
AnswerRe: .net memory leaks Pin
Dave Kreskowiak3-Aug-14 17:26
mvpDave Kreskowiak3-Aug-14 17:26 
GeneralRe: .net memory leaks Pin
Bret Stern3-Aug-14 18:44
memberBret Stern3-Aug-14 18:44 
QuestionHow to get all the visited url lists from any browser programmatically using c# in .Net 2.0 framework Pin
Member 105012112-Aug-14 2:11
memberMember 105012112-Aug-14 2:11 
AnswerRe: How to get all the visited url lists from any browser programmatically using c# in .Net 2.0 framework Pin
Eddy Vluggen2-Aug-14 12:25
professionalEddy Vluggen2-Aug-14 12:25 
AnswerRe: How to get all the visited url lists from any browser programmatically using c# in .Net 2.0 framework Pin
Dave Kreskowiak3-Aug-14 17:17
mvpDave Kreskowiak3-Aug-14 17:17 
AnswerRe: How to get all the visited url lists from any browser programmatically using c# in .Net 2.0 framework Pin
Bernhard Hiller3-Aug-14 20:48
professionalBernhard Hiller3-Aug-14 20:48 
GeneralRe: How to get all the visited url lists from any browser programmatically using c# in .Net 2.0 framework Pin
Nathan Minier6-Aug-14 10:24
memberNathan Minier6-Aug-14 10:24 
Questionsherdian controls : license not found Pin
zuber ahmed2-Aug-14 1:40
memberzuber ahmed2-Aug-14 1:40 
AnswerRe: sherdian controls : license not found Pin
Richard MacCutchan2-Aug-14 2:51
protectorRichard MacCutchan2-Aug-14 2:51 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web01 | 2.8.160721.1 | Last Updated 22 Jul 2016
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid