mirror of
https://github.com/KillzXGaming/Switch-Toolbox
synced 2024-12-26 21:03:10 +00:00
39 lines
935 B
C#
39 lines
935 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 Switch_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();
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
}
|