Пример #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;
        }
Пример #2
0
        private void NewButton_Click(object sender, RoutedEventArgs e)
        {
            var window = new Windows.EventWindow(this, Context, SelectedWorld, null);

            window.Visibility = Visibility.Visible;
        }