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

C#

 
QuestionVLC Pin
Aparna.B15-Feb-08 0:20
Aparna.B15-Feb-08 0:20 
GeneralRe: VLC Pin
Pete O'Hanlon15-Feb-08 1:18
mvePete O'Hanlon15-Feb-08 1:18 
QuestionSystem.Windows.Forms.Control Vs System.Windows.Controls Pin
kaminem15-Feb-08 0:14
kaminem15-Feb-08 0:14 
GeneralRe: System.Windows.Forms.Control Vs System.Windows.Controls [modified] Pin
Dave Kreskowiak15-Feb-08 4:44
mveDave Kreskowiak15-Feb-08 4:44 
QuestionHow to perform Undo for Form Controls in C#? Pin
nilam247715-Feb-08 0:01
nilam247715-Feb-08 0:01 
GeneralRe: How to perform Undo for Form Controls in C#? Pin
Giorgi Dalakishvili15-Feb-08 0:34
mentorGiorgi Dalakishvili15-Feb-08 0:34 
GeneralForms Issue Pin
Harvey Saayman14-Feb-08 23:43
Harvey Saayman14-Feb-08 23:43 
GeneralRe: Forms Issue [modified] Pin
Martin#14-Feb-08 23:57
Martin#14-Feb-08 23:57 
Hello,

Tasks like this are mostely done with modal Windows called with ShowDialog().
The DialogResult of FrmAddUser tells FrmUsers if he has to Update his values.
The initialized Properties could be passed over the constructor from FrmAddUsers.
The return values could be passed over properties from FrmAddUsers.

pseudocode:
using(FormAddUser addUser = new FormAddUser(object initValues))
{
    if(addUser.ShowDialog() == DialogResult.OK)
    {
         object actUserInfos = addUser.ActUserInfos;
         ...
    }
}

You should also think of, if it makes sence to instanciate your FormAddUser always new.

All the best,

Martin

modified on Friday, February 15, 2008 6:29 AM

GeneralRe: Forms Issue Pin
Harvey Saayman15-Feb-08 0:16
Harvey Saayman15-Feb-08 0:16 
GeneralRe: Forms Issue Pin
Martin#15-Feb-08 0:35
Martin#15-Feb-08 0:35 
GeneralDialog Issue Pin
Harvey Saayman15-Feb-08 0:38
Harvey Saayman15-Feb-08 0:38 
GeneralRe: Dialog Issue Pin
Martin#15-Feb-08 0:46
Martin#15-Feb-08 0:46 
GeneralRe: Dialog Issue Pin
Harvey Saayman15-Feb-08 0:52
Harvey Saayman15-Feb-08 0:52 
GeneralRe: Dialog Issue Pin
Martin#15-Feb-08 0:55
Martin#15-Feb-08 0:55 
GeneralRe: Dialog Issue Pin
Harvey Saayman15-Feb-08 1:04
Harvey Saayman15-Feb-08 1:04 
GeneralRe: Dialog Issue Pin
Martin#15-Feb-08 1:09
Martin#15-Feb-08 1:09 
GeneralRe: Dialog Issue Pin
Harvey Saayman15-Feb-08 1:11
Harvey Saayman15-Feb-08 1:11 
GeneralRe: Dialog Issue Pin
Martin#15-Feb-08 1:26
Martin#15-Feb-08 1:26 
GeneralRe: Dialog Issue Pin
Harvey Saayman15-Feb-08 1:25
Harvey Saayman15-Feb-08 1:25 
GeneralRe: Dialog Issue Pin
Martin#15-Feb-08 1:33
Martin#15-Feb-08 1:33 
QuestionConverting FontSize into float-value Pin
Brutus14-Feb-08 23:00
Brutus14-Feb-08 23:00 
GeneralRe: Converting FontSize into float-value Pin
Christian Graus14-Feb-08 23:16
protectorChristian Graus14-Feb-08 23:16 
GeneralRe: Converting FontSize into float-value Pin
Brutus14-Feb-08 23:45
Brutus14-Feb-08 23:45 
GeneralRe: Converting FontSize into float-value Pin
Mircea Puiu15-Feb-08 0:23
Mircea Puiu15-Feb-08 0:23 
GeneralRe: Converting FontSize into float-value Pin
Brutus15-Feb-08 0:42
Brutus15-Feb-08 0:42 

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.