Beispiel #1
0
        private void ItemDoubleClick(object sender, MouseButtonEventArgs e)
        {
            var s = (ListBoxItem)sender;

            var window = new Windows.EventWindow(this, Context, SelectedWorld, (int)s.Tag);

            window.Visibility = Visibility.Visible;
        }
Beispiel #2
0
        private void NewButton_Click(object sender, RoutedEventArgs e)
        {
            var window = new Windows.EventWindow(this, Context, SelectedWorld, null);

            window.Visibility = Visibility.Visible;
        }