wire up the join network button

This commit is contained in:
Grant Limberg 2015-10-23 15:50:49 -07:00
parent 7e635d37ad
commit 55dcf4c65f

View File

@ -49,7 +49,14 @@ namespace WinUI
private void joinButton_Click(object sender, RoutedEventArgs e)
{
if (joinNetworkID.Text.Length < 16)
{
MessageBox.Show("Invalid Network ID");
}
else
{
handler.JoinNetwork(joinNetworkID.Text);
}
}
private void OnNetworkEntered(object sender, TextCompositionEventArgs e)