void menu_stuff_resize_Click(object sender, RoutedEventArgs e)
 {
     if (Model.ActiveLevel != null)
     {
         ResizeDialog rd = new ResizeDialog(Model.ActiveLevel);
         rd.ShowDialog();
         if (rd.Status)
         {
             Model.ActiveLevel.Resize(rd.Anchor, rd.NewWidth, rd.NewHeight);
             UpdateTitle();
             this.ActiveLevelRenderer.RefreshAll();
         }
     }
 }
 void menu_stuff_resize_Click(object sender, RoutedEventArgs e)
 {
     if (Model.ActiveLevel != null)
     {
         ResizeDialog rd = new ResizeDialog(Model.ActiveLevel);
         rd.ShowDialog();
         if (rd.Status)
         {
             Model.ActiveLevel.Resize(rd.Anchor, rd.NewWidth, rd.NewHeight);
             UpdateTitle();
             this.ActiveLevelRenderer.RefreshAll();
         }
     }
 }