private void Window_Loaded(object sender, RoutedEventArgs e) { // Process Watcher List <ProcessItem> processItems = new List <ProcessItem>(new ProcessItem[] { new ProcessItem("gameClient", "League of Legends"), new ProcessItem("launcher", "LeagueClientUx") }); var processDetection = new ProcessDetection(processItems); ClientTypeGame gameClient = new ClientTypeGame(previewImages, AppSettings); List <ClientMap> clientMapList = new List <ClientMap>(new ClientMap[] { new ClientMap("gameClient", gameClient), new ClientMap("launcher", new ClientTypeLauncher()), }); mainApplication = new MainApplication(processDetection, clientMapList, AppSettings); mainApplication.Dispatcher = Dispatcher; mainApplication.RootElement = RootElement; // Cue Connection var cb = new ICueBridge(); mainApplication.setiCueBridge(ref cb); }
public void setiCueBridge(ref ICueBridge iCueBridge) { this.ICueBridge = iCueBridge; }
public void SetICueBridge(ref ICueBridge value) { this.iCueBridge = value; }