Dat151 progress

This commit is contained in:
dexy
2018-12-25 22:40:49 +11:00
Unverified
parent df34b6f614
commit 05d302a4e1
23 changed files with 3909 additions and 169 deletions
+37
View File
@@ -0,0 +1,37 @@
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 EditAudioFilePanel : ProjectPanel
{
public ProjectForm ProjectForm;
public RelFile CurrentFile { get; set; }
public EditAudioFilePanel(ProjectForm owner)
{
ProjectForm = owner;
InitializeComponent();
}
public void SetFile(RelFile file)
{
CurrentFile = file;
UpdateFormTitle();
}
private void UpdateFormTitle()
{
Text = CurrentFile?.Name ?? "";
}
}
}