private void BtnAdd_Click(object sender, EventArgs e) { FormResName rename = new FormResName(); rename.Text = "添加As数据生成配置的标签"; rename.EvenCapter += AddNewCapter; rename.ShowDialog(); }
private void BtnModify_Click(object sender, EventArgs e) { FormResName rename = new FormResName(); rename.Text = "输入要修改的标签"; rename.InitSetting(comboBoxCapterList.SelectedItem.ToString()); rename.EvenCapter += ModifyCapter; rename.ShowDialog(); }