예제 #1
0
 public RemoveChartView()
 {
     InitializeComponent();
     _dataContext = new RemoveChartViewModel(Token);
     DataContext = _dataContext;
     AddKeyBindings<BaseEntity>();
     Closed += RemoveChartNewView_Closed;
 }
예제 #2
0
 void RemoveChartNewView_Closed(object sender, System.EventArgs e)
 {
     _dataContext.Dispose();
     _dataContext = null;
 }