Ejemplo n.º 1
0
        public void Client_Constructor_RunIsCalled()
        {
            //Arrange
            var client = new Client("D:\\PTC.Mathcad.Prime.v2.0.X64-Lz0.zip");

            //Assert
        }
 private void ObserverHandlerOnGetIpEvent1(object sender, EventArgsContainer<string> eventArgsContainer)
 {
     var thread = new Thread(() =>
     {
         var dlg = new OpenFileDialog();
         if (dlg.ShowDialog() == System.Windows.Forms.DialogResult.OK)
         {
             Client cli = new Client(dlg.FileName, eventArgsContainer._data);
         }
     });
     thread.SetApartmentState(ApartmentState.STA);
     thread.Start();
     thread.Join();
 }