mirror of
https://github.com/KillzXGaming/Switch-Toolbox
synced 2024-12-20 09:53:11 +00:00
38 lines
928 B
C#
38 lines
928 B
C#
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;
|
|
using Toolbox.Library.Forms;
|
|
|
|
namespace FirstPlugin.Forms
|
|
{
|
|
public partial class AddTextureKey : STForm
|
|
{
|
|
public AddTextureKey()
|
|
{
|
|
InitializeComponent();
|
|
|
|
CanResize = false;
|
|
}
|
|
|
|
public void LoadAnim(uint FrameCount)
|
|
{
|
|
maxFrameCountUD.Value = FrameCount;
|
|
currentFrameCountUD.Maximum = FrameCount;
|
|
}
|
|
|
|
private void btnEdit_Click(object sender, EventArgs e)
|
|
{
|
|
Texture_Selector selector = new Texture_Selector();
|
|
if (selector.ShowDialog() == DialogResult.OK)
|
|
{
|
|
textureNameTB.Text = selector.GetSelectedTexture();
|
|
}
|
|
}
|
|
}
|
|
}
|