UltimateZoneBuilder/Source/Interface/VertexInfoPanel.cs

55 lines
1.2 KiB
C#
Raw Normal View History

2007-10-24 17:25:03 +00:00
#region ================== Copyright (c) 2007 Pascal vd Heiden
/*
* Copyright (c) 2007 Pascal vd Heiden, www.codeimp.com
* This program is released under GNU General Public License
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
*/
#endregion
#region ================== Namespaces
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using Microsoft.Win32;
using System.Diagnostics;
using CodeImp.DoomBuilder.Data;
using CodeImp.DoomBuilder.Map;
#endregion
namespace CodeImp.DoomBuilder.Interface
{
2008-01-02 21:49:43 +00:00
internal partial class VertexInfoPanel : UserControl
2007-10-24 17:25:03 +00:00
{
// Constructor
public VertexInfoPanel()
{
// Initialize
InitializeComponent();
}
// This shows the info
public void ShowInfo(Vertex v)
{
// Vertex info
position.Text = v.X + ", " + v.Y;
// Show the whole thing
this.Show();
this.Update();
}
}
}