Пример #1
0
		private void Exit_Click(object sender, System.Windows.RoutedEventArgs e)
		{
			// 在此处添加事件处理程序实现。
			InRoom room = new InRoom();
			room.Show();
			this.Close();
		}
Пример #2
0
		private void Button_Click(object sender, System.Windows.RoutedEventArgs e)
		{
            if (!sflag)
            {
            }
            else
            {
                first.Stop();
                sflag = false;
            }
            first.Dispose();
			InRoom room = new InRoom();
			room.Show();
			this.Close();
		}