Ejemplo n.º 1
0
        private void lstEntries_DoubleClick(object sender, EventArgs e)
        {
            // Check
            if (1 != lstEntries.SelectedItems.Count)
            {
                return;
            }

            // Load
            EPGEntry entry = lstEntries.SelectedItems[0] as EPGEntry;

            // None
            if (null == entry)
            {
                return;
            }

            // Show
            using (EPGDisplay dialog = new EPGDisplay(entry))
                if (DialogResult.OK == dialog.ShowDialog(this))
                {
                    Close();
                }
        }
Ejemplo n.º 2
0
        private void lstEntries_DoubleClick( object sender, EventArgs e )
        {
            // Check
            if (1 != lstEntries.SelectedItems.Count) return;

            // Load
            EPGEntry entry = lstEntries.SelectedItems[0] as EPGEntry;

            // None
            if (null == entry) return;

            // Show
            using (EPGDisplay dialog = new EPGDisplay( entry ))
                if (DialogResult.OK == dialog.ShowDialog( this ))
                    Close();
        }