示例#1
0
 private void accessPoint_OnLostConnection()
 {
     accessPoint.Close();
     DisableThisForm();
     var dialog = new CouldNotConnectError(accessPoint);
     dialog.FormClosed += (x, y) => EnableThisForm();
     dialog.ShowDialog();
     refreshConnectionDependentComponents();
 }
示例#2
0
    private void accessPoint_OnLostConnection()
    {
        accessPoint.Close();
        DisableThisForm();
        var dialog = new CouldNotConnectError(accessPoint);

        dialog.FormClosed += (x, y) => EnableThisForm();
        dialog.ShowDialog();
        refreshConnectionDependentComponents();
    }