Click here to Skip to main content
15,918,003 members
Home / Discussions / C#
   

C#

 
GeneralRe: Specify comboboxcolumn for bound datatable column [modified] Pin
drinkingbird2-Nov-06 17:22
drinkingbird2-Nov-06 17:22 
GeneralUpdate: Got it Pin
drinkingbird2-Nov-06 18:34
drinkingbird2-Nov-06 18:34 
QuestionAnchor, Dock, FlowLayoutPanel, Panel, When to use and how!? Pin
shultas2-Nov-06 14:09
shultas2-Nov-06 14:09 
AnswerRe: Anchor, Dock, FlowLayoutPanel, Panel, When to use and how!? Pin
Judah Gabriel Himango2-Nov-06 15:40
sponsorJudah Gabriel Himango2-Nov-06 15:40 
QuestionFill a pictureBox with linear gradient Pin
elsombreron2-Nov-06 13:49
elsombreron2-Nov-06 13:49 
AnswerRe: Fill a pictureBox with linear gradient Pin
Judah Gabriel Himango2-Nov-06 15:36
sponsorJudah Gabriel Himango2-Nov-06 15:36 
AnswerRe: Fill a pictureBox with linear gradient Pin
Alex@UEA2-Nov-06 21:10
Alex@UEA2-Nov-06 21:10 
QuestionWindows Forms Problem Closing From One To Another Pin
Veldor2-Nov-06 13:07
Veldor2-Nov-06 13:07 
I have a Main Form that calls various subforms with the following code on a button:
private void btnForm2_Click(object sender, EventArgs e)
{
    using (frmForm2 frmform2 = new frmForm2())
    {
        Hide();
        frmform2.ShowDialog();
        Show();
    }
}

Then I have a single button on the other form(s) that has this code:
private void btnOK_Click(object sender, EventArgs e)
{
    this.Close();
}


Everything works great the first run through. I click the button on the main form and it goes away and I get the other form. I click ok on that form and go back to the original. Great! But then if I click to go back to the same form or any form off of the main again. Once that form comes up and I click OK again <poof> nothing comes back. As that form closes the original seems like it might briefly be displayed (I see maybe a quick outline of it) before going into never-neverland. The application itself never exits and Im still in debug mode then.

I'm obviously doing something really stupid here... Any ideas?
AnswerRe: Windows Forms Problem Closing From One To Another Pin
Pradeep C2-Nov-06 13:32
Pradeep C2-Nov-06 13:32 
GeneralRe: Windows Forms Problem Closing From One To Another Pin
Veldor2-Nov-06 13:45
Veldor2-Nov-06 13:45 
GeneralRe: Windows Forms Problem Closing From One To Another Pin
sam#2-Nov-06 17:28
sam#2-Nov-06 17:28 
GeneralRe: Windows Forms Problem Closing From One To Another Pin
Veldor2-Nov-06 20:07
Veldor2-Nov-06 20:07 
QuestionParse a property dynamic Pin
Storme2-Nov-06 10:59
Storme2-Nov-06 10:59 
AnswerRe: Parse a property dynamic Pin
Judah Gabriel Himango2-Nov-06 11:15
sponsorJudah Gabriel Himango2-Nov-06 11:15 
GeneralRe: Parse a property dynamic Pin
Storme2-Nov-06 13:06
Storme2-Nov-06 13:06 
GeneralRe: Parse a property dynamic [modified] Pin
aamironline2-Nov-06 18:45
aamironline2-Nov-06 18:45 
QuestionList property for a custom control, doesn't work in design time Pin
warnov2-Nov-06 9:25
warnov2-Nov-06 9:25 
QuestionWeird ListViewItem ForeColor change Pin
kozu2-Nov-06 9:19
kozu2-Nov-06 9:19 
QuestionMemory usage... Pin
Shy Agam2-Nov-06 9:14
Shy Agam2-Nov-06 9:14 
AnswerRe: Memory usage... Pin
Guffa2-Nov-06 10:10
Guffa2-Nov-06 10:10 
GeneralRe: Memory usage... Pin
Judah Gabriel Himango2-Nov-06 11:07
sponsorJudah Gabriel Himango2-Nov-06 11:07 
GeneralRe: Memory usage... Pin
Paul Conrad2-Nov-06 16:23
professionalPaul Conrad2-Nov-06 16:23 
Questionmaking a jealous Windows Forms control Pin
jesarg2-Nov-06 8:05
jesarg2-Nov-06 8:05 
AnswerRe: making a jealous Windows Forms control Pin
PIEBALDconsult2-Nov-06 9:52
mvePIEBALDconsult2-Nov-06 9:52 
GeneralRe: making a jealous Windows Forms control Pin
jesarg2-Nov-06 10:04
jesarg2-Nov-06 10:04 

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.