private void Page_Loaded(object sender, RoutedEventArgs e)
        {
            TextMonitorList textMonitorList = new TextMonitorList(mainWindow);

            skipPages.Content = textMonitorList;
            btnHome.IsChecked = true;
            Timer(sender, e);
        }
 public void OpenPageInitialize(int flag)
 {
     if (flag == 1)
     {
         TextMonitorList textMonitorList = new TextMonitorList(mainWindow);
         skipPages.Content = textMonitorList;
     }
     if (flag == 3)
     {
         deviceDetails     = new DeviceDetails(mainWindow, txtPrinterSN.Text, FileTools.commandPath);
         skipPages.Content = deviceDetails;
     }
     if (flag == 4)
     {
         adminInterface    = new TextAdminInterface();
         skipPages.Content = adminInterface;
     }
 }
        private void btnHome_Click(object sender, RoutedEventArgs e)
        {
            TextMonitorList textMonitorList = new TextMonitorList(mainWindow);

            skipPages.Content = textMonitorList;
        }