public ServerForm() { InitializeComponent(); UIDispatcher = new MyDispatcher(); AppDomain.CurrentDomain.UnhandledException += CommonBehavior.OnUnhandledException; TbIp.Text = CommonBehavior.GetLocalIPAddress().ToString(); BtnBrowse.Click += (s, e) => { CommonBehavior.BrowseHandler(TbPath, LvTracks.Items); Dispatcher.Set(); Dispatcher.Reset(); }; }
private void RefreshLocalTracks() { CommonBehavior.BrowseHandler(TbPath, Playlist); }