Пример #1
0
        private void ResetInterface()
        {
            model.LocalNode.Host = null;
            model.Save();
            container.Resolve <IMessageService>().ShowWarning("Interface selection reset.  FAP will now restart.");
            var notePad = new Process();

            notePad.StartInfo.FileName  = Assembly.GetEntryAssembly().CodeBase;
            notePad.StartInfo.Arguments = "WAIT";
            notePad.Start();
            core.Exit();
        }