Пример #1
0
        void BtnClick(object sender, EventArgs e)
        {
            View v = sender as View;

            if (v == null)
            {
                return;
            }

            string cmd_ = v.Tag != null?v.Tag.ToString() : null;

            if (string.IsNullOrEmpty(cmd_))
            {
                return;
            }

            if (_numEdit != null)
            {
                _numEdit.processCmd(cmd_);
            }
        }
Пример #2
0
 public void setNumEdit(MobNumEdit pNumEdit)
 {
     _numEdit = pNumEdit;
     _numEdit.processCmd(CalcCmd.MS);
     _numEdit.processCmd(CalcCmd.reset);
 }