Click here to Skip to main content
15,913,610 members
Home / Discussions / C#
   

C#

 
AnswerRe: Using a 2D array as a DataSource Pin
AdRoGe3-Jul-07 7:38
AdRoGe3-Jul-07 7:38 
Questionconnecting to sql questions Pin
crash8933-Jul-07 6:14
crash8933-Jul-07 6:14 
AnswerRe: connecting to sql questions Pin
Le centriste3-Jul-07 7:15
Le centriste3-Jul-07 7:15 
AnswerRe: connecting to sql questions Pin
mfmaneef3-Jul-07 9:53
mfmaneef3-Jul-07 9:53 
QuestionProblem with 2 forms Pin
mcaos3-Jul-07 6:09
professionalmcaos3-Jul-07 6:09 
AnswerRe: Problem with 2 forms Pin
Luc Pattyn3-Jul-07 6:30
sitebuilderLuc Pattyn3-Jul-07 6:30 
GeneralRe: Problem with 2 forms Pin
mcaos4-Jul-07 0:16
professionalmcaos4-Jul-07 0:16 
GeneralRe: Problem with 2 forms Pin
Luc Pattyn4-Jul-07 0:29
sitebuilderLuc Pattyn4-Jul-07 0:29 
How does form A change form B's size ? by setting a new value to its Size property.
SImilar for any other property you can imagine (and hence add to a class):

in FormTypeA class:
FormTypeB formB=new FormTypeB();
formB.Show();

...

private void myTextBoxA_TextChanged(object sender, EventArgs e) {
    formB.Size=new Size(500, 600);
    formB.TextBoxText=myTextBoxA.Text;
}


In FormTypeB class:
public string TextBoxText {
    set {
        myTextBoxB.Text=value;
    }
}


May I suggest you work your way through a general C# book...

Smile | :)






AnswerRe: Problem with 2 forms Pin
thrakazog3-Jul-07 7:37
thrakazog3-Jul-07 7:37 
QuestionContrast solutions for drawing text and lines onto an image Pin
Jon Hulatt3-Jul-07 5:07
Jon Hulatt3-Jul-07 5:07 
AnswerRe: Contrast solutions for drawing text and lines onto an image Pin
Dario Solera3-Jul-07 7:16
Dario Solera3-Jul-07 7:16 
AnswerRe: Contrast solutions for drawing text and lines onto an image Pin
Luc Pattyn3-Jul-07 7:31
sitebuilderLuc Pattyn3-Jul-07 7:31 
QuestionSuppress "CAPS Lock is ON" warning in Windows XP Pin
Subrahmanyam K3-Jul-07 4:52
Subrahmanyam K3-Jul-07 4:52 
AnswerRe: Suppress "CAPS Lock is ON" warning in Windows XP Pin
Dario Solera3-Jul-07 7:08
Dario Solera3-Jul-07 7:08 
QuestionReading a Bitmap in Unsafe vs InteropServices.Marshall Pin
PhilDanger3-Jul-07 4:40
PhilDanger3-Jul-07 4:40 
AnswerRe: Reading a Bitmap in Unsafe vs InteropServices.Marshall Pin
Jon Hulatt3-Jul-07 5:31
Jon Hulatt3-Jul-07 5:31 
GeneralRe: Reading a Bitmap in Unsafe vs InteropServices.Marshall Pin
PhilDanger3-Jul-07 5:53
PhilDanger3-Jul-07 5:53 
GeneralRe: Reading a Bitmap in Unsafe vs InteropServices.Marshall Pin
Luc Pattyn3-Jul-07 6:35
sitebuilderLuc Pattyn3-Jul-07 6:35 
QuestionReading a remote mp3 file for file size and length Pin
mfmaneef3-Jul-07 4:25
mfmaneef3-Jul-07 4:25 
AnswerRe: Reading a remote mp3 file for file size and length Pin
Judah Gabriel Himango3-Jul-07 5:20
sponsorJudah Gabriel Himango3-Jul-07 5:20 
GeneralRe: Reading a remote mp3 file for file size and length Pin
mfmaneef3-Jul-07 5:31
mfmaneef3-Jul-07 5:31 
GeneralRe: Reading a remote mp3 file for file size and length Pin
Judah Gabriel Himango3-Jul-07 5:47
sponsorJudah Gabriel Himango3-Jul-07 5:47 
GeneralRe: Reading a remote mp3 file for file size and length Pin
mfmaneef3-Jul-07 6:28
mfmaneef3-Jul-07 6:28 
GeneralRe: Reading a remote mp3 file for file size and length Pin
Judah Gabriel Himango3-Jul-07 9:05
sponsorJudah Gabriel Himango3-Jul-07 9:05 
QuestionCompilation Error with Resource strings Pin
jayart3-Jul-07 3:46
jayart3-Jul-07 3:46 

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.