CodeWalker/Project/Panels/EditYnvPolyPanel.cs

47 lines
999 B
C#
Raw Normal View History

2018-03-03 21:03:08 +08:00
using CodeWalker.GameFiles;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace CodeWalker.Project.Panels
{
public partial class EditYnvPolyPanel : ProjectPanel
{
public ProjectForm ProjectForm;
2018-03-03 21:03:08 +08:00
public YnvPoly YnvPoly { get; set; }
//private bool populatingui = false;
public EditYnvPolyPanel(ProjectForm projectForm)
2018-03-03 21:03:08 +08:00
{
ProjectForm = projectForm;
InitializeComponent();
}
public void SetYnvPoly(YnvPoly ynvPoly)
{
YnvPoly = ynvPoly;
Tag = ynvPoly;
UpdateFormTitle();
UpdateYnvUI();
}
private void UpdateFormTitle()
{
Text = "Nav Poly " + YnvPoly.Index.ToString();
}
public void UpdateYnvUI()
{
}
}
}