增加关于对话框

This commit is contained in:
ww-rm
2025-03-03 23:15:09 +08:00
parent cb710f9b9c
commit a03a2663e2
2 changed files with 10 additions and 4 deletions

View File

@@ -164,8 +164,9 @@
// toolStripMenuItem_About
//
toolStripMenuItem_About.Name = "toolStripMenuItem_About";
toolStripMenuItem_About.Size = new Size(171, 34);
toolStripMenuItem_About.Size = new Size(270, 34);
toolStripMenuItem_About.Text = "关于(&A)";
toolStripMenuItem_About.Click += toolStripMenuItem_About_Click;
//
// rtbLog
//

View File

@@ -158,6 +158,11 @@ namespace SpineViewer
}
}
private void toolStripMenuItem_About_Click(object sender, EventArgs e)
{
(new Dialogs.AboutDialog()).ShowDialog();
}
private void splitContainer_SplitterMoved(object sender, SplitterEventArgs e)
{
ActiveControl = null;