示例#1
0
        public VM_EditBudgetVar(VM_BudgetVar vM_BudgetVar)
        {
            MethodList = new ObservableCollection <string>(BudgetVar.GetMethodList());

            _vM_BudgetVar = vM_BudgetVar;
            Name          = vM_BudgetVar.Name;
            Value         = vM_BudgetVar.Value;
            SelMethod     = vM_BudgetVar.Method;
        }
示例#2
0
 private void Initialize()
 {
     MethodList = new ObservableCollection <string>(BudgetVar.GetMethodList());
     SelMethod  = "Value";
     Name       = Value = "";
 }