예제 #1
0
        protected override void Update(CommandInfo info)
        {
            info.Enabled = PrintHandler.CanPrint();

            //HACK: disable print preview on Win32 because it doesn't work
            if (Platform.IsWindows)
            {
                info.Enabled = false;
                info.Visible = false;
            }
        }
예제 #2
0
 protected override void Update(CommandInfo info)
 {
     info.Enabled = PrintHandler.CanPrint();
 }