private void UpdateTermBtn_Click(object sender, RoutedEventArgs e) { Button btn = (Button)sender; ActiveTermModel model = new ActiveTermModel(); model = (ActiveTermModel)btn.Tag; // TODO - Update the selected term CreateActiveTermWindow win = new CreateActiveTermWindow(this, model); win.ShowDialog(); WireUpLists(); }
private void AddTermBtn_Click(object sender, RoutedEventArgs e) { CreateActiveTermWindow win = new CreateActiveTermWindow(this); win.ShowDialog(); }