private void OnBrowserClosed(object sender, BrowserEventArgs e) { DeviceBrowserController browser = Module.GetBrowserController(); browser.BrowserClosed -= OnBrowserClosed; browser.BrowserSelectionChanged -= OnBrowserSelectionChanged; Module.AllowPointerSelection(true); State.Browsing = false; }
public void Initialize() { RegisterRemoteID("browser"); InitializeColumns(); SetVisible(false); browserEventArgs = new BrowserEventArgs(); State.SelectedResult = ""; }
private void OnBrowserSelectionChanged(object sender, BrowserEventArgs e) { State.ModuleName = e.SelectedResult; soundModuleEventArgs.ModuleName = State.ModuleName; if (!State.ModuleLoaded) { State.ModuleLoaded = true; //TODO: Make module glow brighter indicate some sound has been loaded } if (ModuleNameChanged != null) { ModuleNameChanged(this, soundModuleEventArgs); } }