[C#] 纯文本查看 复制代码 private void btnStart_Click(object sender, RoutedEventArgs e)
{
if (CSVDataViewModel.GetInstance().SekillInfoList.Count == 0)
{
MessageBox.Show("请导入账号!");
}
else
{
this._vm.SekillInterval = 0x1f40;
this.btnBrowse.IsEnabled = false;
this.btnStart.IsEnabled = false;
this.btnClear.IsEnabled = false;
this.btnStop.IsEnabled = true;
this.spAutoCode.IsEnabled = false;
foreach (UserSekillVM lvm in CSVDataViewModel.GetInstance().SekillInfoList)
{
this._vm.dictionary_0[lvm].method_13();
}
}
}
这里是个点击事件,foreach里面会循环判断 |