using COSMO.IM.LanJu.Index; 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 { /// /// LanJu_Operator.xaml 的交互逻辑 /// public partial class LanJu_Operatorbak : UserControl { public static LanJu_Operator lanJu_Operator; Frame frame = new Frame() { Content = new Views.LanJu_InOut()}; public enum WindowID { frame } public LanJu_Operatorbak() { InitializeComponent(); WindowChange(WindowID.frame); } public void WindowChange(WindowID windowID) { Window1.Content = frame; } private void InOut_Click(object sender, RoutedEventArgs e) { LanJu_InOut lanJu_InOut = new LanJu_InOut(); Window1.Content = new Frame { Content = lanJu_InOut }; } private void Complete_Click(object sender, RoutedEventArgs e) { LanJu_Complete lanJu_Complete = new LanJu_Complete(); Window1.Content = new Frame { Content = lanJu_Complete }; } private void DeviceItems_Click(object sender, RoutedEventArgs e) { LanJu_DeviceItems lanJu_DeviceItems = new LanJu_DeviceItems(); Window1.Content = new Frame { Content = lanJu_DeviceItems }; } private void Paused_Click(object sender, RoutedEventArgs e) { LanJu_Paused lanJu_Paused = new LanJu_Paused(); Window1.Content= new Frame { Content = lanJu_Paused }; } /// /// 上部按钮 /// /// /// private void Flow_Click(object sender, RoutedEventArgs e) { LanJu_Flow lanJu_Flow = new LanJu_Flow(); LanJu_Flow.jump = 1; Window2.Content = new Frame { Content= lanJu_Flow }; } private void Material_Click(object sender, RoutedEventArgs e) { LanJu_Material lanJu_Material = new LanJu_Material(); Window2.Content = new Frame { Content = lanJu_Material }; } } }