mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/PCK-Studio.git
synced 2026-07-01 16:14:53 +00:00
32 lines
765 B
C#
32 lines
765 B
C#
using PckStudio.Classes.FileTypes;
|
|
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 PckStudio
|
|
{
|
|
public partial class addMeta : MetroFramework.Forms.MetroForm
|
|
{
|
|
PCKFile.FileData file;
|
|
|
|
public addMeta(PCKFile.FileData fileIn)
|
|
{
|
|
InitializeComponent();
|
|
file = fileIn;
|
|
FormBorderStyle = FormBorderStyle.None;
|
|
}
|
|
|
|
private void button1_Click(object sender, EventArgs e)
|
|
{
|
|
file.properties.Add(new Tuple<string, string>(textBox1.Text, textBox2.Text ));
|
|
Close();
|
|
}
|
|
}
|
|
}
|