Click here to Skip to main content
15,892,537 members
Home / Discussions / C#
   

C#

 
GeneralRe: SpeechSynthesizer memory leak Pin
Dave Kreskowiak4-Mar-10 1:33
mveDave Kreskowiak4-Mar-10 1:33 
AnswerRe: SpeechSynthesizer memory leak Pin
DudeFX55714-Mar-10 18:42
DudeFX55714-Mar-10 18:42 
QuestionScroll synchronization of two RichTextBox controls Pin
hain1-Mar-10 13:34
hain1-Mar-10 13:34 
AnswerRe: Scroll synchronization of two RichTextBox controls Pin
April Fans1-Mar-10 15:48
April Fans1-Mar-10 15:48 
AnswerRe: Scroll synchronization of two RichTextBox controls Pin
AspDotNetDev1-Mar-10 15:59
protectorAspDotNetDev1-Mar-10 15:59 
Questionif statement? Pin
Iman Mohtashemi1-Mar-10 9:36
Iman Mohtashemi1-Mar-10 9:36 
AnswerRe: if statement? Pin
DaveyM691-Mar-10 11:25
professionalDaveyM691-Mar-10 11:25 
Questionis it possible to do this? Pin
tonyonlinux1-Mar-10 9:13
tonyonlinux1-Mar-10 9:13 
to make mass data entry easier so i can put my add form over the top of my excel sheet that contains the data i wish to enter. Is there a way to do the following without it minimizing both.
I understand the whole parent/child relationship of the forms but i was wondering if i could somehow do this because I have noticed programs like yahoo and so forth allow one form to be minimized while the other is maximized. Anyway here is what I'm trying...

private void Add_Button_Click(object sender, EventArgs e)
       {
           AddRecord addRecordForm = new AddRecord();
           addRecordForm.Owner = this;
           this.WindowState = FormWindowState.Minimized; //minimize the main form
           addRecordForm.ShowDialog(this); // load up the add form

           this.WindowState = FormWindowState.Normal; //when the add form closes return main form to normal size
           LoadData();
       }

it minimizes but they both minimize instead of only the parent minimizing. i even tried putting in the constructor of the addrecord this.windowstate = formwindowstate.normal; and that had no effect.
AnswerRe: is it possible to do this? Pin
Saksida Bojan1-Mar-10 9:49
Saksida Bojan1-Mar-10 9:49 
AnswerRe: is it possible to do this? Pin
Luc Pattyn1-Mar-10 9:54
sitebuilderLuc Pattyn1-Mar-10 9:54 
AnswerRe: is it possible to do this? Pin
Dan Mos1-Mar-10 12:32
Dan Mos1-Mar-10 12:32 
GeneralRe: is it possible to do this? Pin
tonyonlinux1-Mar-10 13:36
tonyonlinux1-Mar-10 13:36 
GeneralRe: is it possible to do this? Pin
tonyonlinux1-Mar-10 15:30
tonyonlinux1-Mar-10 15:30 
GeneralRe: is it possible to do this? Pin
Dan Mos2-Mar-10 1:25
Dan Mos2-Mar-10 1:25 
Questionconnect to a mysql database w/out using mysql connector??? Pin
andyxfun1-Mar-10 7:58
andyxfun1-Mar-10 7:58 
AnswerRe: connect to a mysql database w/out using mysql connector??? Pin
snorkie1-Mar-10 8:17
professionalsnorkie1-Mar-10 8:17 
AnswerRe: connect to a mysql database w/out using mysql connector??? Pin
Saksida Bojan1-Mar-10 8:24
Saksida Bojan1-Mar-10 8:24 
AnswerRe: connect to a mysql database w/out using mysql connector??? Pin
Som Shekhar1-Mar-10 8:46
Som Shekhar1-Mar-10 8:46 
Question"Event" is null while invoking custom event Pin
Arindam Tewary1-Mar-10 7:27
professionalArindam Tewary1-Mar-10 7:27 
AnswerRe: "Event" is null while invoking custom event [modified] Pin
Saksida Bojan1-Mar-10 7:34
Saksida Bojan1-Mar-10 7:34 
GeneralRe: "Event" is null while invoking custom event (Solved) Pin
Arindam Tewary1-Mar-10 7:51
professionalArindam Tewary1-Mar-10 7:51 
GeneralRe: "Event" is null while invoking custom event (Solved) Pin
OriginalGriff1-Mar-10 8:21
mveOriginalGriff1-Mar-10 8:21 
GeneralRe: "Event" is null while invoking custom event (Solved) Pin
Arindam Tewary1-Mar-10 8:29
professionalArindam Tewary1-Mar-10 8:29 
GeneralRe: "Event" is null while invoking custom event (Solved) Pin
Saksida Bojan1-Mar-10 8:47
Saksida Bojan1-Mar-10 8:47 
GeneralRe: "Event" is null while invoking custom event (Solved) Pin
Luc Pattyn1-Mar-10 9:32
sitebuilderLuc Pattyn1-Mar-10 9:32 

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.