public void DataBind(WorkingСapitalBusinessAnalysis model)
 {
     ViewModel        = (WorkingСapitalBusinessAnalysis)model;
     this.DataContext = (WorkingСapitalBusinessAnalysis)model;
     LoadDiagram(ref chart);
     LoadDiagram2(ref chart2);
     UpdateColors();
 }
示例#2
0
 public void DataBind(MainModel model)
 {
     ViewModel = (WorkingСapitalBusinessAnalysis)model.WorkingСapitalBA;
     this.DataContext = (WorkingСapitalBusinessAnalysis)model.WorkingСapitalBA;
     mainModel = model;
     LoadDiagram(ref chart);
     LoadDiagram2(ref chart2);
 }