回复 sieben 的帖子
- namespace xkaeli_Tools
- {
- public partial class Tools_Form : Form
- {
- public Tools_Form()
- {
- InitializeComponent();
- }
- private void DllLoad_Click(object sender, EventArgs e)
- {
- }
- //////////////退出工具箱//////////////////////
- private void cancel_Click(object sender, EventArgs e)
- {
- this.DialogResult = System.Windows.Forms.DialogResult.Cancel;
- this.Close();//关闭窗口
- }
- //////////////绘制梁体横断面//////////////////////
- private void Draw_hdm_Click(object sender, EventArgs e)
- {
- using (Draw_Hdm Temp_form = new Draw_Hdm())
- {
- this.Hide();//关闭窗口
- App.ShowModalDialog(Temp_form);//弹出子对话框
- this.Show();
- }
- }
- }
- }
|