[xiph-commits] r7318 - trunk/oggdsf/src/tools/iOCE

illiminable at dactyl.lonelymoon.com illiminable
Sat Jul 24 09:59:20 PDT 2004


Author: illiminable
Date: Sat Jul 24 09:59:20 2004
New Revision: 7318

Modified:
trunk/oggdsf/src/tools/iOCE/frmMain.cs
trunk/oggdsf/src/tools/iOCE/frmMain.resx
Log:
* User Comment removal works in GUI.

Modified: trunk/oggdsf/src/tools/iOCE/frmMain.cs
===================================================================
--- trunk/oggdsf/src/tools/iOCE/frmMain.cs	2004-07-24 16:49:18 UTC (rev 7317)
+++ trunk/oggdsf/src/tools/iOCE/frmMain.cs	2004-07-24 16:59:19 UTC (rev 7318)
@@ -185,6 +185,7 @@
this.cmdRemove.Size = new System.Drawing.Size(80, 24);
this.cmdRemove.TabIndex = 4;
this.cmdRemove.Text = "&Remove";
+			this.cmdRemove.Click += new System.EventHandler(this.cmdRemove_Click);
//
// cmdAdd
//
@@ -336,5 +337,18 @@
}
}
}
+
+		private void cmdRemove_Click(object sender, System.EventArgs e)
+		{
+			ListView.SelectedListViewItemCollection locSelected = lsvUserComments.SelectedItems;
+
+
+
+			if (locSelected.Count == 1)
+			{
+				ListViewItem locItem = locSelected[0];
+				lsvUserComments.Items.Remove(locItem);
+			}
+		}
}
}

Modified: trunk/oggdsf/src/tools/iOCE/frmMain.resx
===================================================================
--- trunk/oggdsf/src/tools/iOCE/frmMain.resx	2004-07-24 16:49:18 UTC (rev 7317)
+++ trunk/oggdsf/src/tools/iOCE/frmMain.resx	2004-07-24 16:59:19 UTC (rev 7318)
@@ -178,10 +178,10 @@
<data name="cmdAdd.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
-  <data name="cmdAdd.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+  <data name="cmdAdd.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
-  <data name="cmdAdd.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+  <data name="cmdAdd.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>
<data name="lsvUserComments.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
@@ -259,15 +259,15 @@
<data name="$this.DrawGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
-  <data name="$this.Name">
-    <value>frmMain</value>
-  </data>
<data name="$this.TrayHeight" type="System.Int32, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>80</value>
</data>
<data name="$this.SnapToGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</data>
+  <data name="$this.Name">
+    <value>frmMain</value>
+  </data>
<data name="$this.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Private</value>
</data>



More information about the commits mailing list