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

C#

 
GeneralRe: newbie question Pin
Polis Pilavas14-May-05 8:21
Polis Pilavas14-May-05 8:21 
GeneralRe: newbie question Pin
leppie14-May-05 11:02
leppie14-May-05 11:02 
GeneralRe: newbie question Pin
Tom Wright16-May-05 4:56
Tom Wright16-May-05 4:56 
GeneralOn Use Connection or DataSet Pin
yahyacis13-May-05 8:43
yahyacis13-May-05 8:43 
GeneralRe: On Use Connection or DataSet Pin
MoustafaS13-May-05 9:10
MoustafaS13-May-05 9:10 
Generalmultiple forms problems in C# Pin
13-May-05 8:30
suss13-May-05 8:30 
GeneralRe: multiple forms problems in C# Pin
Dave Kreskowiak13-May-05 8:48
mveDave Kreskowiak13-May-05 8:48 
GeneralRe: multiple forms problems in C# Pin
13-May-05 9:40
suss13-May-05 9:40 
Sorry I didn't realise that. Here is the previous post this time with all the names in it and no more HTML tags.

Hi,

I have the following problem:
I have a windows form called CustomFunctions .In the form CustomFunctions I have, among other controls, a textBox called textBoxFunction , a comboBox comboBoxUserFunctions called and 2 buttons called btnSave and btnEdit.

In the second form, called "Save" when pressed btnSave and "Edit" when pressed btnEdit, I have only a textBox called textBoxFunctionName and a button btnOk.

Case 1: When in the first form I press btnSave
==============================================
In the second form:
When pressing btnOk, I want to take the text in the textBoxFunction(this would be the function's formula) and the text in the textBoxFunctionName(this would be the name of the function) and add them to comboBoxUserFunctions.

Case 2: When in the first form I press btnSave
==============================================
In the second form:
When pressing btnOk, I want to take the text in the comboBoxUserFunctions and put it in the textBoxFunctionName, where it can be changed.
I want the to reflect comboBoxUserFunctions the changes made, meaning that the funtion I choose to edit has a new name.

The big problem is that I don't know how to transfer data between forms without using IsMDIContainer Property. I don't use this property because I don't know how to make the MDIChild visible (to actually see every control on the MDIChild form). When I tried using this property the MDIChil form appeared as if it were in a bucket: the MDIParent form. I've tried using BringToFront() method but it didn't work.

Please help me !!! I'm in desperate search for help !
I've tried up to now all I could ever think of (obviously not enough)

Cheers to all of you,
Adisor

P.S. Sorry once again for the mistake from the previous post. Thank you for correcting me.
GeneralRe: multiple forms problems in C# Pin
Anonymous13-May-05 10:24
Anonymous13-May-05 10:24 
GeneralValidating Pin
edokt13-May-05 7:53
edokt13-May-05 7:53 
GeneralRe: Validating Pin
Dave Kreskowiak13-May-05 8:45
mveDave Kreskowiak13-May-05 8:45 
GeneralRe: Validating Pin
edokt13-May-05 12:40
edokt13-May-05 12:40 
GeneralRe: Validating Pin
Andy Moore13-May-05 11:19
Andy Moore13-May-05 11:19 
GeneralRe: Validating Pin
edokt13-May-05 12:35
edokt13-May-05 12:35 
GeneralDetermine GUID for Office Products. Pin
stan2813-May-05 6:32
stan2813-May-05 6:32 
GeneralRe: Determine GUID for Office Products. Pin
S. Senthil Kumar13-May-05 7:40
S. Senthil Kumar13-May-05 7:40 
Generalc# email problem Pin
Member 177938613-May-05 4:08
Member 177938613-May-05 4:08 
GeneralRe: c# email problem Pin
Anonymous13-May-05 4:34
Anonymous13-May-05 4:34 
GeneralRe: c# email problem Pin
S. Senthil Kumar13-May-05 4:54
S. Senthil Kumar13-May-05 4:54 
GeneralCause Propertygrid Update from Control Pin
terrier_jack13-May-05 4:05
terrier_jack13-May-05 4:05 
GeneralRe: Cause Propertygrid Update from Control Pin
terrier_jack13-May-05 5:47
terrier_jack13-May-05 5:47 
Generalopening files within .net Pin
marazm113-May-05 4:04
marazm113-May-05 4:04 
GeneralRe: opening files within .net Pin
hoope00213-May-05 12:25
hoope00213-May-05 12:25 
GeneralRe: opening files within .net Pin
Utku KAYA13-May-05 12:44
Utku KAYA13-May-05 12:44 
Generalcrystal reports problem Pin
x-trate13-May-05 3:16
x-trate13-May-05 3:16 

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.