From: <che...@us...> - 2007-06-14 11:48:49
|
Revision: 544 http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=544&view=rev Author: chef_koch Date: 2007-06-14 04:48:46 -0700 (Thu, 14 Jun 2007) Log Message: ----------- small formatting changes Modified Paths: -------------- trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppFilesImportProgress.cs trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppFilesView.cs trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppSettingsBase.cs trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppSettingsDirCache.cs trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppSettingsGamebase.cs trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppSettingsGrouper.cs trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppSettingsMame.cs trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppSettingsRoot.cs Modified: trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppFilesImportProgress.cs =================================================================== --- trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppFilesImportProgress.cs 2007-06-14 11:34:48 UTC (rev 543) +++ trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppFilesImportProgress.cs 2007-06-14 11:48:46 UTC (rev 544) @@ -1,19 +1,43 @@ +#region Copyright (C) 2005-2007 Team MediaPortal + +/* + * Copyright (C) 2005-2007 Team MediaPortal + * http://www.team-mediaportal.com + * + * This Program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2, or (at your option) + * any later version. + * + * This Program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GNU Make; see the file COPYING. If not, write to + * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. + * http://www.gnu.org/copyleft/gpl.html + * + */ + +#endregion + using System; using System.Collections.Generic; using System.ComponentModel; +using System.Data; using System.Drawing; -using System.Data; using System.Text; using System.Windows.Forms; -using GUIPrograms.Database; using GUIPrograms.ApplicationItems; +using GUIPrograms.Database; namespace GUIPrograms.Design { public partial class AppFilesImportProgress : AppSettingsBase { - private bool isImportRunning; private ApplicationItem curApp; const string importStartedText = "=== import started..."; @@ -54,7 +78,6 @@ prePostButton.Visible = false; } - public void RunImport() { // RunImport(); @@ -113,6 +136,5 @@ isImportRunning = value; } } - } -} +} \ No newline at end of file Modified: trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppFilesView.cs =================================================================== --- trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppFilesView.cs 2007-06-14 11:34:48 UTC (rev 543) +++ trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppFilesView.cs 2007-06-14 11:48:46 UTC (rev 544) @@ -1,16 +1,41 @@ +#region Copyright (C) 2005-2007 Team MediaPortal + +/* + * Copyright (C) 2005-2007 Team MediaPortal + * http://www.team-mediaportal.com + * + * This Program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2, or (at your option) + * any later version. + * + * This Program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GNU Make; see the file COPYING. If not, write to + * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. + * http://www.gnu.org/copyleft/gpl.html + * + */ + +#endregion + using System; using System.Collections.Generic; using System.ComponentModel; +using System.Data; using System.Drawing; -using System.Data; using System.IO; using System.Text; using System.Windows.Forms; using GUIPrograms; +using GUIPrograms.ApplicationItems; using GUIPrograms.Database; using GUIPrograms.FileItems; -using GUIPrograms.ApplicationItems; namespace GUIPrograms.Design { @@ -150,7 +175,6 @@ // filePathsLabel.Text = currentApplication.CurrentFilePath().Replace("&", "&&"); } - public string FileExtensionsText { @@ -261,7 +285,6 @@ } } - private void DeleteItems() { if (fileListView.SelectedItems.Count >= 1) @@ -439,7 +462,6 @@ } } - private void addFavoriteButton_Click(object sender, EventArgs e) { this.contextFavouritesMenuStrip.Show(addFavouriteButton, new Point(0, addFavouriteButton.Height)); @@ -449,6 +471,7 @@ { ShowFileScraper(); } + void ShowFileScraper() { if (FirstImageDirectoryValid()) @@ -588,7 +611,6 @@ } } - private void AppFilesView_Load(object sender, EventArgs e) { @@ -687,7 +709,6 @@ } - protected void fileDirButton_Click(object sender, EventArgs e) { folderBrowserDialog.SelectedPath = this.fileDirTextBox.Text; @@ -705,7 +726,6 @@ } } - /* void FillMameDirs() { string mameExe = this.applicationExeTextBox.Text; @@ -848,7 +868,5 @@ SetSourceDirectories(); } - - } -} +} \ No newline at end of file Modified: trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppSettingsBase.cs =================================================================== --- trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppSettingsBase.cs 2007-06-14 11:34:48 UTC (rev 543) +++ trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppSettingsBase.cs 2007-06-14 11:48:46 UTC (rev 544) @@ -1,3 +1,28 @@ +#region Copyright (C) 2005-2007 Team MediaPortal + +/* + * Copyright (C) 2005-2007 Team MediaPortal + * http://www.team-mediaportal.com + * + * This Program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2, or (at your option) + * any later version. + * + * This Program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GNU Make; see the file COPYING. If not, write to + * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. + * http://www.gnu.org/copyleft/gpl.html + * + */ + +#endregion + using System; using System.Collections.Generic; using System.ComponentModel; @@ -13,16 +38,13 @@ using GUIPrograms.ApplicationItems; using GUIPrograms.Database; - namespace GUIPrograms.Design { - public partial class AppSettingsBase : UserControl { string preLaunch = string.Empty; string postLaunch = string.Empty; - protected ConditionChecker conditionChecker = new ConditionChecker(); public AppSettingsBase() @@ -31,7 +53,6 @@ InitDefault(); } - public virtual bool AppItemToForm(ApplicationItem curApp) { if (curApp != null) @@ -48,7 +69,6 @@ return true; } - public virtual void FormToAppItem(ApplicationItem curApp) { if (curApp != null) @@ -158,7 +178,6 @@ } } - private void prePostButton_Click(object sender, EventArgs e) { using (AppSettingsPrePost prePostForm = new AppSettingsPrePost()) @@ -202,4 +221,4 @@ startupDirComboBox.Items.Add(Path.GetDirectoryName(applicationExeTextBox.Text)); } } -} +} \ No newline at end of file Modified: trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppSettingsDirCache.cs =================================================================== --- trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppSettingsDirCache.cs 2007-06-14 11:34:48 UTC (rev 543) +++ trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppSettingsDirCache.cs 2007-06-14 11:48:46 UTC (rev 544) @@ -1,17 +1,41 @@ +#region Copyright (C) 2005-2007 Team MediaPortal + +/* + * Copyright (C) 2005-2007 Team MediaPortal + * http://www.team-mediaportal.com + * + * This Program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2, or (at your option) + * any later version. + * + * This Program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GNU Make; see the file COPYING. If not, write to + * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. + * http://www.gnu.org/copyleft/gpl.html + * + */ + +#endregion + using System; using System.Collections.Generic; using System.ComponentModel; +using System.Data; +using System.Diagnostics; using System.Drawing; -using System.Diagnostics; -using System.Data; using System.Text; using System.Windows.Forms; + using GUIPrograms; +using GUIPrograms.ApplicationItems; using GUIPrograms.Database; -using GUIPrograms.ApplicationItems; - - namespace GUIPrograms.Design { public partial class AppSettingsDirCache : AppSettingsBase @@ -38,7 +62,6 @@ return true; } - public override void FormToAppItem(ApplicationItem curApp) { base.FormToAppItem(curApp); @@ -100,4 +123,4 @@ allowRefreshCheckBox.Visible = false; } } -} +} \ No newline at end of file Modified: trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppSettingsGamebase.cs =================================================================== --- trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppSettingsGamebase.cs 2007-06-14 11:34:48 UTC (rev 543) +++ trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppSettingsGamebase.cs 2007-06-14 11:48:46 UTC (rev 544) @@ -1,19 +1,42 @@ +#region Copyright (C) 2005-2007 Team MediaPortal + +/* + * Copyright (C) 2005-2007 Team MediaPortal + * http://www.team-mediaportal.com + * + * This Program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2, or (at your option) + * any later version. + * + * This Program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GNU Make; see the file COPYING. If not, write to + * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. + * http://www.gnu.org/copyleft/gpl.html + * + */ + +#endregion + using System; using System.Collections.Generic; using System.ComponentModel; +using System.Data; +using System.Diagnostics; using System.Drawing; -using System.Data; +using System.IO; using System.Text; using System.Windows.Forms; -using System.Diagnostics; -using System.IO; -using GUIPrograms.Database; using GUIPrograms; - using GUIPrograms.ApplicationItems; +using GUIPrograms.Database; - namespace GUIPrograms.Design { public partial class AppSettingsGamebase : AppSettingsBase @@ -54,7 +77,6 @@ return true; } - public override void FormToAppItem(ApplicationItem curApp) { base.FormToAppItem(curApp); @@ -72,6 +94,7 @@ curApp.EnableGUIRefresh = this.allowRefreshCheckBox.Checked; } + public override bool EntriesOK(ApplicationItem curApp) { conditionChecker.Clear(); @@ -92,9 +115,6 @@ return conditionChecker.IsOk; } - - - private void informationLabel_Click(object sender, EventArgs e) { ProcessStartInfo startInfo = new ProcessStartInfo(@"http://www.bu22.com/"); @@ -113,4 +133,4 @@ this.Cursor = Cursors.Default; } } -} +} \ No newline at end of file Modified: trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppSettingsGrouper.cs =================================================================== --- trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppSettingsGrouper.cs 2007-06-14 11:34:48 UTC (rev 543) +++ trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppSettingsGrouper.cs 2007-06-14 11:48:46 UTC (rev 544) @@ -1,14 +1,39 @@ +#region Copyright (C) 2005-2007 Team MediaPortal + +/* + * Copyright (C) 2005-2007 Team MediaPortal + * http://www.team-mediaportal.com + * + * This Program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2, or (at your option) + * any later version. + * + * This Program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GNU Make; see the file COPYING. If not, write to + * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. + * http://www.gnu.org/copyleft/gpl.html + * + */ + +#endregion + using System; using System.Collections.Generic; using System.ComponentModel; +using System.Data; using System.Drawing; -using System.Data; using System.Text; using System.Windows.Forms; -using GUIPrograms.Database; + using GUIPrograms; - using GUIPrograms.ApplicationItems; +using GUIPrograms.Database; namespace GUIPrograms.Design { @@ -56,7 +81,6 @@ } - public override bool AppItemToForm(ApplicationItem curApp) { base.AppItemToForm(curApp); @@ -66,7 +90,5 @@ return true; } - - } -} +} \ No newline at end of file Modified: trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppSettingsMame.cs =================================================================== --- trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppSettingsMame.cs 2007-06-14 11:34:48 UTC (rev 543) +++ trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppSettingsMame.cs 2007-06-14 11:48:46 UTC (rev 544) @@ -1,19 +1,42 @@ +#region Copyright (C) 2005-2007 Team MediaPortal + +/* + * Copyright (C) 2005-2007 Team MediaPortal + * http://www.team-mediaportal.com + * + * This Program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2, or (at your option) + * any later version. + * + * This Program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GNU Make; see the file COPYING. If not, write to + * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. + * http://www.gnu.org/copyleft/gpl.html + * + */ + +#endregion + using System; using System.Collections.Generic; using System.ComponentModel; +using System.Data; +using System.Diagnostics; using System.Drawing; -using System.Data; +using System.IO; using System.Text; using System.Windows.Forms; -using System.Diagnostics; -using GUIPrograms.Database; + using GUIPrograms; -using System.IO; - - using GUIPrograms.ApplicationItems; +using GUIPrograms.Database; - namespace GUIPrograms.Design { public partial class AppSettingsMame : AppSettingsBase @@ -23,7 +46,6 @@ InitializeComponent(); } - public override bool AppItemToForm(ApplicationItem curApp) { base.AppItemToForm(curApp); @@ -37,8 +59,6 @@ return true; } - - public override void FormToAppItem(ApplicationItem curApp) { @@ -77,8 +97,6 @@ } } - - private void AppSettingsMameDirect_Load(object sender, EventArgs e) { this.startupDirButton.Visible = false; @@ -111,7 +129,5 @@ { this.Cursor = Cursors.Default; } - - } -} +} \ No newline at end of file Modified: trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppSettingsRoot.cs =================================================================== --- trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppSettingsRoot.cs 2007-06-14 11:34:48 UTC (rev 543) +++ trunk/plugins/myGUIProgramsAlt/GUIProgramsAlt/Design/AppSettingsRoot.cs 2007-06-14 11:48:46 UTC (rev 544) @@ -1,21 +1,44 @@ +#region Copyright (C) 2005-2007 Team MediaPortal + +/* + * Copyright (C) 2005-2007 Team MediaPortal + * http://www.team-mediaportal.com + * + * This Program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2, or (at your option) + * any later version. + * + * This Program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GNU Make; see the file COPYING. If not, write to + * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. + * http://www.gnu.org/copyleft/gpl.html + * + */ + +#endregion + using System; using System.Collections.Generic; using System.ComponentModel; +using System.Data; using System.Drawing; -using System.Data; using System.Text; using System.Windows.Forms; + using GUIPrograms; +using GUIPrograms.ApplicationItems; using GUIPrograms.Database; -using GUIPrograms.ApplicationItems; - - namespace GUIPrograms.Design { public partial class AppSettingsRoot : AppSettingsBase { - bool Loaded = false; public AppSettingsRoot() @@ -62,7 +85,6 @@ } - public override bool AppItemToForm(ApplicationItem curApp) { base.AppItemToForm(curApp); @@ -75,7 +97,6 @@ return true; } - public override void FormToAppItem(ApplicationItem curApp) { // currentApplication is null! @@ -92,12 +113,9 @@ } } - private void button1_Click(object sender, EventArgs e) { titleTextBox.Text = "My Programs Alt."; } - - } -} +} \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |