示例#1
0
 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();
     };
 }
示例#2
0
 private void RefreshLocalTracks()
 {
     CommonBehavior.BrowseHandler(TbPath, Playlist);
 }