public ConnectionCheckForm(ConnectionCheckData connectionCheckData)
        {
            _connectionCheckData = connectionCheckData;
            _connectionCheckData.ConnectionCheckHistory.Reverse();

            InitializeComponent();

            SetUiProperties();
        }
Esempio n. 2
0
 private void OpenConnectionCheckForm(ConnectionCheckData connectionData)
 {
     Task.Task.Factory.StartNew(() =>
     {
         var form = Application.OpenForms["ConnectionCheckForm"];
         form?.Close();
         form = new ConnectionCheckForm(connectionData);
         Application.Run(form);
     });
 }