예제 #1
0
        private void MenuItemAddTask_OnClick(object sender, RoutedEventArgs e)
        {
            var board = GetThisBoard();

            CommonMethods.WorkWithTables.Add((task, isReadOnly) => new TaskWindow(httpClientProvider, task, GetUserNames(), GetColumnNames(), board.Name, board.BoardId, isReadOnly), httpClientProvider.GetDatabaseTaskEditor(), () => AddTask?.Invoke(this, default(EventArgs)));
        }
예제 #2
0
 private void MenuItemAddTask_OnClick(object sender, RoutedEventArgs e)
 {
     CommonMethods.WorkWithTables.Add((task, isReadOnly) => new TaskWindow(httpClientProvider, task, GetUserNames(), GetColumnNames(), board.Name, board.BoardId, isReadOnly), httpClientProvider.GetDatabaseTaskEditor(), ReloadDataGridTasksItemsSource);
 }