Esempio n. 1
0
 private void Init(QVariableState state, GVariableModel model)
 {
     state.Model = model;
     OnTypeChanged(state, type);
     state.onTypeChanged = OnTypeChanged;
     state.onSubStateAdd = OnSubStateAdd;
     state.onSubStateDel = OnSubStateDel;
 }
Esempio n. 2
0
        private void OnSubStateAdd(QVariableState state)
        {
            GVariableModel model = new GVariableModel(target);

            model.state = state;
            Init(model.state, model);
            lstSubModel.Add(model);
        }