/[cits3200i]/branches/metadata-branch-rvvs89/UWAPlugins/MetadataPlugin/Source/EditMetadataDialog.cs


UCC Code Repository

Contents of /branches/metadata-branch-rvvs89/UWAPlugins/MetadataPlugin/Source/EditMetadataDialog.cs

Parent Directory Parent Directory | Revision Log Revision Log


Revision 90 - (show annotations) (download)
Tue Oct 12 21:18:41 2010 UTC (11 years, 1 month ago) by rvvs89
File size: 976 byte(s)
Attaching metadata now works.
Saving metadata now works.
Loading metadata now works.
Editing metadata and cancelling your changes now works.
MetadataList now only commits on change.
Icons appear on the track when metadata is added.
Icons can be double clicked to launch the editor.
1 using System;
2 using System.Collections.Generic;
3 using System.ComponentModel;
4 using System.Data;
5 using System.Drawing;
6 using System.Text;
7 using System.Windows.Forms;
8
9 namespace MetadataPlugin.Source
10 {
11 public partial class EditMetadataDialog : Form
12 {
13 private static EditMetadataDialog instance;
14
15 public static EditMetadataDialog Instance
16 {
17 get { return instance; }
18 }
19
20 static EditMetadataDialog()
21 {
22 instance = new EditMetadataDialog();
23 }
24
25 public EditMetadataDialog()
26 {
27 InitializeComponent();
28 }
29
30 public EditMetadataControl Control
31 {
32 get { return control; }
33 }
34
35 private void EditMetadataDialog_FormClosing(object sender, FormClosingEventArgs e)
36 {
37 if (control != null)
38 {
39 control.Cancel();
40 }
41 }
42 }
43 }

Managed by UCC Webmasters ViewVC Help
Powered by ViewVC 1.1.26