/// <summary>
        /// Delete current project.
        /// </summary>
        private void _DeleteProject()
        {
            // deletes item in insertion row
            if (_InsertionRow.IsBeingEdited)
            {
                XceedGrid.CancelEdit();
                return;
            }

            if (XceedGrid.IsBeingEdited)
            {
                XceedGrid.CancelEdit();
            }

            string selectedProjectName = SelectedProjectName;

            if (selectedProjectName == null)
            {
                return;
            }

            bool doProcess = true;

            if (Settings.Default.IsAllwaysAskBeforeDeletingEnabled)
            {
                // show warning dialog
                doProcess = DeletingWarningHelper.Execute(selectedProjectName, "Project", "Project");
            }

            // do process
            if (doProcess)
            {
                _itemIndexToSelection = XceedGrid.SelectedIndex;

                string path = string.Empty;
                foreach (ProjectConfiguration project in App.Current.ProjectCatalog.Projects)
                {
                    if (project.Name.Equals(selectedProjectName, StringComparison.OrdinalIgnoreCase))
                    {
                        path = project.FilePath;
                        break; // NOTE: founded
                    }
                }

                try
                {
                    ProjectFactory.DeleteProject(path);
                    UpdateView();
                }
                catch (Exception ex)
                {
                    MessageBox.Show(App.Current.MainWindow, ex.Message, (string)App.Current.FindResource("WarningMessageBoxTitle"), MessageBoxButton.OK, MessageBoxImage.Error);
                }
            }
        }