Click here to Skip to main content
15,889,730 members
Home / Discussions / C#
   

C#

 
AnswerRe: removing Quotation marks ("") when parsing Pin
Graham Nimbley14-Jun-06 16:15
Graham Nimbley14-Jun-06 16:15 
GeneralRe: removing Quotation marks ("") when parsing Pin
minnie mouse15-Jun-06 11:39
minnie mouse15-Jun-06 11:39 
GeneralRe: removing Quotation marks ("") when parsing [modified] Pin
Graham Nimbley15-Jun-06 11:45
Graham Nimbley15-Jun-06 11:45 
GeneralRe: removing Quotation marks ("") when parsing Pin
minnie mouse15-Jun-06 23:03
minnie mouse15-Jun-06 23:03 
QuestionC# and hyper Terminal?? Pin
keroed_edmond14-Jun-06 13:44
keroed_edmond14-Jun-06 13:44 
QuestionURL collector [modified] Pin
Bilal Farooq14-Jun-06 12:36
Bilal Farooq14-Jun-06 12:36 
AnswerRe: URL collector Pin
Graham Nimbley14-Jun-06 16:29
Graham Nimbley14-Jun-06 16:29 
QuestionEmbarrassed - Simple Form Question Pin
Malcolm Smart14-Jun-06 10:49
Malcolm Smart14-Jun-06 10:49 
Hi
I have main form with a button, which when pressed, displays a second form. I don't want this form modal, so I use Show(). But, I only ever want one instance of this form. My confusion, and I am a real C# / .NET newbie, is when / where / how this is created / destroyed. Here's what I am doing...pseudoish

MainForm.OnClickEvent(...)
{
if secondform == null
secondform = new form(data_for_form_listbox)

secondform.show()
}

secondform.onCloseBUtton(....)
{
Close(); //or should this be hide();//I want the C++ equiv of EndDialog / CloseWindow which will actually delete the instance
}

On the 'secondform' I have a close button, which, calls - 'Close()'. Does that destroy the window? I want it destroyed so my OnClickEvent will create a new instance, so my second form can refresh its data (via the ctor).

I don't need code samples just a basic step by step of where I should create the second form / how I close it, (via teh second form), and should I destroy / recreate etc.

Does this make sense?





Regards

Rose | [Rose] Angel Rose | [Rose]

*********************************************
The sooner you fall behind, the longer you have to catch up.

AnswerRe: Embarrassed - Simple Form Question Pin
donkaiser14-Jun-06 11:08
donkaiser14-Jun-06 11:08 
AnswerRe: Embarrassed - Simple Form Question Pin
kasik14-Jun-06 12:08
kasik14-Jun-06 12:08 
GeneralRe: Embarrassed - Simple Form Question Pin
Malcolm Smart14-Jun-06 20:44
Malcolm Smart14-Jun-06 20:44 
QuestionShape in VS2005 Pin
donkaiser14-Jun-06 10:47
donkaiser14-Jun-06 10:47 
QuestionUsing Return Value ... [modified] Pin
mostafa_h14-Jun-06 10:16
mostafa_h14-Jun-06 10:16 
AnswerRe: Using Return Value ... Pin
Elina Blank14-Jun-06 10:49
sitebuilderElina Blank14-Jun-06 10:49 
GeneralRe: Using Return Value ... Pin
mostafa_h14-Jun-06 11:12
mostafa_h14-Jun-06 11:12 
GeneralRe: Using Return Value ... Pin
Elina Blank14-Jun-06 11:17
sitebuilderElina Blank14-Jun-06 11:17 
AnswerRe: Using Return Value ... Pin
Guffa14-Jun-06 11:37
Guffa14-Jun-06 11:37 
AnswerRe: Using Return Value ... Pin
albCode14-Jun-06 22:46
albCode14-Jun-06 22:46 
GeneralRe: Using Return Value ... Pin
mostafa_h23-Jun-06 4:35
mostafa_h23-Jun-06 4:35 
GeneralRe: Using Return Value ... Pin
albCode23-Jun-06 4:41
albCode23-Jun-06 4:41 
GeneralRe: Using Return Value ... Pin
mostafa_h23-Jun-06 9:07
mostafa_h23-Jun-06 9:07 
GeneralRe: Using Return Value ... Pin
mostafa_h23-Jun-06 23:56
mostafa_h23-Jun-06 23:56 
QuestionC# and excel Pin
Balaj_C14-Jun-06 9:48
Balaj_C14-Jun-06 9:48 
AnswerRe: C# and excel Pin
Dustin Metzgar14-Jun-06 9:53
Dustin Metzgar14-Jun-06 9:53 
GeneralRe: C# and excel Pin
Balaj_C14-Jun-06 10:53
Balaj_C14-Jun-06 10:53 

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.