private void OnprintCommandClicked(object obj) { #if WPF PrintManagerBase.PrintWithDialog(); #else PrintManagerBase.Print(); #endif }