Example #1
0
 private void Window_Closing(object sender, System.ComponentModel.CancelEventArgs e)
 {
     if (shoe != null)
     {
         shoe.Leave(txtAlias.Text.ToUpper());
     }
 }
Example #2
0
 private void closeBtn_Click(object sender, RoutedEventArgs e)
 {
     if (shoe != null)
     {
         shoe.Leave(nameTxtBox.Text);
     }
     this.Close();
 }