Exemplo n.º 1
0
        private void l_profiles_ItemClick(object sender, ItemClickEventArgs e)
        {
            TClientProfile profile = (TClientProfile)e.ClickedItem;

            if (profile.State == ConnectionState.Disconnected)
            {
                Task.Run(() => client.ConnectAsync(profile.LastIPAddress));
            }
        }