static public ContentControl CurrentControl;//保存当前显示的页面
 static public DeviceOperationStatus GetInstance()
 {
     if (CurrentInstance == null)
     {
         CurrentInstance = new DeviceOperationStatus();
     }
     return(CurrentInstance);
 }
Exemplo n.º 2
0
        private void deviceOperationStatusClick(object sender, RoutedEventArgs e)//设备管理->设备运行状态
        {
            DeviceOperationStatus p = new DeviceOperationStatus();

            content.Content = p;
        }