/[xmltv_parser]/trunk/xmltv_parser/main.cs
ViewVC logotype

Diff of /trunk/xmltv_parser/main.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

--- trunk/xmltv_parser/main.cs	2013/03/20 06:54:00	247
+++ trunk/xmltv_parser/main.cs	2013/03/22 16:41:42	248
@@ -404,6 +404,7 @@
             object data = XMLTV.CreateBindingSourceFromData(XMLTV.GetPrograms(), out data_type);
             XMLTV.CreateFilterFromDataSource(ref data, column, txtFilterText.Text);
             dataGrid.DataSource = data;
+            dataGrid_SelectionChanged(dataGrid, new EventArgs());
         }
         private RadioButton GetSelectedFilteringControl()
         {
@@ -500,6 +501,7 @@
             XMLTV.CreateSorterFromDataSource(ref data, Descending, column);
             dataGrid.DataSource = data;
             ToggleDescedning();
+            dataGrid_SelectionChanged(dataGrid, new EventArgs());
         }
         private RadioButton GetSelectedSortControl()
         {
@@ -526,6 +528,11 @@
         }
         #endregion
 
+        private void dataGrid_Click(object sender, EventArgs e)
+        {
+            dataGrid_SelectionChanged(dataGrid, new EventArgs());
+        }
+
        
     }
 }

 

  ViewVC Help
Powered by ViewVC 1.1.22