private void EditDoujin() { EditWindow editWindow = new EditWindow(SelectedDoujin); editWindow.ShowDialog(); editWindow.Activate(); editWindow.Focus(); editWindow.Topmost = true; }
public void EditBook(object o) { EditWindow eb = new EditWindow(); this.Window.Hide(); eb.Show(); eb.ShowInTaskbar = false; eb.Activate(); }
/// <summary> /// ШАБЛОН Создание экземпляра окна Транхакция /// </summary> /// <typeparam name="T">Natural, Legal, VIP</typeparam> /// <param name="item"></param> private void EditWindow_Template <T>(T item) { EditWindow editWindow = new EditWindow(Bank, item); editWindow.Owner = this; this.IsEnabled = false; if (editWindow.ShowDialog() == true) { editWindow.Show(); editWindow.Activate(); } this.IsEnabled = true; }