Click here to Skip to main content
15,887,746 members
Home / Discussions / C#
   

C#

 
GeneralRe: data grid view Pin
Kawshik_itbd9-Oct-13 23:20
Kawshik_itbd9-Oct-13 23:20 
AnswerRe: data grid view Pin
sanket16410-Oct-13 0:49
sanket16410-Oct-13 0:49 
QuestionErro: No overload for method 'GetRegisteredActivatedServiceTypes' takes '3' arguments Pin
piano_Korg9-Oct-13 17:27
professionalpiano_Korg9-Oct-13 17:27 
AnswerRe: Erro: No overload for method 'GetRegisteredActivatedServiceTypes' takes '3' arguments Pin
Pete O'Hanlon9-Oct-13 20:05
mvePete O'Hanlon9-Oct-13 20:05 
QuestionNeed to make a GUI for reading from serial Port. And using Multiple forms Pin
alfie.max159-Oct-13 17:00
alfie.max159-Oct-13 17:00 
AnswerRe: Need to make a GUI for reading from serial Port. And using Multiple forms Pin
Mycroft Holmes9-Oct-13 17:07
professionalMycroft Holmes9-Oct-13 17:07 
GeneralRe: Need to make a GUI for reading from serial Port. And using Multiple forms Pin
alfie.max159-Oct-13 19:50
alfie.max159-Oct-13 19:50 
GeneralRe: Need to make a GUI for reading from serial Port. And using Multiple forms Pin
Freak309-Oct-13 21:09
Freak309-Oct-13 21:09 
If Form1 is the main form, the application will end on closing it. You could create 2 additional forms, make the main form invisible and start the second form (for taking the parameters) in the load event of the main form. Also you should open it with ShowDialog() to create a modal form.

On pressing the button confirm you set the DialogResult to something specific, so you get this value as return value from ShowDialog() after closing your parameter form. Then you can open the third form showing the data.

Another approach would be to transfer the logic of opening the second dialog to the program class, opening the second form if the main form was closed using confirm and exit tha pplication only if the second form is closed or the main form is closed in another way than pressing confirm.
The good thing about pessimism is, that you are always either right or pleasently surprised.

AnswerRe: Need to make a GUI for reading from serial Port. And using Multiple forms Pin
lukeer10-Oct-13 20:52
lukeer10-Oct-13 20:52 
QuestionError Only assignment, call, increment, decrement, and new object expressions can be used as a statement. Pin
piano_Korg9-Oct-13 15:50
professionalpiano_Korg9-Oct-13 15:50 
AnswerRe: Error Only assignment, call, increment, decrement, and new object expressions can be used as a statement. Pin
Richard Andrew x649-Oct-13 16:44
professionalRichard Andrew x649-Oct-13 16:44 
GeneralRe: Error Only assignment, call, increment, decrement, and new object expressions can be used as a statement. Pin
Ron Beyer9-Oct-13 16:45
professionalRon Beyer9-Oct-13 16:45 
AnswerRe: Error Only assignment, call, increment, decrement, and new object expressions can be used as a statement. Pin
Ron Beyer9-Oct-13 16:44
professionalRon Beyer9-Oct-13 16:44 
GeneralRe: Error Only assignment, call, increment, decrement, and new object expressions can be used as a statement. Pin
piano_Korg9-Oct-13 17:25
professionalpiano_Korg9-Oct-13 17:25 
QuestionRe: Error Only assignment, call, increment, decrement, and new object expressions can be used as a statement. Pin
Richard MacCutchan9-Oct-13 21:34
mveRichard MacCutchan9-Oct-13 21:34 
Questionforward stdIn via ssh to application on linux server Pin
Beachi869-Oct-13 11:16
Beachi869-Oct-13 11:16 
QuestionAdd Table To DBML - Doesn't Show Up In Code Pin
Kevin Marois8-Oct-13 9:55
professionalKevin Marois8-Oct-13 9:55 
AnswerRe: Add Table To DBML - Doesn't Show Up In Code Pin
Richard MacCutchan8-Oct-13 9:59
mveRichard MacCutchan8-Oct-13 9:59 
GeneralRe: Add Table To DBML - Doesn't Show Up In Code Pin
Kevin Marois8-Oct-13 10:00
professionalKevin Marois8-Oct-13 10:00 
AnswerRe: Add Table To DBML - Doesn't Show Up In Code Pin
Member 100425318-Oct-13 19:24
Member 100425318-Oct-13 19:24 
AnswerRe: Add Table To DBML - Doesn't Show Up In Code Pin
Richard Andrew x649-Oct-13 4:11
professionalRichard Andrew x649-Oct-13 4:11 
GeneralRe: Add Table To DBML - Doesn't Show Up In Code Pin
Pete O'Hanlon9-Oct-13 5:11
mvePete O'Hanlon9-Oct-13 5:11 
GeneralRe: Add Table To DBML - Doesn't Show Up In Code Pin
Dave Kreskowiak9-Oct-13 7:08
mveDave Kreskowiak9-Oct-13 7:08 
GeneralRe: Add Table To DBML - Doesn't Show Up In Code Pin
Pete O'Hanlon9-Oct-13 8:39
mvePete O'Hanlon9-Oct-13 8:39 
GeneralRe: Add Table To DBML - Doesn't Show Up In Code Pin
Dave Kreskowiak9-Oct-13 10:09
mveDave Kreskowiak9-Oct-13 10:09 

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.