public GameInit(RunController p)
        {
            InitializeComponent();
            RunController = p;

            Process[] Processes = Helpers.PInvokers.GetDiabloIII();

            Loaded += ((s, e) =>
            {
                if (Processes.Count() == 0)
                {
                    RunController.TryGet("ErrorMessage");
                }

                return;
            });


            D3Crawler           = new DispatcherTimer();
            D3Crawler.IsEnabled = true;
            D3Crawler.Interval  = TimeSpan.FromSeconds(1);
            D3Crawler.Tick     += Crawler;
        }
 public NotSupportedVersion(RunController f)
 {
     InitializeComponent();
     SuppVersion.Text = f.ProcessVersion.ToString();
     YourVersion.Text = Enigma.D3.Engine.SupportedVersion.ToString();
 }
Example #3
0
 public ErrorMessage(object p)
 {
     InitializeComponent();
     RunController = (RunController)p;
 }