コード例 #1
0
ファイル: SpinButton.cs プロジェクト: windygu/haina
 protected virtual void OnSpinChanged(SpinChangedEventArgs e)
 {
     if (this.SpinChanged != null)
     {
         this.SpinChanged(this, e);
     }
 }
コード例 #2
0
ファイル: NumericUpDown.cs プロジェクト: windygu/haina
 private void OnPlusButtonSpinChanged(object sender, SpinChangedEventArgs e)
 {
     if (!this.Focused)
     {
         this.TextBoxShow();
     }
     this.ParseText(true, false);
     this.Value += this.m_increment * Convert.ToDecimal(Math.Pow(10.0, (double)(e.IncreaseRate - 1)));
 }
コード例 #3
0
ファイル: NumericUpDown.cs プロジェクト: north0808/haina
 private void OnPlusButtonSpinChanged(object sender, SpinChangedEventArgs e)
 {
     if (!this.Focused)
     {
         this.TextBoxShow();
     }
     this.ParseText(true, false);
     this.Value += this.m_increment * Convert.ToDecimal(Math.Pow(10.0, (double) (e.IncreaseRate - 1)));
 }
コード例 #4
0
ファイル: SpinButton.cs プロジェクト: north0808/haina
 protected virtual void OnSpinChanged(SpinChangedEventArgs e)
 {
     if (this.SpinChanged != null)
     {
         this.SpinChanged(this, e);
     }
 }