below is an image of how my program looks like:

This program is written in C#. How would i go about fixing my problem.
![]() |
Code: Select all
textbox1.Text += "\nText Here";
Aumaan Anubis wrote:Grimdoomer. The first person ever to mod Halo 2 Vista.
![]() |
![]() |
uhm, no...Patrickssj6 wrote:For strings useCode: Select all
&= instead of +=
![]() |
![]() |
Code: Select all
//using statements
//constructor
private string editLog="";
public string outputText
{
get
{
editLog += logBox.Text;
return editLog;
}
set
{ editlog=value; }
}
//rest of code
Code: Select all
//using statements
//constructor
main logger=main();
//event handler
private void compilerBtn_Click(object sender, EventArgs e)
{
//compiler code
//get output message to output textbox
logger.outputText += (DateTime.Now+" output message "+copileDir.Text+".");
}
//rest of code
oh right sorry i'll get that up right away.xbox7887 wrote:Care to post the exception message with stack trace?
I didn't see any call stack noticesVisual Studio Exception wrote:Win32 Exception Was Unhandled
Error creating window handle.Code: Select all
this.groupbox5.controls.add(this.collisionCompile);
Code: Select all
//event handler code
private void button1_Click(object sender, EventArgs e)
{
//instantate the form
childform aform = new childform();
//set the mdi parent
aform.mdiparent = this;
//create the output text
aform.editText+="script text";
//show the form
aform.show()
}
![]() |
![]() |