public InjectionHelper(PatchInjector Injector) { Instance = this; _Injector = Injector; NullType = Patches.BasePatch.GameModule.Import(typeof(void)); }
private void Window_Loaded(object sender, RoutedEventArgs e) { injector = new PatchInjector(); injector.Error += Injector_Error; file_executable.Filename = Properties.Settings.Default.last_path; file_executable_TextChanged(null, null); }