예제 #1
0
 private void FireParamChanged(ParamChangedEventArgs e)
 {
     if (ParamChanged != null)
     {
         ParamChanged(this, e);
     }
 }
예제 #2
0
        public void UpdateParameter(string key, object value)
        {
            if (value is bool)
            {
                if (((bool)value))
                {
                    _dbParamList[key] = "1";
                }
                else
                {
                    _dbParamList[key] = "0";
                }
            }

            else
            {
                _dbParamList[key] = value;
            }
            var args = new ParamChangedEventArgs(key, value);

            FireParamChanged(args);
        }
예제 #3
0
 private void FireParamChanged(ParamChangedEventArgs e)
 {
     if (ParamChanged != null)
     {
         ParamChanged(this, e);
     }
 }
예제 #4
0
        public void UpdateParameter(string key, object value)
        {
            if (value is bool)
            {
                if (((bool)value))
                {
                    _dbParamList[key] = "1";
                }
                else
                {
                    _dbParamList[key] = "0";
                }
            }

            else
            {
                _dbParamList[key] = value;
            }
            var args = new ParamChangedEventArgs(key, value);
            FireParamChanged(args);
        }