//todo:添加到单词本 public ArticleStudy() { InitializeComponent(); MPB.Hide(); BtnGrasp.Hide(); BtnSelectAll.Hide(); BtnUngrasp.Hide(); CheckForIllegalCrossThreadCalls = false; formWidth = 800; formHeight = 426; formWidthN = this.Width; formHeightN = this.Height; graspList = StatisticsHelper.GetWordLog(StatisticsHelper.GetWordLogPath(DateTime.Now), StatisticsHelper.WordLogType.grasp); ungraspList = new List <string>(); setTag(this);//调用方法 dictList = DictHelper.GenerateDictList(); dictDict = DictHelper.ReadDictDict(); CbxDictionary.DataSource = dictList; MoveControl moveControl = new MoveControl(Tbx); }
private void Tbx_Click(object sender, EventArgs e) { MoveControl moveControl = new MoveControl(Tbx); }