Exemple #1
0
        public void SetFare(double f)
        {
            ValueChangeEventArg arg = new ValueChangeEventArg(fare, f);

            fare = f;
            FareChangeEvent(this, arg);
        }
 static void OnValueChange(object sender, ValueChangeEventArg args)
 {
     Console.WriteLine("old value is {0}, new value is {1}", args.getOldValue(), args.getNewValue());
 }
Exemple #3
0
 static void OnValueChange(object sender, ValueChangeEventArg args)
 {
     Console.WriteLine("old value is {0}, new value is {1}", args.getOldValue(), args.getNewValue());
 }