private void w_SortFm_Load(object sender, EventArgs e) { int pokecount = UnionTaskInfoService.GetPokeCount(); int pokeseqcount = UnionTaskInfoService.GetPokeSEQCount(); if (pokecount == pokeseqcount) { btnPokeSeq.Enabled = false; } else { btnPokeSeq.Enabled = true; } lblInFO.Text = "分拣车组信息:"; }
private void button1_Click(object sender, EventArgs e) { int list = UnionTaskInfoService.GetPokeCount(); MessageBox.Show(list.ToString()); }