优化使用
This commit is contained in:
1
SpineViewer/Dialogs/ExportPngDialog.Designer.cs
generated
1
SpineViewer/Dialogs/ExportPngDialog.Designer.cs
generated
@@ -239,6 +239,7 @@
|
|||||||
ShowInTaskbar = false;
|
ShowInTaskbar = false;
|
||||||
StartPosition = FormStartPosition.CenterScreen;
|
StartPosition = FormStartPosition.CenterScreen;
|
||||||
Text = "导出PNG序列";
|
Text = "导出PNG序列";
|
||||||
|
Load += ExportPngDialog_Load;
|
||||||
panel1.ResumeLayout(false);
|
panel1.ResumeLayout(false);
|
||||||
panel1.PerformLayout();
|
panel1.PerformLayout();
|
||||||
tableLayoutPanel1.ResumeLayout(false);
|
tableLayoutPanel1.ResumeLayout(false);
|
||||||
|
|||||||
@@ -21,6 +21,11 @@ namespace SpineViewer.Dialogs
|
|||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private void ExportPngDialog_Load(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
button_SelectOutputDir_Click(sender, e);
|
||||||
|
}
|
||||||
|
|
||||||
private void button_SelectOutputDir_Click(object sender, EventArgs e)
|
private void button_SelectOutputDir_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
folderBrowserDialog.InitialDirectory = textBox_OutputDir.Text;
|
folderBrowserDialog.InitialDirectory = textBox_OutputDir.Text;
|
||||||
|
|||||||
@@ -239,6 +239,7 @@
|
|||||||
ShowInTaskbar = false;
|
ShowInTaskbar = false;
|
||||||
StartPosition = FormStartPosition.CenterScreen;
|
StartPosition = FormStartPosition.CenterScreen;
|
||||||
Text = "导出预览图";
|
Text = "导出预览图";
|
||||||
|
Load += ExportPreviewDialog_Load;
|
||||||
panel1.ResumeLayout(false);
|
panel1.ResumeLayout(false);
|
||||||
panel1.PerformLayout();
|
panel1.PerformLayout();
|
||||||
tableLayoutPanel1.ResumeLayout(false);
|
tableLayoutPanel1.ResumeLayout(false);
|
||||||
|
|||||||
@@ -21,6 +21,11 @@ namespace SpineViewer.Dialogs
|
|||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private void ExportPreviewDialog_Load(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
button_SelectOutputDir_Click(sender, e);
|
||||||
|
}
|
||||||
|
|
||||||
private void button_SelectOutputDir_Click(object sender, EventArgs e)
|
private void button_SelectOutputDir_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
folderBrowserDialog.InitialDirectory = textBox_OutputDir.Text;
|
folderBrowserDialog.InitialDirectory = textBox_OutputDir.Text;
|
||||||
|
|||||||
Reference in New Issue
Block a user