Ejemplo n.º 1
0
 private void entryNum_EntryValueChanged(object sender, EntryIntEventArgs e)
 {
     if (this.EntryValueChanged == null)
     {
         return;
     }
     this.EntryValueChanged((object)this, (EventArgs) new PointEvent(e.Value, 0.0, false));
 }
Ejemplo n.º 2
0
        private void EntryValueChanged(object sender, EntryIntEventArgs e)
        {
            EntryIntEx entryIntEx = sender as EntryIntEx;
            string     empty      = string.Empty;

            switch (entryIntEx.Name)
            {
            default:
                this._propertyItem.SetValue(empty, (object)e.Value, (object[])null);
                break;
            }
        }
Ejemplo n.º 3
0
 private void spinbutton1_EntryValueChanged(object sender, EntryIntEventArgs e)
 {
     if (!this._isHscale)
     {
         this.hscale1.Adjustment.Value = this.entry.Value;
     }
     if (this.ValueChanged == null)
     {
         return;
     }
     this.RaiseValueChanged((object)null, (System.Action)(() => this.ValueChanged((object)null, new PointEvent(Math.Round(this.hscale1.Adjustment.Value * this.changVaule, 0), 0.0, false))));
 }
Ejemplo n.º 4
0
        private void EntryValueChanged(object sender, EntryIntEventArgs e)
        {
            EntryIntEx entryIntEx = sender as EntryIntEx;
            string     empty      = string.Empty;
            string     name       = entryIntEx.Name;

            if (name != null)
            {
                if (!(name == "top"))
                {
                    if (!(name == "bottom"))
                    {
                        if (!(name == "left"))
                        {
                            if (!(name == "right"))
                            {
                            }
                        }
                    }
                }
            }
            this._propertyItem.SetValue(empty, e.Value, null);
        }
Ejemplo n.º 5
0
 private void XEntryValueChangedHandler(object sender, EntryIntEventArgs e)
 {
     using (GetLock())
     {
         for (int i = 0; i < PropertyItem.Objects.Count; i++)
         {
             ScaleValue value = PropertyItem.Values[i] as ScaleValue;
             value.ScaleX = e.Value;
             PropertyItem.Values[i] = value;
         }
     }
 }