public void ResetAllLinksInFolderSettings()
		{
			using (var form = new FormResetLinkSettings(DataSource))
			{
				if (form.ShowDialog(MainController.Instance.MainForm) != DialogResult.OK) return;
				var settingsGroupsForReset = form.SettingsGroups;
				using (var confirmation = new FormResetLinkSettingsConfirmation(settingsGroupsForReset))
				{
					if (confirmation.ShowDialog(MainController.Instance.MainForm) != DialogResult.OK) return;
					DataSource.AllLinks.ResetToDefault(settingsGroupsForReset);

					grFiles.SuspendLayout();
					_outsideChangesInProgress = true;
					foreach (var linkRow in grFiles.Rows.OfType<LinkRow>())
						linkRow.Info.Recalc();
					_outsideChangesInProgress = false;
					UpdateGridSize();
					grFiles.ResumeLayout(true);

					DataChanged?.Invoke(this, EventArgs.Empty);
				}
			}
		}
		private void toolStripMenuItemResetLinkSettings_Click(object sender, EventArgs e)
		{
			var selectedPage = _menuHitInfo.Page as TabPage;
			if (selectedPage == null) return;
			using (var form = new FormResetLinkSettings(selectedPage.Page))
			{
				if (form.ShowDialog(MainController.Instance.MainForm) != DialogResult.OK) return;
				var settingsGroupsForReset = form.SettingsGroups;
				using (var confirmation = new FormResetLinkSettingsConfirmation(settingsGroupsForReset))
				{
					if (confirmation.ShowDialog(MainController.Instance.MainForm) != DialogResult.OK) return;
					selectedPage.Content.ResetAllSettings(settingsGroupsForReset);
					IsDataChanged = true;
				}
			}
		}
		public void ResetLinkSettings()
		{
			var selectedRow = SelectedLinkRow;
			if (selectedRow == null) return;

			using (var form = new FormResetLinkSettings(selectedRow.Source))
			{
				if (form.ShowDialog(MainController.Instance.MainForm) != DialogResult.OK) return;
				var settingsGroupsForReset = form.SettingsGroups;
				using (var confirmation = new FormResetLinkSettingsConfirmation(settingsGroupsForReset))
				{
					if (confirmation.ShowDialog(MainController.Instance.MainForm) != DialogResult.OK) return;
					selectedRow.Source.ResetToDefault(settingsGroupsForReset);
					selectedRow.Info.Recalc();
					grFiles.Refresh();
					DataChanged?.Invoke(this, EventArgs.Empty);
				}
			}
		}