public static void ShowExtendedInfo(IWin32Window owner, UiBroadcastService service, EpgProgram epgProgram) { using (var dialog = new EpgExtendedInfoDialog()) { // TODO: EPG /* * dialog.ProgramInfo = new ProgramEpgInfo() * { * Service = service, * Base = epgProgram, * }; * dialog.ShowDialog(owner); */ } // using dialog } // ShowExtendedInfo
} // pictureProgramThumbnail_LoadCompleted private void pictureProgramThumbnail_Click(object sender, EventArgs e) { EpgExtendedInfoDialog.ShowExtendedInfo(this, Service, EpgProgram); } // pictureProgramThumbnail_Click
} // DisplayData private void buttonProgramProperties_Click(object sender, EventArgs e) { EpgExtendedInfoDialog.ShowExtendedInfo(this, Service, EpgProgram); } // buttonProgramProperties_Click