Пример #1
0
        private void Window_Loaded(object sender, RoutedEventArgs e)
        {
            // Initialisation du jedis view model
            m_jsvm = new JedisViewModel();

            // Abonnement
            m_jsvm.RemoveJedi += M_jsvm_RemoveJedi;

            jedisController.DataContext = m_jsvm;
        }
Пример #2
0
 private void M_jsvm_RemoveJedi(object sender, JedisViewModel.JediEventArgs e)
 {
     JediTournamentManager manager = new JediTournamentManager();
     manager.delJedi(e.Jedi);
 }
Пример #3
0
        public JedisViewer()
        {
            InitializeComponent();

            m_jsvm = null;
        }