MCPcopy Create free account
hub / github.com/9chu/LuaSTGPlus / toolStripButton_remove_Click

Method toolStripButton_remove_Click

TexturedFontEditor/FontEditor.cs:186–200  ·  view source on GitHub ↗
(object sender, EventArgs e)

Source from the content-addressed store, hash-verified

184 }
185
186 private void toolStripButton_remove_Click(object sender, EventArgs e)
187 {
188 if (listView_charmap.SelectedItems.Count > 0)
189 {
190 if (DialogResult.Yes == MessageBox.Show("是否删除选中项目?", "删除字符", MessageBoxButtons.YesNo, MessageBoxIcon.Question))
191 {
192 foreach (ListViewItem x in listView_charmap.SelectedItems)
193 {
194 _Def.CharList.Remove((FontDef.CharDef)x.Tag);
195 }
196
197 RefreshAll();
198 }
199 }
200 }
201
202 private void toolStripButton_up_Click(object sender, EventArgs e)
203 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected