Example #1
0
 private void radialSlider1_ValueChanged(object sender, Syncfusion.Windows.Forms.Tools.RadialSlider.ValueChangedEventArgs args)
 {
     if (this.richTextBox1.SelectedText.Length == 0)
     {
         this.richTextBox1.SelectAll();
     }
     if (this.radialSlider1.Value > 0)
     {
         this.richTextBox1.SelectionFont = new System.Drawing.Font(Font.Name, (float)this.radialSlider1.Value);//
         this.Refresh();
     }
 }
Example #2
0
 private void radialSlider1_ValueChanged(object sender, Syncfusion.Windows.Forms.Tools.RadialSlider.ValueChangedEventArgs args)
 {
     this.m.WriteMemory(this.variableStore.DomesticWorldMarketSubsidyRate, "float", (this.radialSlider1.Value / 100).ToString());
 }