Why doesn't my text show up in the textbox

Hi,
 I have this code in here.And whenever the user presses this specific button,my text box should show up 2 or more lines of text,but instead the text box shows only the last line.
private void lengthOfLargestArrayDimensionToolStripMenuItem_Click(object sender, EventArgs e)
textBox1.Text = "A = magic (3)";
textBox1.Text = "l = do_math (A)";
In the case above,my text box shows only "l = length (A)".And I want both those lines to be shown.
Thanks!

But do you want those shown as separate lines also? Then textBox1.Text = "A = magic (3)"  and then maybe
textBox1.Text += Environment.NewLine and then maybe
textBox1.Text += "l = do_math (A)"
Anyhow please see C# Environment.NewLine where apparently "\r\n" may work also rather than Environment.NewLine.
Or possibly textBox1.AppendText("A = magic (3)" + "\r\n" + "l = do_math (A)") or perhaps
textBox1.Text = "A = magic (3)" + Environment.NewLine + "l = do_math (A)"
La vida loca

Similar Messages

  • Why doesn't my message show up in the thread in email on I pad.

    Why doesn't my message show up in the thread in email on iPad ?

    You're welcome.  My mistake, I completely misread your question. Unfortunately currently  I don't have any email threads to check it out, just replys from the Apple Support Communities.Sorry.

  • What's the searchplugins folder and why doesn't its content show up in the Manage Plugins menu?

    Today on my first Search bar attempt, my search page got redirected from Google to www.bigseekpro.com, which I had never heard of. I checked my Plugins and Addons, it didn't show up there. But my home page had also been hijacked, from the tabs I normally go to, to only go to this new page. I did find in C:\uerdatada\appdata\roaming\mozilla\firefox\profiles\cawypqyo.default a new folder created a few moments before, \searchplugins, and in this a file search.xml, which contained xml commands to redirect the search activity.
    These look suspicious: the first command sets xmlsn:os to "http://a9.com", which I can't seem to find anything on with whois or tracert; bigseekpro.com itself traces to its registry at godaddy.com, but that's about all I'm finding.
    If this is a legitimate place for Firefox to look for a plugin, why doesn't the Firefox plugin manager tell me it found something there? And why couldn't the Help articles on "Search not going where you want it to" also tell me about this?
    Any ideas? Am I right to be highly suspicious of this behavior?

    Search engine plugins are kept separate from Add-ons (Extensions, Plugins, Appearance). Search plugins, both the default search engines supplied with Firefox and those that you install will be shown in the Search Bar (see [http://kb.mozillazine.org/Search_Bar Search Bar]).
    The folder '''''searchplugins''''' in your Profile folder ('''the path you mentioned''') is for search engines '''''added by you or something that you have installed'''''. You can remove any found in the Profile folder in the '''''searchplugins''''' sub-folder. The items there '''''may''''' make/have made changes to other search functions in Firefox.
    *Are searches from your '''Location Bar''' going to the place and/or search engine you expect?
    *Are searches from your '''Search Bar''' going to the place and/or search engine you expect?
    '''''The default search engines included with Firefox''''' are not in that folder in your Profile, but are located in a folder by the same name in the Programs folder where Firefox itself is installed. See [http://kb.mozillazine.org/Installation_directory Finding the Installation directory]
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''
    Not related to your question, but...
    You need to update some plug-ins:
    *Plug-in check: https://www-trunk.stage.mozilla.com/en-US/plugincheck/
    *Adobe Shockwave for Director Netscape plug-in: [https://support.mozilla.com/en-US/kb/Using%20the%20Shockwave%20plugin%20with%20Firefox#w_installing-shockwave Installing ('''''or Updating''''') the Shockwave plugin with Firefox]
    *Adobe PDF Plug-In For Firefox and Netscape: [https://support.mozilla.com/en-US/kb/Using%20the%20Adobe%20Reader%20plugin%20with%20Firefox#w_installing-and-updating-adobe-reader Installing/Updating Adobe Reader in Firefox]
    *Shockwave Flash (Adobe Flash or Flash): [https://support.mozilla.com/en-US/kb/Managing%20the%20Flash%20plugin#w_updating-flash Updating Flash in Firefox]
    *Next Generation Java Plug-in for Mozilla browsers: [https://support.mozilla.com/en-US/kb/Using%20the%20Java%20plugin%20with%20Firefox#w_installing-or-updating-java Installing or Updating Java in Firefox]

  • Why doesn't my text show?

    Whats wrong with this? My .txt file begins with: adress=...

    In your code you have:
    adress_txt = adress;
    it should be:
    adress_txt.htmlText = adress;
    Tim

  • Why doesn't my files show up in the "MEDIA BROWSER"?

    I recently shot footage on my SONY CX-550 HD camcorder.  Each day's footage was downloaded to my desktop in separate folders ( DAY_01, DAY_02... thru DAY_08 ).  There are many clips in each folder ( 00000.mts, 00001.mts, etc. ).  In PPRO CS5's "MEDIA BROWSER" I can see the clips in all the folders except DAY_02 and DAY_08.  If I move a clip out of the folder to another location ( DESKTOP ), the "MB" still does not list it.  I can, however, drag the clip from the DAY_02 folder into the PROJECT WINDOW and the plays correctly in the SOURCE WINDOW.  I use the "MB" to quickly review a clip by double-clicking it.  Having to drag each one into the "ProjWin" for review is time consuming as is reviewing the clip thru Windows Media Player.  BRIDGE CS5 displays a thumbnail for each clip as expected.  So, why does the contents of just these two folders not display in "MB"?
    Thanks in advance,
    Sonny Gaither

    You're welcome.  My mistake, I completely misread your question. Unfortunately currently  I don't have any email threads to check it out, just replys from the Apple Support Communities.Sorry.

  • Why doesn't apple tv show song info while using pandora with AirPlay?

    Why doesn't apple tv show song info while using pandora with AirPlay?

    Welcome to the Apple Community.
    I'm not really familiar with Pandora but I assume it's an audio app and the app places text on screen to inform you of the current track playing.
    As an audio app, it seems to make sense it will stream audio over AirPlay, which doesn't include text of course. For that matter the text is also unlikely to be a video stream either, just to cover the possibility you ask why can't they stream it over AirPlay as video.

  • Why doesn't a song I uploaded to the iTunes store show the Composer information when purchased?! Why is Apple deleting crucial info!?!

    Why doesn't a song I uploaded to the iTunes store show the Composer information when purchased?! Why is Apple deleting crucial info!?!  The information was embedded using iTunes and uploaded through TuneCore.  But when the song is purchased and downloaded the Composer info has been deleted (and so has the copyright protection info that was in the comments window of the mp3's info in iTunes)???

    Foundsound,
    Since your direct commercial relationship is with TuneCore, not with Apple, you need to address your question to TuneCore.
    Tune Core often places the song at multiple music retailers (iTunes, Amazon, etc.) so you should check if the same thing happened at the others.
    The fact that the Comments field was blanked out doesn't surprise me, but deleting the composer does.
    Pls let us know what you find out.

  • Why doesn't Edge Animate show up in my 30 day free Creative Cloud membership apps download page?

    Why doesn't Edge Animate show up in my 30 day free Creative Cloud membership apps download page? I subscribed to the 30 day free Creative Cloud membership just yesterday.
    Please help.

    Could it be that you are running Windows XP?  I believe there is some automatic detection of the operating system you are running, and if it is not supported by the application, it does not show up on the download page.

  • HT4623 Why doesn't my ipad2 show that ios 6 is available for download?

    Why doesn't my ipad2 show that ios 6 is available for download? 5.1.1 is what I have now.

    If you have an iPad 1, the max iOS is 5.1.1. For newer iPads, the current iOS is 6.1.3. The Settings>General>Software Update only appears if you have iOS 5.0 or higher currently installed.
    iOS 5: Updating your device to iOS 5 or Later
    http://support.apple.com/kb/HT4972
    How to install iOS 6
    http://www.macworld.com/article/2010061/hands-on-with-ios-6-installation.html
    iOS: How to update your iPhone, iPad, or iPod touch
    http://support.apple.com/kb/HT4623
    If you are currently running an iOS lower than 5.0, connect the iPad to the computer, open iTunes. Then select the iPad under the Devices heading on the left, click on the Summary tab and then click on Check for Update.
    Tip - If connected to your computer, you may need to disable your firewall and anitvirus software temporarily.  Then download and install the iOS update. Be sure and backup your iPad before the iOS update. After you update an iPad (except iPad 1) to iOS 6.x, the next update can be installed via wifi (i.e., not connected to your computer).
    Tip 2 - If you're updating via wifi, place your iPad close to your router to preclude getting a corrupted download.
     Cheers, Tom

  • Why doesn't my "notes" show within mail sidebar since the Maverick update?

    Why doesn't my "notes" show within mail sidebar since the Maverick update?

    Doing it over Wifi?  I was having the same issue.  I restarted my router and voila. 

  • Why doesn't my apps show up in iTunes?

    Why doesn't my apps show up in iTunes? I'm on iTunes 11.1.2.31 using an iPad mini on the latest IOS 7.0.3. Could it be that I'm on a new computer and have some settings messed up? See enclosed screenshot. It can obviously detect the number of apps (44), but why aren't they listed in the apps section?

    iPhone not recognized in iTunes for Windows

  • HT2500 why doesn't my mail show me how many unread emails i have

    why doesn't my mail show me how many unread emails i have

    Highlight each Mailbox & choose Rebuild from the Mailbox menu, does that cure it?

  • Why doesn't Lightroom 5 show up in my CC apps?

    Why doesn't Lightroom 5 show up in my CC apps?

    Most likely you simply ise an unsupported operating system. We really can't know. You have not provided any relevant info.
    Mylenium

  • Why doesn't anything happen when I hit the download button for Mavericks OS X?  I have a MacBook Late 2009 with Lion 10.7.5.

    Why doesn't anything happen when I hit the download button for Mavericks OS X?  I have a MacBook Late 2009 with Lion 10.7.5.

    Down load fron the Internet OmniDiskSweeper (free) and open it.  It will show you all of your files and the respective sizes.
    In addition, click on your HDD icon in the upper right hand corner of your desk top with COMMAND I (I as in the letter i).  What does it say about the space used and available.
    You may be experiencing this phenomenon:
    http://pondini.org/TM/30.html
    Ciao.

  • Why doesn't iPod touch save articles in the Reading list for off line reading?

    Why doesn't iPod touch save articles in the Reading list for off line reading?

    Because Apple did not set it up that way. Email the list to you. The Users Guide says:
    View an article in Reader: Tap the Reader button, if it appears in the address field.
    Adjust the font size: Tap .
    Share the article: Tap .
    Note: When you email an article from Reader, the full text of the article is sent, in addition to the link.

Maybe you are looking for