private void tbcSave_Commanded(object sender, EventArgs e) { if (!base.Validate()) { return; } GetFormToType(); operation.o_trade oper_trade = new operation.o_trade(); if (oper_trade.add(define_trade)) { MsgHelper.ShowInformationMsgBox("添加行业成功!"); this.DialogResult = DialogResult.OK; } else { MsgHelper.ShowInformationMsgBox("添加行业失败!"); } }