HI i am trying to use the waitingbar bar but i can't get it to work, here is my code:
private void btnCheckServers_Click(object sender, EventArgs e) |
{ |
this.radWaitingBar1.StartWaiting(); |
label1.Text = "trying to connect...."; |
Telnet Session = new Telnet(this.txtIP.Text, Convert.ToInt16(this.txtPortTest.Text), 1000); |
|
try |
{ |
Session.Connect(); |
label1.Text = Session.ReturnMessage; |
} |
catch (Exception ex) |
{ |
label1.Text = ex.Message; |
} |
|
this.radWaitingBar1.EndWaiting(); |
|
} |
Can someone tell me what i do wrong?
Thanx and greetings,
Wim
In the Help i read this:
- Place a RadWaitingBar control and a RadButton control on a form.
- Select the RadWaitingBar control.
- Set the StepWidth property to 4.
- Set the ThemeName property to ControlDefault.
- Set the BackColor property to BlueViolet.
- Select the RadButton control.
- Set the Text property to Animate.
- In the Properties window, click the events button.
- Double-click the Click event.
- Replace the automatically-generated event handler with this code:
thing is that i cant find property StepWidth!