/// <summary> /// 判断是否正在进行清算 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void button2_Click_1(object sender, EventArgs e) { error.Clear(); bool y = wcfLogic.IsReckoning(); if (y == true) { this.label6.Text = "是"; } else { this.label6.Text = "否"; } }