增加自动打开

This commit is contained in:
ww-rm
2025-03-16 17:13:14 +08:00
parent 3df7dbc769
commit 267aa7ee63
2 changed files with 6 additions and 0 deletions

View File

@@ -320,6 +320,7 @@
ShowInTaskbar = false;
StartPosition = FormStartPosition.CenterScreen;
Text = "骨骼文件格式转换";
Load += ConvertFileFormatDialog_Load;
panel.ResumeLayout(false);
tableLayoutPanel1.ResumeLayout(false);
tableLayoutPanel1.PerformLayout();

View File

@@ -26,6 +26,11 @@ namespace SpineViewer.Dialogs
comboBox_Version.SelectedValue = Spine.Version.V38;
}
private void ConvertFileFormatDialog_Load(object sender, EventArgs e)
{
button_SelectSkel_Click(sender, e);
}
private void button_SelectSkel_Click(object sender, EventArgs e)
{
if (openFileDialog_Skel.ShowDialog() == DialogResult.OK)