Пример #1
0
 void ratingControl3_ValueChanging(object sender, Syncfusion.Windows.Forms.Tools.ValueChangingEventArgs args)
 {
     if (args.Value == 1)
     {
         this.ratingControl3.ToolTipSettings.Body.Text = "10%";
     }
     else if (args.Value == 2)
     {
         this.ratingControl3.ToolTipSettings.Body.Text = "20%";
     }
     else if (args.Value == 3)
     {
         this.ratingControl3.ToolTipSettings.Body.Text = "30%";
     }
     else if (args.Value == 4)
     {
         this.ratingControl3.ToolTipSettings.Body.Text = "40%";
     }
     else if (args.Value == 5)
     {
         this.ratingControl3.ToolTipSettings.Body.Text = "50%";
     }
     else if (args.Value == 6)
     {
         this.ratingControl3.ToolTipSettings.Body.Text = "60%";
     }
     else if (args.Value == 7)
     {
         this.ratingControl3.ToolTipSettings.Body.Text = "70%";
     }
     else if (args.Value == 8)
     {
         this.ratingControl3.ToolTipSettings.Body.Text = "80%";
     }
     else if (args.Value == 9)
     {
         this.ratingControl3.ToolTipSettings.Body.Text = "90%";
     }
     else if (args.Value == 10)
     {
         this.ratingControl3.ToolTipSettings.Body.Text = "100%";
     }
 }
Пример #2
0
 void ratingControl2_ValueChanging(object sender, Syncfusion.Windows.Forms.Tools.ValueChangingEventArgs args)
 {
     if (args.Value == 1)
     {
         this.ratingControl2.ToolTipSettings.Body.Text = "Poor";
     }
     else if (args.Value == 2)
     {
         this.ratingControl2.ToolTipSettings.Body.Text = "Bad";
     }
     else if (args.Value == 3)
     {
         this.ratingControl2.ToolTipSettings.Body.Text = "Average";
     }
     else if (args.Value == 4)
     {
         this.ratingControl2.ToolTipSettings.Body.Text = "Good";
     }
     else if (args.Value == 5)
     {
         this.ratingControl2.ToolTipSettings.Body.Text = "Excellent";
     }
 }
Пример #3
0
 void ratingControl7_ValueChanging(object sender, Syncfusion.Windows.Forms.Tools.ValueChangingEventArgs args)
 {
     this.textBoxExt4.Text = this.textBoxExt4.Text + Environment.NewLine + "Rating Control value changed to :" + args.Value;
 }