Question : What is a Silverlight Navigation Application?

I just installed Visual Web Developer 2010 and see Silverlight Navigation Application as an option.

What is meant by "Navigation"?  GIS?

Wondering...

Answer : What is a Silverlight Navigation Application?

You can use a BackgroundWorker() like this:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
    public partial class Form1 : Form
    {

        private System.ComponentModel.BackgroundWorker bgw = null;
        private Class1 myObject1 = new Class1();

        public Form1()
        {
            InitializeComponent();
        }

        private void textBox1_KeyPress(object sender, KeyPressEventArgs e)
        {
            if (bgw == null)
            {
                bgw = new BackgroundWorker();
                bgw.DoWork += new DoWorkEventHandler(bgw_DoWork);
                bgw.RunWorkerCompleted += new RunWorkerCompletedEventHandler(bgw_RunWorkerCompleted);
            }

            if (e.KeyChar == 13 && !bgw.IsBusy)
            {
                textBox1.Enabled = false;
                myObject1.myString = textBox1.Text;
                bgw.RunWorkerAsync();
            }
        }

        void bgw_DoWork(object sender, DoWorkEventArgs e)
        {
            myObject1.queryRecent();
        }

        void bgw_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e)
        {
            label1.Text = myObject1.recentString;
            textBox1.Enabled = true;
        }

    }
Random Solutions  
 
programming4us programming4us