SwitchToPanel() public method

Switch to the panel named panel_name.
public SwitchToPanel ( string panel_name ) : void
panel_name string Name of panel to switch to. This panel /// must be loaded into the panels array.
return void
コード例 #1
0
ファイル: PlaylistsPanel.cs プロジェクト: pipipierre/Notpod
        public void EditAssociationsButton_Click(object sender, EventArgs e)
        {
            Control clickedObject = (Control)sender;
            PlaylistAssociationControl playlistAssociationControl = (PlaylistAssociationControl)clickedObject.Parent;

            model["editAssociationsPlaylistID"] = playlistAssociationControl.PlaylistID;
            mainForm.SwitchToPanel("associations");
        }
コード例 #2
0
 void BtnBackClick(object sender, EventArgs e)
 {
     mainForm.SwitchToPanel("playlists");
 }