Click here to Skip to main content
15,906,816 members
Home / Discussions / C#
   

C#

 
GeneralRe: SqlConnection vs. OdbcConnection Pin
CodingYoshi19-Feb-09 7:32
CodingYoshi19-Feb-09 7:32 
GeneralRe: SqlConnection vs. OdbcConnection Pin
Ennis Ray Lynch, Jr.19-Feb-09 7:40
Ennis Ray Lynch, Jr.19-Feb-09 7:40 
AnswerRe: SqlConnection vs. OdbcConnection Pin
Wendelius19-Feb-09 7:27
mentorWendelius19-Feb-09 7:27 
AnswerRe: SqlConnection vs. OdbcConnection Pin
PIEBALDconsult19-Feb-09 7:29
mvePIEBALDconsult19-Feb-09 7:29 
QuestionDetect a white bloc on string Pin
abbd19-Feb-09 6:58
abbd19-Feb-09 6:58 
AnswerRe: Detect a white bloc on string Pin
led mike19-Feb-09 8:03
led mike19-Feb-09 8:03 
GeneralRe: Detect a white bloc on string Pin
Garth J Lancaster19-Feb-09 10:15
professionalGarth J Lancaster19-Feb-09 10:15 
QuestionForm is not visible Pin
Patricia Cuadra19-Feb-09 6:46
Patricia Cuadra19-Feb-09 6:46 
I want a button click on my main form to trigger opening a configuration form for user config and then closing it and then automatically starting up a slideshow form to display photos. Below is the event handler for the button click on my main form. I am using the dialogresult of the config window (play slideshow or cancel) to open up the actual slideshow form. I know the slideshow form is running because I can step through the code to initialize it and the program doesn't go back to the main form and just keeps running until I stop debugging but my form10 Sigh | :sigh: is not visible. What am I doing wrong?

private void button1_Click(object sender, EventArgs e)
{
Form9 configForm = new Form9();
Int32 timeDelay = Convert.ToInt32(Form9.txtbox.Text);
DialogResult dR = configForm.ShowDialog();


if (dR == DialogResult.OK)
{
Boolean setAsDefault = Form9.setDefault;
Boolean loopSlideshow = Form9.loop;
ArrayList images = libraryManager.getSlideshow(listView1.SelectedItems[0].Tag);
Form10 slideshowForm = new Form10(images,timeDelay,loopSlideshow);
slideshowForm.ShowDialog();
}
}
<i></i>
AnswerRe: Form is not visible Pin
Calin Tatar19-Feb-09 8:35
Calin Tatar19-Feb-09 8:35 
GeneralRe: Form is not visible Pin
Patricia Cuadra19-Feb-09 8:50
Patricia Cuadra19-Feb-09 8:50 
GeneralRe: Form is not visible Pin
Patricia Cuadra19-Feb-09 9:35
Patricia Cuadra19-Feb-09 9:35 
GeneralRe: Form is not visible Pin
Jimmanuel19-Feb-09 11:05
Jimmanuel19-Feb-09 11:05 
QuestionTimer Pin
bar300019-Feb-09 5:55
bar300019-Feb-09 5:55 
AnswerRe: Timer Pin
Dave Kreskowiak19-Feb-09 6:02
mveDave Kreskowiak19-Feb-09 6:02 
GeneralRe: Timer Pin
bar300019-Feb-09 6:10
bar300019-Feb-09 6:10 
GeneralRe: Timer Pin
musefan19-Feb-09 6:16
musefan19-Feb-09 6:16 
GeneralRe: Timer Pin
Dave Kreskowiak19-Feb-09 6:16
mveDave Kreskowiak19-Feb-09 6:16 
AnswerRe: Timer Pin
PIEBALDconsult19-Feb-09 6:15
mvePIEBALDconsult19-Feb-09 6:15 
GeneralRe: Timer Pin
bar300019-Feb-09 6:18
bar300019-Feb-09 6:18 
GeneralRe: Timer Pin
PIEBALDconsult19-Feb-09 6:20
mvePIEBALDconsult19-Feb-09 6:20 
AnswerRe: Timer Pin
Luc Pattyn19-Feb-09 6:21
sitebuilderLuc Pattyn19-Feb-09 6:21 
GeneralRe: Timer Pin
Dave Kreskowiak19-Feb-09 6:36
mveDave Kreskowiak19-Feb-09 6:36 
GeneralRe: Timer Pin
PIEBALDconsult19-Feb-09 6:38
mvePIEBALDconsult19-Feb-09 6:38 
GeneralRe: Timer Pin
Dave Kreskowiak19-Feb-09 6:40
mveDave Kreskowiak19-Feb-09 6:40 
GeneralRe: Timer Pin
bar300019-Feb-09 6:57
bar300019-Feb-09 6:57 

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.