Summary description for EntityEditWnd.
Наследование: System.Windows.Forms.Form
Пример #1
0
 public void OpenEntityEditor()
 {
     EntityEditWnd eew = new EntityEditWnd();
     eew.init(Global.ActiveMap);
     if (eew.ShowDialog() == DialogResult.Cancel) return;
     Global.ActiveMap.Entities = eew.EditedEntities;
     update_ent_list();
     Global.ActiveMap.touch();
 }
Пример #2
0
 private void lv_ents_DoubleClick(object sender, System.EventArgs e)
 {
     if (lv_ents.SelectedItems.Count == 0) return;
     MapEntity me = (MapEntity)lv_ents.SelectedItems[0].Tag;
     EntityEditWnd eew = new EntityEditWnd();
     eew.init(Global.ActiveMap);
     eew.seek(me);
     if (eew.ShowDialog() == DialogResult.Cancel) return;
     Global.ActiveMap.Entities = eew.EditedEntities;
     update_ent_list();
     Global.ActiveMap.touch();
     ui_update();
 }