public virtual void OnZoomChanged(ZoomChangedEventArgs e)
 {
     if (this.ZoomChanged == null)
     {
         return;
     }
     this.ZoomChanged((object)this, e);
 }
Example #2
0
 private void OnZoomChanged(object sender, ZoomChangedEventArgs args)
 {
     if (this.ActiveControl == this.comboBox1)
     {
         return;
     }
     this.comboBox1.Text = Convert.ToString(Math.Round((double)args.zoomCoef * 100.0, 2));
 }
Example #3
0
        private void OnZoomChanged(object sender, ZoomChangedEventArgs args)
        {
            if (ActiveControl == comboBox1)
            {
                return;
            }

            comboBox1.Text = Convert.ToString(Math.Round(args.zoomCoef * 100, 2));
        }