From f0775d4061e3f8e2c358fb8d2cf5a8077f71bc60 Mon Sep 17 00:00:00 2001 From: Nebuleux_cp Date: Thu, 8 Mar 2012 15:03:27 +0000 Subject: [PATCH] Add a license description in the header of every .cs and .xaml files. --- .../BusyIndicatorModule.cs | 57 +- .../NavigationItems/BusyIndicatorNavItem.xaml | 36 +- .../BusyIndicatorNavItem.xaml.cs | 36 +- .../Properties/AssemblyInfo.cs | 52 +- .../Resources/Common.xaml | 92 +- ...usyIndicatorCustomContentTemplateView.xaml | 130 +- ...IndicatorCustomContentTemplateView.xaml.cs | 39 +- .../Views/BusyIndicatorCustomContentView.xaml | 88 +- .../BusyIndicatorCustomContentView.xaml.cs | 39 +- .../Views/BusyIndicatorView.xaml | 120 +- .../Views/BusyIndicatorView.xaml.cs | 62 +- .../Samples.Modules.Button/ButtonModule.cs | 59 +- .../NavigationItems/ButtonSpinnerNavItem.xaml | 30 +- .../ButtonSpinnerNavItem.xaml.cs | 35 +- .../DropDownButtonNavItem.xaml | 30 +- .../DropDownButtonNavItem.xaml.cs | 35 +- .../NavigationItems/SplitButtonNavItem.xaml | 30 +- .../SplitButtonNavItem.xaml.cs | 35 +- .../Properties/AssemblyInfo.cs | 52 +- .../Views/ButtonSpinnerView.xaml | 106 +- .../Views/ButtonSpinnerView.xaml.cs | 82 +- .../Views/DropDownButtonView.xaml | 100 +- .../Views/DropDownButtonView.xaml.cs | 59 +- .../Views/SplitButtonView.xaml | 99 +- .../Views/SplitButtonView.xaml.cs | 59 +- .../CalculatorModule.cs | 55 +- .../NavigationItems/CalculatorNavItem.xaml | 32 +- .../NavigationItems/CalculatorNavItem.xaml.cs | 35 +- .../CalculatorUpDownNavItem.xaml | 32 +- .../CalculatorUpDownNavItem.xaml.cs | 35 +- .../Properties/AssemblyInfo.cs | 52 +- .../Views/CalculatorUpDownView.xaml | 130 +- .../Views/CalculatorUpDownView.xaml.cs | 39 +- .../Views/CalculatorView.xaml | 84 +- .../Views/CalculatorView.xaml.cs | 39 +- .../ChildWindowModule.cs | 49 +- .../Properties/AssemblyInfo.cs | 52 +- .../Views/HomeView.xaml | 230 +-- .../Views/HomeView.xaml.cs | 39 +- .../Views/NavigationView.xaml | 26 +- .../Views/NavigationView.xaml.cs | 46 +- .../Samples.Modules.Color/ColorModule.cs | 49 +- .../Properties/AssemblyInfo.cs | 52 +- .../Samples.Modules.Color/Views/HomeView.xaml | 75 +- .../Views/HomeView.xaml.cs | 328 +++-- .../Views/NavigationView.xaml | 26 +- .../Views/NavigationView.xaml.cs | 46 +- .../DateTimeModule.cs | 49 +- .../Properties/AssemblyInfo.cs | 52 +- .../Views/HomeView.xaml | 26 +- .../Views/HomeView.xaml.cs | 39 +- .../Views/NavigationView.xaml | 30 +- .../Views/NavigationView.xaml.cs | 46 +- .../Samples.Modules.Numeric/NumericModule.cs | 49 +- .../Properties/AssemblyInfo.cs | 52 +- .../Views/HomeView.xaml | 26 +- .../Views/HomeView.xaml.cs | 39 +- .../Views/NavigationView.xaml | 30 +- .../Views/NavigationView.xaml.cs | 46 +- .../Properties/AssemblyInfo.cs | 52 +- .../PropertyGridModule.cs | 61 +- .../Resources/LastNameUserControlEditor.xaml | 28 +- .../LastNameUserControlEditor.xaml.cs | 86 +- .../Views/BindingToStructs.xaml | 104 +- .../Views/BindingToStructs.xaml.cs | 170 ++- .../Views/CustomEditors.xaml | 145 +- .../Views/CustomEditors.xaml.cs | 372 +++-- .../Views/CustomItemsSource.xaml | 60 +- .../Views/CustomItemsSource.xaml.cs | 186 ++- .../Views/DefaultEditors.xaml | 54 +- .../Views/DefaultEditors.xaml.cs | 260 ++-- .../Views/ExpandableProperties.xaml | 60 +- .../Views/ExpandableProperties.xaml.cs | 141 +- .../Views/HomeView.xaml | 129 +- .../Views/HomeView.xaml.cs | 38 +- .../Views/NavigationView.xaml | 52 +- .../Views/NavigationView.xaml.cs | 46 +- .../Views/SpecifyingProperties.xaml | 76 +- .../Views/SpecifyingProperties.xaml.cs | 264 ++-- .../Properties/AssemblyInfo.cs | 52 +- .../Samples.Modules.Text/TextModule.cs | 51 +- .../Samples.Modules.Text/Views/HomeView.xaml | 35 +- .../Views/HomeView.xaml.cs | 96 +- .../Views/NavigationView.xaml | 40 +- .../Views/NavigationView.xaml.cs | 46 +- .../Views/WatermarkTextBoxView.xaml | 102 +- .../Views/WatermarkTextBoxView.xaml.cs | 39 +- .../Properties/AssemblyInfo.cs | 52 +- .../Views/HomeView.xaml | 50 +- .../Views/HomeView.xaml.cs | 39 +- .../Views/NavigationView.xaml | 30 +- .../Views/NavigationView.xaml.cs | 46 +- .../Samples.Modules.Wizard/WizardModule.cs | 51 +- .../Commands/TreeViewCommandBehavior.cs | 56 +- .../Commands/TreeViewSelected.cs | 117 +- .../Controls/DemoView.cs | 256 ++-- .../Converters/CSharpColorConverter.cs | 83 +- .../Converters/XamlColorConverter.cs | 240 +-- .../Core/CodeFormatting/CSharpFormat.cs | 682 +++++---- .../Core/CodeFormatting/XamlFormat.cs | 663 +++++---- .../Extensions/UnityContainerExtensions.cs | 30 +- .../Samples.Infrastructure/ModuleBase.cs | 69 +- .../Properties/AssemblyInfo.cs | 52 +- .../Samples.Infrastructure/RegionNames.cs | 29 +- .../Themes/Generic.xaml | 313 ++-- .../Samples.Infrastructure/ViewModelBase.cs | 37 +- .../Src/Samples/Samples/App.xaml | 40 +- .../Src/Samples/Samples/App.xaml.cs | 57 +- .../Src/Samples/Samples/Bootstrapper.cs | 61 +- .../Src/Samples/Samples/IShellViewModel.cs | 25 +- .../Samples/Properties/AssemblyInfo.cs | 52 +- .../Samples/Resources/TextBlockStyles.xaml | 32 +- .../Samples/Resources/TreeViewStyles.xaml | 462 +++--- .../Src/Samples/Samples/Shell.xaml | 92 +- .../Src/Samples/Samples/Shell.xaml.cs | 63 +- .../Src/Samples/Samples/ShellViewModel.cs | 50 +- .../Implementation/BusyIndicator.cs | 482 +++--- .../VisualStates.BusyIndicator.cs | 83 +- .../BusyIndicator/Themes/Generic.xaml | 292 ++-- .../Implementation/ButtonSpinner.cs | 405 ++--- .../Implementation/SpinDirection.cs | 47 +- .../Implementation/SpinEventArgs.cs | 59 +- .../ButtonSpinner/Implementation/Spinner.cs | 142 +- .../Implementation/ValidSpinDirections.cs | 58 +- .../ButtonSpinner/Themes/Generic.xaml | 147 +- .../Calculator/Implementation/Calculator.cs | 882 +++++------ .../Implementation/CalculatorCommands.cs | 34 +- .../Calculator/Themes/Generic.xaml | 996 +++++++------ .../Implementation/CalculatorUpDown.cs | 298 ++-- .../CalculatorUpDown/Themes/Generic.xaml | 263 ++-- .../Implementation/CheckComboBox.cs | 194 +-- .../CheckComboBox/Themes/Generic.xaml | 178 ++- .../Implementation/CheckListBox.cs | 44 +- .../CheckListBox/Themes/Generic.xaml | 58 +- .../ChildWindow/Implementation/ChildWindow.cs | 1305 +++++++++-------- .../Implementation/WindowStartupLocation.cs | 29 +- .../ChildWindow/Implementation/WindowState.cs | 29 +- .../ChildWindow/Themes/Generic.xaml | 432 +++--- .../Chromes/Implementation/ButtonChrome.cs | 468 +++--- .../Chromes/Themes/Generic.xaml | 430 +++--- .../Implementation/CollectionEditor.cs | 496 ++++--- .../CollectionEditorDialog.xaml | 61 +- .../CollectionEditorDialog.xaml.cs | 146 +- .../PrimitiveTypeCollectionEditor.cs | 392 ++--- .../CollectionEditors/Themes/Generic.xaml | 266 ++-- .../ColorCanvas/Implementation/ColorCanvas.cs | 643 ++++---- .../Implementation/ColorSpectrumSlider.cs | 134 +- .../ColorCanvas/Themes/Generic.xaml | 731 ++++----- .../ColorPicker/Implementation/ColorItem.cs | 45 +- .../ColorPicker/Implementation/ColorPicker.cs | 636 ++++---- .../ColorPicker/Themes/Generic.xaml | 572 ++++---- .../CalculatorMemoryToVisibilityConverter.cs | 42 +- .../ColorToSolidColorBrushConverter.cs | 102 +- .../Core/Converters/InverseBoolConverter.cs | 46 +- .../Converters/ObjectTypeToNameConverter.cs | 36 +- .../SolidColorBrushToColorConverter.cs | 62 +- .../TimeFormatToDateTimeFormatConverter.cs | 70 +- .../WizardPageButtonVisibilityConverter.cs | 84 +- .../Core/Primitives/HsvColor.cs | 41 +- .../Core/Primitives/InputBase.cs | 202 ++- .../Core/Primitives/Selector.cs | 654 +++++---- .../Core/Primitives/SelectorItem.cs | 135 +- .../Core/Primitives/UpDownBase.cs | 555 +++---- .../Core/Themes/ResourceKeys.cs | 75 +- .../Core/Themes/StaticResourceKey.cs | 67 +- .../Core/UIElementAdorner.cs | 367 ++--- .../Core/Utilities/CalculatorUtilities.cs | 477 +++--- .../Core/Utilities/ColorUtilities.cs | 319 ++-- .../Core/Utilities/ContextMenuUtilities.cs | 69 +- .../Implementation/DateTimePicker.cs | 318 ++-- .../DateTimePicker/Themes/Generic.xaml | 274 ++-- .../Implementation/DateTimeFormat.cs | 47 +- .../Implementation/DateTimeInfo.cs | 57 +- .../Implementation/DateTimeParser.cs | 216 +-- .../Implementation/DateTimePart.cs | 53 +- .../Implementation/DateTimeUpDown.cs | 1080 ++++++++------ .../DateTimeUpDown/Themes/Generic.xaml | 118 +- .../Implementation/DropDownButton.cs | 643 ++++---- .../DropDownButton/Themes/Generic.xaml | 163 +- ...rderThicknessToStrokeThicknessConverter.cs | 50 +- .../Converters/RadiusConverter.cs | 44 +- .../Magnifier/Implementation/FrameType.cs | 29 +- .../Magnifier/Implementation/Magnifier.cs | 386 ++--- .../Implementation/MagnifierAdorner.cs | 156 +- .../Implementation/MagnifierManager.cs | 156 +- .../Magnifier/Themes/Generic.xaml | 133 +- .../Implementation/MaskedTextBox.cs | 892 +++++------ .../MessageBox/Implementation/MessageBox.cs | 1064 ++++++++------ .../Implementation/VisualStates.MessageBox.cs | 35 +- .../MessageBox/Themes/Generic.xaml | 566 +++---- .../Implementation/MultiLineTextEditor.cs | 376 +++-- .../MultiLineTextEditor/Themes/Generic.xaml | 258 ++-- .../Implementation/DecimalUpDown.cs | 208 +-- .../Implementation/DoubleUpDown.cs | 208 +-- .../Implementation/IntegerUpDown.cs | 210 +-- .../Implementation/NumericUpDown.cs | 275 ++-- .../NumericUpDown/Themes/Generic.xaml | 180 ++- .../Properties/AssemblyInfo.cs | 62 +- .../Attributes/ExpandableObjectAttribute.cs | 29 +- .../Implementation/Attributes/IItemsSource.cs | 71 +- .../Attributes/ItemsSourceAttribute.cs | 42 +- .../Attributes/PropertyOrderAttribute.cs | 40 +- .../Commands/PropertyGridCommands.cs | 37 +- .../Commands/PropertyItemCommands.cs | 37 +- .../ExpandableObjectMarginConverter.cs | 40 +- .../ValueSourceToImagePathConverter.cs | 96 +- .../ValueSourceToToolTipConverter.cs | 86 +- .../Implementation/EditorDefinition.cs | 52 +- .../EditorDefinitionCollection.cs | 68 +- .../Implementation/Editors/CheckBoxEditor.cs | 40 +- .../Editors/CollectionEditor.xaml | 117 +- .../Editors/CollectionEditor.xaml.cs | 71 +- .../Implementation/Editors/ColorEditor.cs | 39 +- .../Implementation/Editors/ComboBoxEditor.cs | 57 +- .../Editors/DateTimeUpDownEditor.cs | 37 +- .../Editors/DecimalUpDownEditor.cs | 39 +- .../Editors/DoubleUpDownEditor.cs | 39 +- .../Editors/EnumComboBoxEditor.cs | 71 +- .../Editors/FontComboBoxEditor.cs | 80 +- .../Implementation/Editors/ITypeEditor.cs | 28 +- .../Editors/IntegerUpDownEditor.cs | 37 +- .../Editors/ItemsSourceAttributeEditor.cs | 90 +- .../Editors/PrimitiveTypeCollectionEditor.cs | 55 +- .../Implementation/Editors/TextBlockEditor.cs | 39 +- .../Implementation/Editors/TextBoxEditor.cs | 39 +- .../Implementation/Editors/TimeSpanEditor.cs | 68 +- .../Implementation/Editors/TypeEditor.cs | 104 +- .../Implementation/PropertyDefinition.cs | 27 +- .../PropertyDefinitionCollection.cs | 44 +- .../Implementation/PropertyGrid.cs | 946 +++++++----- .../Implementation/PropertyGridUtilities.cs | 333 +++-- .../Implementation/PropertyItem.cs | 747 ++++++---- .../Implementation/PropertyItemCollection.cs | 105 +- .../PropertyGrid/Themes/Generic.xaml | 1013 ++++++------- .../RichTextBox/Formatters/ITextFormatter.cs | 29 +- .../Formatters/PlainTextFormatter.cs | 45 +- .../RichTextBox/Formatters/RtfFormatter.cs | 92 +- .../RichTextBox/Formatters/XamlFormatter.cs | 92 +- .../RichTextBox/RichTextBox.cs | 238 +-- .../IRichTextBoxFormatBar.cs | 33 +- .../RichTextBoxFormatBar.xaml | 882 +++++------ .../RichTextBoxFormatBar.xaml.cs | 375 ++--- .../RichTextBoxFormatBarManager.cs | 365 ++--- .../SplitButton/Implementation/SplitButton.cs | 51 +- .../SplitButton/Themes/Generic.xaml | 212 +-- .../Themes/Aero.NormalColor.xaml | 28 +- .../Themes/Aero/Brushes_NormalColor.xaml | 234 +-- .../Themes/Aero/Buttons_NormalColor.xaml | 72 +- .../WPFToolkit.Extended/Themes/Generic.xaml | 84 +- .../Themes/Generic/Brushes.xaml | 225 +-- .../Themes/Generic/Buttons.xaml | 68 +- .../Themes/Generic/Common.xaml | 270 ++-- .../Themes/Generic/Glyphs.xaml | 98 +- .../TimePicker/Implementation/TimeFormat.cs | 32 +- .../TimePicker/Implementation/TimeItem.cs | 82 +- .../TimePicker/Implementation/TimePicker.cs | 743 +++++----- .../TimePicker/Themes/Generic.xaml | 281 ++-- .../TokenizedTextBox/Implementation/Token.cs | 63 +- .../Implementation/TokenItem.cs | 50 +- .../Implementation/TokenizedTextBox.cs | 579 ++++---- .../TokenizedTextBoxCommands.cs | 35 +- .../TokenizedTextBox/Themes/Generic.xaml | 121 +- .../Src/WPFToolkit.Extended/VisualStates.cs | 25 +- .../Implementation/WatermarkTextBox.cs | 141 +- .../WatermarkTextBox/Themes/Generic.xaml | 178 +-- .../Wizard/Implementation/Wizard.cs | 852 ++++++----- .../Wizard/Implementation/WizardCommands.cs | 109 +- .../Wizard/Implementation/WizardPage.cs | 427 ++++-- .../WizardPageButtonVisibility.cs | 33 +- .../Wizard/Implementation/WizardPageType.cs | 31 +- .../Wizard/Themes/Generic.xaml | 364 ++--- .../Src/WPFToolkit.Extended.Examples/App.xaml | 26 +- .../WPFToolkit.Extended.Examples/App.xaml.cs | 35 +- .../Properties/AssemblyInfo.cs | 52 +- .../WPFToolkit.Extended.Examples/Window1.xaml | 30 +- .../Window1.xaml.cs | 54 +- .../BusyIndicator/Themes/Generic.xaml | 292 ++-- .../ButtonSpinner/Themes/Generic.xaml | 147 +- .../Calculator/Themes/Generic.xaml | 996 +++++++------ .../CalculatorUpDown/Themes/Generic.xaml | 264 ++-- .../CheckComboBox/Themes/Generic.xaml | 174 ++- .../CheckListBox/Themes/Generic.xaml | 56 +- .../ChildWindow/Themes/Generic.xaml | 432 +++--- .../Chromes/Themes/Generic.xaml | 30 +- .../CollectionEditors/Themes/Generic.xaml | 266 ++-- .../ColorCanvas/Themes/Generic.xaml | 731 ++++----- .../ColorPicker/Themes/Generic.xaml | 572 ++++---- .../DateTimePicker/Themes/Generic.xaml | 270 ++-- .../DateTimeUpDown/Themes/Generic.xaml | 117 +- .../DropDownButton/Themes/Generic.xaml | 163 +- .../Magnifier/Themes/Generic.xaml | 43 +- .../MessageBox/Themes/Generic.xaml | 566 +++---- .../MultiLineTextEditor/Themes/Generic.xaml | 258 ++-- .../NumericUpDown/Themes/Generic.xaml | 178 ++- .../Properties/AssemblyInfo.cs | 64 +- .../PropertyGrid/Themes/Generic.xaml | 1013 ++++++------- .../SplitButton/Themes/Generic.xaml | 210 +-- .../Themes/Aero.NormalColor.xaml | 28 +- .../Themes/Aero/Brushes_NormalColor.xaml | 234 +-- .../Themes/Aero/Buttons_NormalColor.xaml | 72 +- .../WPFToolkit.Extended/Themes/Generic.xaml | 86 +- .../Themes/Generic/Brushes.xaml | 225 +-- .../Themes/Generic/Buttons.xaml | 68 +- .../Themes/Generic/Common.xaml | 270 ++-- .../Themes/Generic/Glyphs.xaml | 98 +- .../TimePicker/Themes/Generic.xaml | 281 ++-- .../TokenizedTextBox/Themes/Generic.xaml | 121 +- .../WatermarkTextBox/Themes/Generic.xaml | 182 +-- .../Wizard/Themes/Generic.xaml | 364 ++--- 309 files changed, 31481 insertions(+), 23497 deletions(-) diff --git a/ExtendedWPFToolkitSolution/Src/Samples/Modules/Samples.Modules.BusyIndicator/BusyIndicatorModule.cs b/ExtendedWPFToolkitSolution/Src/Samples/Modules/Samples.Modules.BusyIndicator/BusyIndicatorModule.cs index f5aa895a..ecedc15e 100644 --- a/ExtendedWPFToolkitSolution/Src/Samples/Modules/Samples.Modules.BusyIndicator/BusyIndicatorModule.cs +++ b/ExtendedWPFToolkitSolution/Src/Samples/Modules/Samples.Modules.BusyIndicator/BusyIndicatorModule.cs @@ -1,30 +1,47 @@ -using System; -using Samples.Infrastructure; -using Microsoft.Practices.Unity; +/************************************************************************ + + Extended WPF Toolkit + + Copyright (C) 2010-2012 Xceed Software Inc. + + This program is provided to you under the terms of the Microsoft Reciprocal + License (Ms-RL) as published at http://wpftoolkit.codeplex.com/license + + This program can be provided to you by Xceed Software Inc. under a + proprietary commercial license agreement for use in non-Open Source + projects. The commercial version of Extended WPF Toolkit also includes + priority technical support, commercial updates, and many additional + useful WPF controls if you license Xceed Business Suite for WPF. + + Visit http://xceed.com and follow @datagrid on Twitter. + + **********************************************************************/ using Microsoft.Practices.Prism.Regions; +using Microsoft.Practices.Unity; +using Samples.Infrastructure; using Samples.Infrastructure.Extensions; using Samples.Modules.BusyIndicator.NavigationItems; using Samples.Modules.BusyIndicator.Views; namespace Samples.Modules.BusyIndicator { - public class BusyIndicatorModule : ModuleBase + public class BusyIndicatorModule : ModuleBase + { + public BusyIndicatorModule( IUnityContainer container, IRegionManager regionManager ) + : base( container, regionManager ) + { + } + + protected override void RegisterViewsAndTypes() + { + Container.RegisterNavigationType( typeof( BusyIndicatorView ) ); + Container.RegisterNavigationType( typeof( BusyIndicatorCustomContentView ) ); + Container.RegisterNavigationType( typeof( BusyIndicatorCustomContentTemplateView ) ); + } + + protected override void InitializeModule() { - public BusyIndicatorModule(IUnityContainer container, IRegionManager regionManager) - : base(container, regionManager) - { - } - - protected override void RegisterViewsAndTypes() - { - Container.RegisterNavigationType(typeof(BusyIndicatorView)); - Container.RegisterNavigationType(typeof(BusyIndicatorCustomContentView)); - Container.RegisterNavigationType(typeof(BusyIndicatorCustomContentTemplateView)); - } - - protected override void InitializeModule() - { - RegionManager.RegisterViewWithRegion(RegionNames.NavigationRegion, typeof(BusyIndicatorNavItem)); - } + RegionManager.RegisterViewWithRegion( RegionNames.NavigationRegion, typeof( BusyIndicatorNavItem ) ); } + } } diff --git a/ExtendedWPFToolkitSolution/Src/Samples/Modules/Samples.Modules.BusyIndicator/NavigationItems/BusyIndicatorNavItem.xaml b/ExtendedWPFToolkitSolution/Src/Samples/Modules/Samples.Modules.BusyIndicator/NavigationItems/BusyIndicatorNavItem.xaml index 14e971f5..b398bb50 100644 --- a/ExtendedWPFToolkitSolution/Src/Samples/Modules/Samples.Modules.BusyIndicator/NavigationItems/BusyIndicatorNavItem.xaml +++ b/ExtendedWPFToolkitSolution/Src/Samples/Modules/Samples.Modules.BusyIndicator/NavigationItems/BusyIndicatorNavItem.xaml @@ -1,14 +1,32 @@ - + - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +