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; }
private void Initialize() { MethodList = new ObservableCollection <string>(BudgetVar.GetMethodList()); SelMethod = "Value"; Name = Value = ""; }