Example #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;
            }
        }
Example #2
0
 protected override void Update(CommandInfo info)
 {
     info.Enabled = PrintHandler.CanPrint();
 }