You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
|
using System;
|
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
using System.Linq;
|
|
|
|
|
|
using System.Reflection;
|
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
using System.Windows;
|
|
|
|
|
|
using System.Windows.Controls;
|
|
|
|
|
|
using System.Windows.Data;
|
|
|
|
|
|
using System.Windows.Documents;
|
|
|
|
|
|
using System.Windows.Input;
|
|
|
|
|
|
using System.Windows.Media;
|
|
|
|
|
|
using System.Windows.Media.Imaging;
|
|
|
|
|
|
using System.Windows.Navigation;
|
|
|
|
|
|
using System.Windows.Shapes;
|
|
|
|
|
|
|
|
|
|
|
|
namespace XGL.Views
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// LanJu_User.xaml 的交互逻辑
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public partial class LanJu_User : UserControl
|
|
|
|
|
|
{
|
|
|
|
|
|
public static LanJu_User lanJu_User;
|
|
|
|
|
|
Frame frame = new Frame() { Content = new Views.LanJu_NowUser() };
|
|
|
|
|
|
public enum WindowID
|
|
|
|
|
|
{
|
|
|
|
|
|
frame
|
|
|
|
|
|
}
|
|
|
|
|
|
public LanJu_User()
|
|
|
|
|
|
{
|
|
|
|
|
|
InitializeComponent();
|
|
|
|
|
|
lanJu_User = this;
|
|
|
|
|
|
WindowChange(WindowID.frame);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public void WindowChange(WindowID windowID)
|
|
|
|
|
|
{
|
|
|
|
|
|
Window3.Content = frame;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
private void Now_Click(object sender, RoutedEventArgs e)
|
|
|
|
|
|
{
|
|
|
|
|
|
LanJu_NowUser lanJu_NowUser = new LanJu_NowUser();
|
|
|
|
|
|
Window3.Content = new Frame()
|
|
|
|
|
|
{
|
|
|
|
|
|
Content = lanJu_NowUser
|
|
|
|
|
|
};
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
private void Record_Click(object sender, RoutedEventArgs e)
|
|
|
|
|
|
{
|
|
|
|
|
|
LanJu_UserRecord lanJu_UserRecord = new LanJu_UserRecord();
|
|
|
|
|
|
Window3.Content = new Frame()
|
|
|
|
|
|
{
|
|
|
|
|
|
Content = lanJu_UserRecord
|
|
|
|
|
|
};
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|