New Project Window

This commit is contained in:
dexyfex
2018-03-04 00:03:08 +11:00
Unverified
parent 0c558e746c
commit c093aa4736
136 changed files with 29501 additions and 20 deletions
+46
View File
@@ -0,0 +1,46 @@
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 ProjectForm2 ProjectForm;
public YnvPoly YnvPoly { get; set; }
//private bool populatingui = false;
public EditYnvPolyPanel(ProjectForm2 projectForm)
{
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()
{
}
}
}