private void printButton_Click(object sender, RoutedEventArgs e)
 {
     Currentprinter = queue.Peek();
     Currentprinter.Print();
     if (Currentprinter.InkCount < 1)  //Temporary!!!
     {
         Currentprinter.AddInk();
     }
 }
        public MainWindow()
        {
            InitializeComponent();

            queue = new Queue <PrinterUserControl>();

            foreach (Control item in PrinterGrid.Children)
            {
                if (item is PrinterUserControl)
                {
                    Currentprinter              = item as PrinterUserControl;
                    Currentprinter.PageMissing += onitempagesmissing;
                    Currentprinter.InkEmpty    += oniteminkempty;
                    queue.Enqueue(Currentprinter);
                }
            }
        }