public SwitchToPanel ( string panel_name ) : void | ||
panel_name | string | Name of panel to switch to. This panel /// must be loaded into the panels array. |
Résultat | void |
public void EditAssociationsButton_Click(object sender, EventArgs e) { Control clickedObject = (Control)sender; PlaylistAssociationControl playlistAssociationControl = (PlaylistAssociationControl)clickedObject.Parent; model["editAssociationsPlaylistID"] = playlistAssociationControl.PlaylistID; mainForm.SwitchToPanel("associations"); }
void BtnBackClick(object sender, EventArgs e) { mainForm.SwitchToPanel("playlists"); }