Click here to Skip to main content
15,900,461 members
Home / Discussions / C#
   

C#

 
AnswerRe: When to use new while creating object.(For guffa) Pin
Guffa2-Jan-07 1:58
Guffa2-Jan-07 1:58 
Questionoperator overloading [modified] Pin
swjam21-Dec-06 1:16
swjam21-Dec-06 1:16 
AnswerRe: operator overloading Pin
PIEBALDconsult21-Dec-06 3:48
mvePIEBALDconsult21-Dec-06 3:48 
AnswerRe: operator overloading Pin
Luc Pattyn21-Dec-06 4:30
sitebuilderLuc Pattyn21-Dec-06 4:30 
QuestionHow to call the previously hidden form from the current form Pin
NK721-Dec-06 0:26
NK721-Dec-06 0:26 
AnswerRe: How to call the previously hidden form from the current form Pin
Martin#21-Dec-06 0:55
Martin#21-Dec-06 0:55 
GeneralRe: How to call the previously hidden form from the current form Pin
NK721-Dec-06 2:25
NK721-Dec-06 2:25 
AnswerRe: How to call the previously hidden form from the current form Pin
quiteSmart21-Dec-06 1:18
quiteSmart21-Dec-06 1:18 
Why don't you send a reference of form1 throught the constructor of form2.

Example:
the constructor of form2 is:

<br />
private Form1 parentForm;<br />
<br />
public void Form2(From1 form)<br />
{<br />
      parentForm = form1;<br />
}<br />


and when u initialize the second form to call it in form1,
use this:

<br />
Form2 form2 = new Form2(this);<br />
form2.show();<br />


now you can use the visible property of the form1 from form2 and u can unhide it by simply writting this:

<br />
parentForm.Visible = true;<br />




Good luck
GeneralRe: How to call the previously hidden form from the current form Pin
NK721-Dec-06 2:25
NK721-Dec-06 2:25 
AnswerRe: How to call the previously hidden form from the current form Pin
Russell Jones21-Dec-06 5:55
Russell Jones21-Dec-06 5:55 
Questionhow to use commandBuilder ? Pin
hdv21221-Dec-06 0:17
hdv21221-Dec-06 0:17 
AnswerRe: how to use commandBuilder ? Pin
Stefan Troschuetz21-Dec-06 0:36
Stefan Troschuetz21-Dec-06 0:36 
QuestionFolder Access Permission for C# Application Pin
Rsekaran20-Dec-06 23:10
Rsekaran20-Dec-06 23:10 
AnswerRe: Folder Access Permission for C# Application Pin
Tarakeshwar Reddy20-Dec-06 23:28
professionalTarakeshwar Reddy20-Dec-06 23:28 
GeneralRe: Folder Access Permission for C# Application Pin
Rsekaran20-Dec-06 23:52
Rsekaran20-Dec-06 23:52 
GeneralRe: Folder Access Permission for C# Application Pin
Tarakeshwar Reddy21-Dec-06 0:01
professionalTarakeshwar Reddy21-Dec-06 0:01 
QuestionShow Animated Gif Image Pin
GermanDM20-Dec-06 22:49
GermanDM20-Dec-06 22:49 
AnswerRe: Show Animated Gif Image Pin
Martin#20-Dec-06 22:57
Martin#20-Dec-06 22:57 
QuestionClick on application Icon on desktop to display the already running instance of the application in the background and shown in the system tray. Pin
Praveen_S20-Dec-06 21:57
Praveen_S20-Dec-06 21:57 
AnswerRe: Click on application Icon on desktop to display the already running instance of the application in the background and shown in the system tray. Pin
Tarakeshwar Reddy20-Dec-06 22:19
professionalTarakeshwar Reddy20-Dec-06 22:19 
AnswerRe: Click on application Icon on desktop to display the already running instance of the application in the background and shown in the system tray. Pin
stancrm20-Dec-06 22:25
stancrm20-Dec-06 22:25 
Questionintersecting controls Pin
kkadir20-Dec-06 21:51
kkadir20-Dec-06 21:51 
AnswerRe: intersecting controls Pin
Nougat H.21-Dec-06 0:57
Nougat H.21-Dec-06 0:57 
QuestionHow to access the Generic.Dictionary by an index. Pin
MarkPhB20-Dec-06 21:30
MarkPhB20-Dec-06 21:30 
AnswerRe: How to access the Generic.Dictionary by an index. Pin
Martin#20-Dec-06 21:54
Martin#20-Dec-06 21:54 

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.