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()); }
private void btnRefresh_Click(object sender, EventArgs e) { this.upd = new UserPhotoData(this.userId); fillDates(); }