Esempio n. 1
0
 public Artist()
 {
     InitializeComponent();
     this.DoubleBuffered = true;
     foreach (Control control in this.Controls)
     {
         MainScreen.EnableDoubleBuferring(control);
     }
 }
Esempio n. 2
0
 public Home(MainScreen parentForm)
 {
     InitializeComponent();
     callForm            = parentForm;
     this.DoubleBuffered = true;
     foreach (Control control in this.Controls)
     {
         MainScreen.EnableDoubleBuferring(control);
     }
 }
Esempio n. 3
0
 public SearchBox(MainScreen callForm)
 {
     InitializeComponent();
     this.DoubleBuffered = true;
     foreach (Control control in this.Controls)
     {
         MainScreen.EnableDoubleBuferring(control);
     }
     mainScr = callForm;
 }
Esempio n. 4
0
        public ArtistContainer()
        {
            InitializeComponent();
            opacity_panel.BackColor = Color.FromArgb(125, Color.Black);
            this.DoubleBuffered     = true;

            foreach (Control control in this.Controls)
            {
                MainScreen.EnableDoubleBuferring(control);
            }
        }
Esempio n. 5
0
        public SuggestSong()
        {
            InitializeComponent();

            hideScrollBar();
            this.DoubleBuffered = true;
            foreach (Control control in this.Controls)
            {
                MainScreen.EnableDoubleBuferring(control);
            }
        }
Esempio n. 6
0
 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);
     }
 }
Esempio n. 7
0
        public AddtoPlaylistForm(MainScreen callForm, string trackid)
        {
            InitializeComponent();
            mainScr             = callForm;
            trackID             = trackid;
            this.DoubleBuffered = true;

            foreach (Control control in this.Controls)
            {
                MainScreen.EnableDoubleBuferring(control);
            }
        }
Esempio n. 8
0
 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);
     }
 }
Esempio n. 9
0
        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);
            }
        }
Esempio n. 10
0
        public HomeItemContainer(string name)
        {
            InitializeComponent();
            containerTitle_label.Text = name;

            hideScrollBar();
            this.DoubleBuffered = true;

            foreach (Control control in this.Controls)
            {
                MainScreen.EnableDoubleBuferring(control);
            }
        }
Esempio n. 11
0
        public PlaylistDetail(Playlist callFm)
        {
            InitializeComponent();

            playlistForm = callFm;

            this.DoubleBuffered = true;

            foreach (Control control in this.Controls)
            {
                MainScreen.EnableDoubleBuferring(control);
            }
        }
Esempio n. 12
0
 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);
     }
 }
Esempio n. 13
0
        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;
        }
Esempio n. 14
0
        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);
            }
        }
Esempio n. 15
0
        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);
            }
        }
Esempio n. 16
0
        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);
            }
        }
Esempio n. 17
0
        public MixDetail(MyMix callform)
        {
            InitializeComponent();


            myMix = callform;



            this.DoubleBuffered = true;
            foreach (Control control in this.Controls)
            {
                MainScreen.EnableDoubleBuferring(control);
            }
        }
Esempio n. 18
0
        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();
        }
Esempio n. 19
0
        public ArtistDetail(Artist artistFm)
        {
            InitializeComponent();


            artistForm = artistFm;



            this.DoubleBuffered = true;

            foreach (Control control in this.Controls)
            {
                MainScreen.EnableDoubleBuferring(control);
            }
        }
Esempio n. 20
0
        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);
            }
        }
Esempio n. 21
0
        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();
        }
Esempio n. 22
0
        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);
            }
        }
Esempio n. 23
0
        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);
            }
        }
Esempio n. 24
0
        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);
            }
        }
Esempio n. 25
0
        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();
        }
Esempio n. 26
0
 public ChangePwd(MainScreen input)
 {
     InitializeComponent();
     mainscr = input;
 }
Esempio n. 27
0
 public UpdateInfo(MainScreen input)
 {
     InitializeComponent();
     mainscr = input;
 }