CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: shawnbot

Search: Search took 0.01 seconds.

  1. Thread: WPF Iteration

    by shawnbot
    Replies
    7
    Views
    1,445

    Re: WPF Iteration

    Cool, thanks for the feedback! Final solution that supported by WPF:

    Code:
    int i = 1;
    while (i < 6)
    {
    textBox1.AppendText(String.Format("current value...
  2. Thread: WPF Iteration

    by shawnbot
    Replies
    7
    Views
    1,445

    Re: WPF Iteration

    I like it but I pasted you code snippet and got an error on the texBox1.Lines method. Should this work or am I missing something?

    using System;
    using System.Collections.Generic;
    using...
  3. Thread: WPF Iteration

    by shawnbot
    Replies
    7
    Views
    1,445

    Re: WPF Iteration

    Yup, that makes sense now that I look a little closer :)

    Here's the solution I came up with:

    textBox1.Text += "current value of n is " + n++ + Environment.NewLine;

    Thanks for the pointer!
  4. Thread: WPF Iteration

    by shawnbot
    Replies
    7
    Views
    1,445

    WPF Iteration

    Hello,

    Using .net 4 & VS C# Express 2010, new to both and I'm working through some basic programming tasks.

    I'm trying to have a while loop count disaplyed in my WFP textbox which is easy...
Results 1 to 4 of 4


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)