public Artist() { InitializeComponent(); this.DoubleBuffered = true; foreach (Control control in this.Controls) { MainScreen.EnableDoubleBuferring(control); } }
public Home(MainScreen parentForm) { InitializeComponent(); callForm = parentForm; this.DoubleBuffered = true; foreach (Control control in this.Controls) { MainScreen.EnableDoubleBuferring(control); } }
public SearchBox(MainScreen callForm) { InitializeComponent(); this.DoubleBuffered = true; foreach (Control control in this.Controls) { MainScreen.EnableDoubleBuferring(control); } mainScr = callForm; }
public ArtistContainer() { InitializeComponent(); opacity_panel.BackColor = Color.FromArgb(125, Color.Black); this.DoubleBuffered = true; foreach (Control control in this.Controls) { MainScreen.EnableDoubleBuferring(control); } }
public SuggestSong() { InitializeComponent(); hideScrollBar(); this.DoubleBuffered = true; foreach (Control control in this.Controls) { MainScreen.EnableDoubleBuferring(control); } }
public AddtoPlaylistForm(MainScreen callForm, bool input, List <TrackInfo> inputTrack) { InitializeComponent(); isnotsingletrack = input; mainScr = callForm; this.DoubleBuffered = true; tracks = inputTrack; foreach (Control control in this.Controls) { MainScreen.EnableDoubleBuferring(control); } }
public AddtoPlaylistForm(MainScreen callForm, string trackid) { InitializeComponent(); mainScr = callForm; trackID = trackid; this.DoubleBuffered = true; foreach (Control control in this.Controls) { MainScreen.EnableDoubleBuferring(control); } }
public TrackContainer_Home(string trackID, MainScreen mainScreen) { InitializeComponent(); track.TrackID = trackID; mainScr = mainScreen; load_worker.RunWorkerAsync(); this.DoubleBuffered = true; foreach (Control control in this.Controls) { MainScreen.EnableDoubleBuferring(control); } }
public UpdatePlaylist(PlaylistContainer playlistContainer) { InitializeComponent(); this.playlistContainer = playlistContainer; Title_TextBox.Text = playlistContainer.playlistName; Description_TextBox.Text = playlistContainer.description; this.DoubleBuffered = true; foreach (Control control in this.Controls) { MainScreen.EnableDoubleBuferring(control); } }
public HomeItemContainer(string name) { InitializeComponent(); containerTitle_label.Text = name; hideScrollBar(); this.DoubleBuffered = true; foreach (Control control in this.Controls) { MainScreen.EnableDoubleBuferring(control); } }
public PlaylistDetail(Playlist callFm) { InitializeComponent(); playlistForm = callFm; this.DoubleBuffered = true; foreach (Control control in this.Controls) { MainScreen.EnableDoubleBuferring(control); } }
public Playlist() { InitializeComponent(); panel_default_playlist.Location = new Point( this.ClientSize.Width / 2 - panel_default_playlist.Size.Width / 2, this.ClientSize.Height / 2 - panel_default_playlist.Size.Height / 2); panel_default_playlist.Anchor = AnchorStyles.None; /*panel_default_playlist.BringToFront();*/ this.DoubleBuffered = true; foreach (Control control in this.Controls) { MainScreen.EnableDoubleBuferring(control); } }
public MixDetail() { InitializeComponent(); this.DoubleBuffered = true; foreach (Control control in this.Controls) { MainScreen.EnableDoubleBuferring(control); } track_dataGridView.Rows.Add(); track_dataGridView.Rows[0].Visible = false; }
public PlaylistContainer(Playlist callform, string PLAYLIST_ID, bool canDelete) { InitializeComponent(); playlistID = PLAYLIST_ID; playlistFm = callform; this.DoubleBuffered = true; //load trước track table trackTable_woker.RunWorkerAsync(); this.canDelete = canDelete; foreach (Control control in this.Controls) { MainScreen.EnableDoubleBuferring(control); } }
public Login() { InitializeComponent(); string connectionString = ConfigurationManager.ConnectionStrings["connectionString"].ConnectionString; connection = new SqlConnection(connectionString); userName_textBox.Focus(); this.DoubleBuffered = true; foreach (Control control in this.Controls) { MainScreen.EnableDoubleBuferring(control); } }
public SongDetail(MainScreen callForm) { InitializeComponent(); mainscr = callForm; songDetail_panel = mainscr.getSongDetailPanel(); soundPlayer = mainscr.getSoundPlayer(); MainScreen.hideScrollBar(suggestedTracks_flowPanel, "flow"); this.DoubleBuffered = true; foreach (Control control in this.Controls) { MainScreen.EnableDoubleBuferring(control); } }
public MixDetail(MyMix callform) { InitializeComponent(); myMix = callform; this.DoubleBuffered = true; foreach (Control control in this.Controls) { MainScreen.EnableDoubleBuferring(control); } }
public resetPassword(Account account) { InitializeComponent(); user = account; string connectionString = ConfigurationManager.ConnectionStrings["connectionString"].ConnectionString; connection = new SqlConnection(connectionString); this.DoubleBuffered = true; foreach (Control control in this.Controls) { MainScreen.EnableDoubleBuferring(control); } password_textBox.Focus(); }
public ArtistDetail(Artist artistFm) { InitializeComponent(); artistForm = artistFm; this.DoubleBuffered = true; foreach (Control control in this.Controls) { MainScreen.EnableDoubleBuferring(control); } }
public PlaylistContainer(Playlist callform, string PLAYLIST_ID, Image chartCover) { InitializeComponent(); playlistID = PLAYLIST_ID; playlistFm = callform; playlistCover_panel.BackgroundImage = chartCover; this.DoubleBuffered = true; //load trước track table isChart = true; canDelete = false; trackTable_woker.RunWorkerAsync(); foreach (Control control in this.Controls) { MainScreen.EnableDoubleBuferring(control); } }
public AlbumContainer(string albumID, Albums AlbumForm) { InitializeComponent(); this.albumID = albumID; this.AlbumForm = AlbumForm; this.DoubleBuffered = true; foreach (Control control in this.Controls) { MainScreen.EnableDoubleBuferring(control); } //load track in album track_worker.RunWorkerAsync(); }
public CreatePlayList(MainScreen callForm) { InitializeComponent(); mainScr = callForm; PlaylistMenu_panel = mainScr.getCreatePlayList_FlowPanel(); Description_TextBox.GotFocus += Description_TextBox_GotFocus; Description_TextBox.LostFocus += Description_TextBox_LostFocus; Title_TextBox.GotFocus += Title_TextBox_GotFocus; Title_TextBox.LostFocus += Title_TextBox_LostFocus; this.DoubleBuffered = true; foreach (Control control in this.Controls) { MainScreen.EnableDoubleBuferring(control); } }
public AlbumDetail(Albums albums) { InitializeComponent(); albumsFm = albums; string connectionString = ConfigurationManager.ConnectionStrings["connectionString"].ConnectionString; connection = new SqlConnection(connectionString); album_gridView.Rows.Add(); album_gridView.Rows[0].Visible = false; this.DoubleBuffered = true; foreach (Control control in this.Controls) { MainScreen.EnableDoubleBuferring(control); } }
public MyMixContainer(MyMix callform, string id, MixDetail detail) { InitializeComponent(); //mixForm to get userID from mainscreen mixForm = callform; mixID = id; //load mixdetail on clicking opacity panel mixDetail = detail; cover_worker.RunWorkerAsync(); artist_worker.RunWorkerAsync(); artist_label.Text = ""; this.DoubleBuffered = true; foreach (Control control in this.Controls) { MainScreen.EnableDoubleBuferring(control); } }
public Tracks(MainScreen callFm) { InitializeComponent(); mainScr = callFm; string connectionString = ConfigurationManager.ConnectionStrings["connectionString"].ConnectionString; connection = new SqlConnection(connectionString); //enable doublebuffered this.DoubleBuffered = true; foreach (Control control in this.Controls) { MainScreen.EnableDoubleBuferring(control); } //dummy row track_gridView.Rows.Add(); track_gridView.Rows[0].Visible = false; //MessageBox.Show(dataGridView1.Font.ToString()); load_worker.RunWorkerAsync(); }
public ChangePwd(MainScreen input) { InitializeComponent(); mainscr = input; }
public UpdateInfo(MainScreen input) { InitializeComponent(); mainscr = input; }