public Info() { InitializeComponent(); Screen screen = Screen.FromPoint(Cursor.Position); this.Location = new Point(screen.WorkingArea.Width - this.Width, screen.WorkingArea.Height - this.Height); label1.Text = ApplicationStartup.Get().currentText; pictureBox1.Image = ApplicationStartup.Get().baseImage; label3.Text = ApplicationStartup.Get().warningText; }
private void timer1_Tick(object sender, EventArgs e) { label1.Text = ApplicationStartup.Get().currentText; pictureBox1.Image = ApplicationStartup.Get().baseImage; label3.Text = ApplicationStartup.Get().warningText; }