private void StartShowButton_Click(object sender, EventArgs e) { // Init a new podcast class... KLIKPodcast kp = new KLIKPodcast((DataRowView)Shows.SelectedItem); mf.kCurrentPodcast = kp; // Start the show at the business level... kp.StartShow(); // Do our GUI stuff... if (kp.kShow.kSkill == ShowPermissions.Advanced) { // Create an advanced controller form... AdvancedController ac = new AdvancedController(this.mf, kp); ac.Show(); mf.Hide(); } else { // Update the MainForm mf.UpdateStatus(); } // Close this form... this.Close(); }
public ChangeSong(KLIKPodcast kp, DateTime dt) { this.kCurrentPodcast = kp; this.dtPressed = dt; InitializeComponent(); }
public AdvancedController(MainForm mf, KLIKPodcast kPodcast) { this.mf = mf; this.kCurrentPodcast = kPodcast; InitializeComponent(); }
public ShowInfo(MainForm mf, KLIKPodcast kp) { if (kp == null || mf == null) { throw new Exception("Podcast or MainForm was null"); } this.mf = mf; this.kp = kp; InitializeComponent(); }
public UploadForm(KLIKPodcast kp) { this.kPodcast = kp; InitializeComponent(); }