Пример #1
0
        /// <summary>
        /// Constructor for AddTaskWindow
        /// </summary>
        /// <param name="mainWindow"></param>
        public AddTaskWindow(MainWindow mainWindow)
        {
            this._mainWindow = mainWindow;
            InitializeComponent();

            this._task = new TranslationTask();
            this.AddTaskWindow_Grid.DataContext = this._task;
        }
Пример #2
0
 public void AddTaskToList(TranslationTask t)
 {
     this._taskList.Add(t);
     // TODO: This isn't working properly, because dialog.
     //this.Topmost = true;
 }