Click here to Skip to main content
15,888,610 members
Home / Discussions / C#
   

C#

 
AnswerRe: c# - Windows Services: accessing a network resource Pin
AmitGajjar4-Sep-13 20:56
professionalAmitGajjar4-Sep-13 20:56 
AnswerRe: c# - Windows Services: accessing a network resource Pin
jschell5-Sep-13 9:27
jschell5-Sep-13 9:27 
AnswerRe: c# - Windows Services: accessing a network resource Pin
Jason Gleim6-Sep-13 5:19
professionalJason Gleim6-Sep-13 5:19 
AnswerRe: c# - Windows Services: accessing a network resource Pin
Jeffrey Jefferson7-Sep-13 0:46
Jeffrey Jefferson7-Sep-13 0:46 
QuestionOne form control displayed in other Pin
Rohini Shirke4-Sep-13 19:05
Rohini Shirke4-Sep-13 19:05 
GeneralRe: One form control displayed in other Pin
Richard MacCutchan4-Sep-13 21:08
mveRichard MacCutchan4-Sep-13 21:08 
AnswerRe: One form control displayed in other Pin
RK-Developer5-Sep-13 0:14
RK-Developer5-Sep-13 0:14 
AnswerRe: One form control displayed in other Pin
BillWoodruff5-Sep-13 18:06
professionalBillWoodruff5-Sep-13 18:06 
A single instance of a .NET control cannot be "in" two Forms at the same time.

So, some clarification from you would be helpful:

1. I assume you are using Windows Forms, but please confirm that. Some folks do use the term "Form" (incorrectly) when they are describing WPF.

2. is it the case that at any given time only one of the two Forms will be visible to the end-user, or, are there cases where both will be visible ? If both Forms can be visible, and you want to show your GroupBox on only one of them: what determines on which visible Form it is shown ? Another way of asking this question is to ask: is the location on the screen of both Forms the same... in which case, if their size, and other attributes, like FormBorderStyle, are the same: one will "cover" the other.

3. are both Forms identical in every way, but, location: size, FormBorderStyle, StartPosition, appearance, etc. ?

4. are you using the standard WinForms model in which the Program.cs file, in its static class 'Program contains a static 'Main method in which you have the usual code to start your application, like: Application.Run(new MainForm()); ? That may seem like an odd question, but there is a reason I'm asking it, which I'll explain once you provide more information.

5. what do you mean by: "without any issue of screen resolution;" what could a screen resolution issue be ? Could you mean, by this statement, a possible overlapping of the two Forms when both are displayed (made visible) ?

6. are you familiar with using static classes now ?

bill
Google CEO, Erich Schmidt: "I keep asking for a product called Serendipity. This product would have access to everything ever written or recorded, know everything the user ever worked on and saved to his or her personal hard drive, and know a whole lot about the user's tastes, friends and predilections." 2004, USA Today interview


modified 6-Sep-13 2:42am.

GeneralRe: One form control displayed in other Pin
Rohini Shirke6-Sep-13 18:31
Rohini Shirke6-Sep-13 18:31 
QuestionC# coding style question Pin
Gary Wheeler4-Sep-13 9:54
Gary Wheeler4-Sep-13 9:54 
AnswerRe: C# coding style question Pin
Richard Deeming4-Sep-13 10:32
mveRichard Deeming4-Sep-13 10:32 
AnswerRe: C# coding style question Pin
Eddy Vluggen4-Sep-13 10:41
professionalEddy Vluggen4-Sep-13 10:41 
AnswerRe: C# coding style question Pin
Espen Harlinn4-Sep-13 12:06
professionalEspen Harlinn4-Sep-13 12:06 
GeneralRe: C# coding style question Pin
Gary Wheeler5-Sep-13 1:53
Gary Wheeler5-Sep-13 1:53 
GeneralRe: C# coding style question Pin
Espen Harlinn5-Sep-13 1:56
professionalEspen Harlinn5-Sep-13 1:56 
GeneralRe: C# coding style question Pin
Gary Wheeler5-Sep-13 2:07
Gary Wheeler5-Sep-13 2:07 
GeneralRe: C# coding style question Pin
Espen Harlinn5-Sep-13 2:22
professionalEspen Harlinn5-Sep-13 2:22 
AnswerRe: C# coding style question Pin
jschell4-Sep-13 12:08
jschell4-Sep-13 12:08 
GeneralRe: C# coding style question Pin
Gary Wheeler5-Sep-13 1:57
Gary Wheeler5-Sep-13 1:57 
GeneralRe: C# coding style question Pin
PIEBALDconsult5-Sep-13 3:15
mvePIEBALDconsult5-Sep-13 3:15 
AnswerRe: C# coding style question Pin
PIEBALDconsult4-Sep-13 13:54
mvePIEBALDconsult4-Sep-13 13:54 
GeneralRe: C# coding style question Pin
Gary Wheeler5-Sep-13 2:06
Gary Wheeler5-Sep-13 2:06 
AnswerRe: C# coding style question Pin
BillWoodruff4-Sep-13 17:14
professionalBillWoodruff4-Sep-13 17:14 
GeneralRe: C# coding style question Pin
Gary Wheeler5-Sep-13 1:49
Gary Wheeler5-Sep-13 1:49 
GeneralRe: C# coding style question Pin
BillWoodruff5-Sep-13 18:23
professionalBillWoodruff5-Sep-13 18:23 

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.