//*********************** //* * //* ContentType_Click * //* * //*********************** // Edit content types. private void ContentType_Click(object sender, System.Windows.RoutedEventArgs e) { ContentTypesDialog dlg = new ContentTypesDialog(); dlg.LoadContentTypes(ContentTypes); if (dlg.ShowDialog().Value) { this.Cursor = System.Windows.Input.Cursors.Wait; ContentTypes = dlg.GetContentTypes(); SaveContentTypes(); this.Cursor = System.Windows.Input.Cursors.Arrow; } }