Click here to Skip to main content
15,893,564 members
Home / Discussions / C#
   

C#

 
QuestionHow I can get all list view items of another process? Pin
Marco225028-Aug-06 3:53
Marco225028-Aug-06 3:53 
AnswerRe: How I can get all list view items of another process? Pin
22491728-Aug-06 4:04
22491728-Aug-06 4:04 
AnswerRe: How I can get all list view items of another process? Pin
mav.northwind28-Aug-06 4:26
mav.northwind28-Aug-06 4:26 
AnswerRe: How I can get all list view items of another process? Pin
Judah Gabriel Himango28-Aug-06 5:27
sponsorJudah Gabriel Himango28-Aug-06 5:27 
QuestionNeed help with showing and hiding forms :doh: Pin
RIcHieMoToKi28-Aug-06 3:20
RIcHieMoToKi28-Aug-06 3:20 
AnswerRe: Need help with showing and hiding forms :doh: Pin
Nader Elshehabi28-Aug-06 5:22
Nader Elshehabi28-Aug-06 5:22 
GeneralRe: Need help with showing and hiding forms :doh: Pin
RIcHieMoToKi28-Aug-06 6:25
RIcHieMoToKi28-Aug-06 6:25 
AnswerRe: Need help with showing and hiding forms :doh: Pin
numbers1thru928-Aug-06 8:21
numbers1thru928-Aug-06 8:21 
to hide form 1 you need to use the "this" identifyer so that the form knows the correct form to hide, so this.Hide(); is the correct way to hide the form. Also unless you are planning on creating a new instance of form 1, you need to pass form1 over to form2 in the constructor similar to the following:

Form2.css
//Default Constructor
static void Form2()
{
InitializeComponents();
}

//Constructor to bring in Form1
static void Form2(Form frm1)
{
Form1 form1 = frm1;
InitializeComponents();
}

Then you can reference the already existing form 1 and show it by making the statement:

form1.Show();
this.Hide();

and the way you pass Form1 (in Form1.css) over to Form2 is:
Form2 form2 = new Form2(Form1);

At least I think what I have told you is correct. Wink | ;-)
GeneralRe: Need help with showing and hiding forms :doh: Pin
RIcHieMoToKi28-Aug-06 10:49
RIcHieMoToKi28-Aug-06 10:49 
Questionredim preserve...in c#? Pin
rzvme28-Aug-06 2:54
rzvme28-Aug-06 2:54 
AnswerRe: redim preserve...in c#? Pin
Tamimi - Code28-Aug-06 2:59
Tamimi - Code28-Aug-06 2:59 
AnswerRe: redim preserve...in c#? Pin
Guffa28-Aug-06 3:17
Guffa28-Aug-06 3:17 
GeneralRe: redim preserve...in c#? Pin
Roger Alsing28-Aug-06 3:56
Roger Alsing28-Aug-06 3:56 
GeneralRe: redim preserve...in c#? Pin
Not Active28-Aug-06 4:04
mentorNot Active28-Aug-06 4:04 
AnswerRe: redim preserve...in c#? Pin
Judah Gabriel Himango28-Aug-06 4:22
sponsorJudah Gabriel Himango28-Aug-06 4:22 
AnswerRe: redim preserve...in c#? Pin
Dave Doknjas28-Aug-06 15:07
Dave Doknjas28-Aug-06 15:07 
Questionusing aggregate functions Pin
haseeb_saeed28-Aug-06 1:59
haseeb_saeed28-Aug-06 1:59 
AnswerRe: using aggregate functions Pin
Nader Elshehabi28-Aug-06 3:15
Nader Elshehabi28-Aug-06 3:15 
QuestionTextBox filling in Crystal Reports VS2005 Pin
Glen Harvy28-Aug-06 1:44
Glen Harvy28-Aug-06 1:44 
AnswerRe: TextBox filling in Crystal Reports VS2005 Pin
~~~Johnny~~~28-Aug-06 3:58
~~~Johnny~~~28-Aug-06 3:58 
GeneralRe: TextBox filling in Crystal Reports VS2005 Pin
Glen Harvy28-Aug-06 5:34
Glen Harvy28-Aug-06 5:34 
GeneralRe: TextBox filling in Crystal Reports VS2005 Pin
~~~Johnny~~~28-Aug-06 6:23
~~~Johnny~~~28-Aug-06 6:23 
QuestionWord color problem [modified] Pin
jithen_dt28-Aug-06 1:22
jithen_dt28-Aug-06 1:22 
AnswerRe: Word color problem Pin
Nader Elshehabi28-Aug-06 1:29
Nader Elshehabi28-Aug-06 1:29 
QuestionCapturing TAB event of a button Button Pin
Kais4U28-Aug-06 1:13
Kais4U28-Aug-06 1:13 

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.