public void RemoveQ() { if (printInfo.GetType() == typeof(QPrinter)) { printInfo = printInfo.GetInnerInstance(); } }