示例#1
0
        private void EditDoujin()
        {
            EditWindow editWindow = new EditWindow(SelectedDoujin);

            editWindow.ShowDialog();
            editWindow.Activate();
            editWindow.Focus();
            editWindow.Topmost = true;
        }
示例#2
0
        public void EditBook(object o)
        {
            EditWindow eb = new EditWindow();

            this.Window.Hide();
            eb.Show();
            eb.ShowInTaskbar = false;
            eb.Activate();
        }
示例#3
0
        /// <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;
        }