コード例 #1
0
        /// <summary>
        /// Called when the station option is chosen
        /// </summary>
        /// <param name="sender">
        /// auto generated
        /// </param>
        /// <param name="e">
        /// auto generated
        /// </param>
        private void StationButtonClick(object sender, RoutedEventArgs e)
        {
            bool local = false;

            if (((Button)e.Source).Name.StartsWith("Local"))
            {
                local = true;
            }
            _ui.CreateNewStation(local);
            _parent.Navigate(new WaitingForManagerPage(_parent, _ui));
        }
コード例 #2
0
 /// <summary>
 /// Called when the station option is chosen
 /// </summary>
 /// <param name="sender">auto generated</param>
 /// <param name="e">auto generated</param>
 private void StationButtonClick(object sender, RoutedEventArgs e)
 {
     _ui.CreateNewStation();
     _parent.Navigate(new WaitingForManagerPage(_parent, _ui));
 }