Click here to Skip to main content
15,888,610 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: CS0029: Cannot implicitly convert type 'System.DateTime' to 'var' Pin
Dave Kreskowiak9-Aug-14 6:25
mveDave Kreskowiak9-Aug-14 6:25 
GeneralRe: CS0029: Cannot implicitly convert type 'System.DateTime' to 'var' Pin
demoninside98-Aug-14 21:22
demoninside98-Aug-14 21:22 
GeneralRe: CS0029: Cannot implicitly convert type 'System.DateTime' to 'var' Pin
PIEBALDconsult9-Aug-14 5:23
mvePIEBALDconsult9-Aug-14 5:23 
AnswerRe: CS0029: Cannot implicitly convert type 'System.DateTime' to 'var' Pin
Richard MacCutchan8-Aug-14 22:39
mveRichard MacCutchan8-Aug-14 22:39 
GeneralRe: CS0029: Cannot implicitly convert type 'System.DateTime' to 'var' Pin
demoninside99-Aug-14 0:35
demoninside99-Aug-14 0:35 
QuestionRetrieve information from UDL file Pin
Ashfaque Hussain4-Aug-14 19:23
Ashfaque 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
ChriSSi0034-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:
C#
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
Bernhard Hiller4-Aug-14 20:49 
GeneralRe: Control resize to init after changing language Pin
ChriSSi0034-Aug-14 21:26
ChriSSi0034-Aug-14 21:26 
GeneralRe: Control resize to init after changing language Pin
Bernhard Hiller4-Aug-14 23:38
Bernhard Hiller4-Aug-14 23:38 
GeneralRe: Control resize to init after changing language Pin
ChriSSi0035-Aug-14 0:49
ChriSSi0035-Aug-14 0:49 
Question.net memory leaks Pin
Bret Stern3-Aug-14 16:10
Bret Stern3-Aug-14 16:10 
AnswerRe: .net memory leaks Pin
MarkLTX3-Aug-14 16:40
MarkLTX3-Aug-14 16:40 
GeneralRe: .net memory leaks Pin
Bret Stern3-Aug-14 18:46
Bret Stern3-Aug-14 18:46 
AnswerRe: .net memory leaks PinPopular
Dave Kreskowiak3-Aug-14 17:26
mveDave Kreskowiak3-Aug-14 17:26 
GeneralRe: .net memory leaks Pin
Bret Stern3-Aug-14 18:44
Bret 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
Tutun20142-Aug-14 2:11
Tutun20142-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
mveDave 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
Bernhard 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
professionalNathan Minier6-Aug-14 10:24 
Questionsherdian controls : license not found Pin
zuber ahmed2-Aug-14 1:40
zuber ahmed2-Aug-14 1:40 
AnswerRe: sherdian controls : license not found Pin
Richard MacCutchan2-Aug-14 2:51
mveRichard 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.