Ejemplo n.º 1
0
        public void Visit(ErrorReportResultUpdated result)
        {
            var panel = new ToolStripControlBuilder()
                        .AddLabel("Updated")
                        .AddHyperlink(result)
                        .Build();

            statusStrip1.Items.Add(panel);
        }
Ejemplo n.º 2
0
        public void Visit(ErrorReportResultFailed result)
        {
            var panel = new ToolStripControlBuilder()
                        .AddImage(Properties.Resources.error_circle)
                        .AddLabel("Unable to submit error report")
                        .AddLink("(details)", (sender, args) => ShowNonReportableErrorDialog(result.Exception))
                        .Build();

            statusStrip1.Items.Add(panel);
        }