private void btnManager_Click(object sender, EventArgs e) { Feature.FormFunctionPanel form = new Feature.FormFunctionPanel(); form.ShowDialog(); if (form.IsNeedExist) { this.Close(); } }
private void btnFuncPanel_Click(object sender, EventArgs e) { FormFunctionPanel form = new FormFunctionPanel(); form.ShowDialog(); if (form.IsNeedExist) { if (ConstantValuePool.DeskForm != null) { ConstantValuePool.DeskForm.Close(); } this.Close(); } }