Beispiel #1
0
        public void Restart()
        {
            IInvoker invoker = this;

            if (invoker.TryBeginInvoke((MethodInvoker)Restart))
            {
                return;
            }

            IViewMainWindow v = iMainWindow;

            v.ShowAlertPanel("Restart", "Please restart Kinsky to complete plugin installation.");
        }
Beispiel #2
0
        public void OnlineHelp(Id aSender)
        {
            const string kOnlineManualUri = "http://oss.linn.co.uk/trac/wiki/KinskyMacDavaarManual";

            try
            {
                System.Diagnostics.Process.Start(kOnlineManualUri);
            }
            catch (Exception)
            {
                IViewMainWindow v = iMainWindow;
                v.ShowAlertPanel("Online Help Failed", "Failed to contact " + kOnlineManualUri);
            }
        }