示例#1
0
        private void backButton_Click(object sender, EventArgs e)
        {
            Form f = this.FindForm();

            f.Controls.Remove(this);

            ClockScreen cs = new ClockScreen();

            f.Controls.Add(cs);
        }
示例#2
0
        private void clockBox_Click(object sender, EventArgs e)
        {
            Form f = this.FindForm();

            f.Controls.Remove(this);

            ClockScreen hs = new ClockScreen();

            f.Controls.Add(hs);
        }