void OpenPoisonPlaceRedactor() { InvokeByPause(() => { UniverseProperty.SetAllPlaceOfPoison( WindowCheckAtField.ShowModal( RenderManagerMainFieldProperty, RenderManagerMainFieldProperty.BtmPoison, UniverseProperty.GetAllPlaceOfPoison(), LanguageHandler.GetInstance().ModalWindowAboutPoisonPlace ) ); }); }
private void button2_Click(object sender, RoutedEventArgs e) { if (un == null) { return; } un.SetAllPlaceOfFood( WindowCheckAtField.ShowModal( rm, rm.BtmDefFood, un.GetAllPlaceOfFood() ) ); un.SetAllPlaceOfPoison( WindowCheckAtField.ShowModal( rm, rm.BtmPoison, un.GetAllPlaceOfPoison() ) ); }