private void simpleButton23_Click(object sender, EventArgs e) { string s_state = FinInvoice.GetInvoiceState("3910", "00356006"); if (!string.IsNullOrEmpty(s_state)) { XtraMessageBox.Show(s_state, "状态"); } else { XtraMessageBox.Show("未获取到状态"); } }