Exemplo n.º 1
0
        private void Form1_Load(object sender, EventArgs e)
        {
            timer1.Enabled = false;

            // Fullscreen
            this.WindowState = FormWindowState.Normal;
            this.Bounds      = Screen.PrimaryScreen.Bounds;

            // TEACHER ONLY
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;

            // Scretch the picturebox on all the form (fullscreen)
            this.pictureBox1.Size = this.Size;

            // User ID
            this.Text = "View - Offline - Client " + this.userId.ToString();

            // Init data
            this.upd = new UserPhotoData(this.userId);
            fillDates();

            // Ready
            MessageBox.Show("Offline Streaming client " + this.userId.ToString());
        }
Exemplo n.º 2
0
 private void btnRefresh_Click(object sender, EventArgs e)
 {
     this.upd = new UserPhotoData(this.userId);
     fillDates();
 }