private void miEditEvents_Click(object sender, RoutedEventArgs e)
 {
     var editEvents = new NewEvents(this.NowProject, this.SelectedMap, (int)this.MouseRightButtonPosition.X, (int)this.MouseRightButtonPosition.Y);
     editEvents.ShowDialog();
 }
        private void miEditEvents_Click(object sender, RoutedEventArgs e)
        {
            var editEvents = new NewEvents(this.NowProject, this.SelectedMap, (int)this.MouseRightButtonPosition.X, (int)this.MouseRightButtonPosition.Y);

            editEvents.ShowDialog();
        }