From e6870af9414f94400ce41d11d19c2be179c980f2 Mon Sep 17 00:00:00 2001 From: NaBian <836904362@qq.com> Date: Sun, 18 Oct 2020 00:53:02 +0800 Subject: [PATCH] environmental adaptation --- src/HandyControl.sln | 46 + .../HandyControlDemo_Net_35.csproj | 625 ++++++++ .../UserControl/Basic/Avatar.xaml | 23 + .../UserControl/Basic/Avatar.xaml.cs | 40 + .../Controls/CalendarWithClockDemoCtl.xaml | 3 + .../Controls/CalendarWithClockDemoCtl.xaml.cs | 7 + .../Controls/DatePickerDemoCtl.xaml | 3 + .../Controls/DatePickerDemoCtl.xaml.cs | 7 + .../Controls/DateTimePickerDemoCtl.xaml | 3 + .../Controls/DateTimePickerDemoCtl.xaml.cs | 7 + .../Controls/PaginationDemoCtl.xaml | 16 + .../Controls/PaginationDemoCtl.xaml.cs | 11 + .../UserControl/Styles/CalendarDemoCtl.xaml | 3 + .../Styles/CalendarDemoCtl.xaml.cs | 7 + .../UserControl/Styles/DataGridDemoCtl.xaml | 3 + .../Styles/DataGridDemoCtl.xaml.cs | 8 + .../Styles/NativeDatePickerDemoCtl.xaml | 3 + .../Styles/NativeDatePickerDemoCtl.xaml.cs | 7 + .../Controls/Attach/DataGridAttach.cs | 0 .../Controls/Attach/ImageAttach.cs | 1 + .../Controls/Input/DatePicker.cs | 1 + .../Controls/Input/DateTimePicker.cs | 1 + .../Editors/DatePropertyEditor.cs | 1 + .../Editors/DateTimePropertyEditor.cs | 1 + .../Editors/TimePropertyEditor.cs | 1 + .../Controls/Time/CalendarWithClock.cs | 1 + .../HandyControl_Net_35.csproj | 356 +++++ .../ExtendedVisualStateManager.cs | 72 + .../Media/Animation/EasingGeometryKeyFrame.cs | 1 + .../Themes/Basic/Behaviors.xaml | 17 + .../Themes/Basic/Brushes.xaml | 65 + .../Themes/Styles/Base/BadgeBaseStyle.xaml | 93 ++ .../Themes/Styles/Base/CheckBoxBaseStyle.xaml | 106 ++ .../Styles/Base/CheckComboBoxBaseStyle.xaml | 585 ++++++++ .../Styles/Base/ColorPickerBaseStyle.xaml | 246 +++ .../Themes/Styles/Base/ComboBoxBaseStyle.xaml | 1318 +++++++++++++++++ .../Styles/Base/DatePickerBaseStyle.xaml | 1 + .../Styles/Base/DateTimePickerBaseStyle.xaml | 1 + .../Themes/Styles/Base/ListBoxBaseStyle.xaml | 91 ++ .../Themes/Styles/Base/MenuBaseStyle.xaml | 216 +++ .../Base/NavigationWindowBaseStyle.xaml | 72 + .../Styles/Base/NumericUpDownBaseStyle.xaml | 302 ++++ .../Styles/Base/PasswordBoxBaseStyle.xaml | 308 ++++ .../Styles/Base/ProgressBarBaseStyle.xaml | 207 +++ .../Styles/Base/RadioButtonBaseStyle.xaml | 222 +++ .../Themes/Styles/Base/RateBaseStyle.xaml | 89 ++ .../Styles/Base/ScrollViewerBaseStyle.xaml | 307 ++++ .../Themes/Styles/Base/SliderBaseStyle.xaml | 969 ++++++++++++ .../Styles/Base/SplitButtonBaseStyle.xaml | 86 ++ .../Themes/Styles/Base/TextBoxBaseStyle.xaml | 271 ++++ .../Styles/Base/ToggleButtonBaseStyle.xaml | 260 ++++ .../Themes/Styles/Base/ToolBarBaseStyle.xaml | 231 +++ .../Themes/Styles/Base/TreeViewBaseStyle.xaml | 127 ++ .../Themes/Styles/Calendar.xaml | 1 + .../Themes/Styles/CalendarWithClock.xaml | 1 + .../Themes/Styles/Clock.xaml | 181 +++ .../Themes/Styles/DataGrid.xaml | 1 + .../Themes/Styles/DatePicker.xaml | 1 + .../Themes/Styles/DateTimePicker.xaml | 1 + .../Themes/Styles/ImageViewer.xaml | 79 + .../Themes/Styles/ListView.xaml | 161 ++ .../Themes/Styles/MessageBox.xaml | 107 ++ .../Themes/Styles/Pagination.xaml | 108 ++ .../Themes/Styles/PopupWindow.xaml | 74 + .../Themes/Styles/ProgressBar.xaml | 277 ++++ .../Themes/Styles/RichTextBox.xaml | 52 + .../Themes/Styles/Screenshot.xaml | 142 ++ .../Themes/Styles/TabControl.xaml | 328 ++++ .../Themes/Styles/TimeBar.xaml | 58 + .../Themes/Styles/ToggleButton.xaml | 335 +++++ .../Styles/TransitioningContentControl.xaml | 49 + .../Themes/Styles/Window.xaml | 242 +++ .../Tools/Extension/DialogExtension.cs | 1 + .../HandyControlDemo_Net_40.csproj | 2 +- .../HandyControl_Net_40.csproj | 8 +- .../Themes/Styles/MessageBox.xaml | 2 +- .../Themes/Styles/Window.xaml | 2 +- .../HandyControlDemo_Code.csproj | 2 +- src/Shared/HandyControlDemo_Shared/App.xaml | 195 +++ .../HandyControlDemo_Shared/App.xaml.cs | 4 +- .../Data/DemoInfo_Net_35.json | 115 ++ .../Data/Model/DemoInfoModel.cs | 11 +- .../Data/Model/DemoItemModel.cs | 2 +- .../Resources/Themes/Styles/Style.xaml | 195 +-- .../Service/Data/DataService.cs | 55 +- .../Basic/TextDialogWithTimer.xaml.cs | 2 + .../UserControl/Controls/StepBarDemoCtl.xaml | 8 +- .../Controls/TimeBarDemoCtl.xaml.cs | 6 +- .../UserControl/Main/LeftMainContent.xaml | 12 +- .../UserControl/Main/MainContent.xaml.cs | 14 +- .../UserControl/Tools/EffectsDemoCtl.xaml | 9 +- .../Tools/GeometryAnimationDemoCtl.xaml | 16 +- .../ViewModel/Basic/ChatBoxViewModel.cs | 19 +- .../Basic/InteractiveDialogViewModel.cs | 13 +- .../ViewModel/Controls/BadgeDemoViewModel.cs | 8 +- .../ViewModel/Controls/CardDemoViewModel.cs | 19 +- .../ViewModel/Controls/DialogDemoViewModel.cs | 42 +- .../ViewModel/Controls/GrowlDemoViewModel.cs | 122 +- .../Controls/ImageBrowserDemoViewModel.cs | 5 +- .../Controls/NotificationDemoViewModel.cs | 8 +- .../Controls/NotifyIconDemoViewModel.cs | 19 +- .../Controls/PaginationDemoViewModel.cs | 8 +- .../Controls/SearchBarDemoViewModel.cs | 6 +- .../Controls/SideMenuDemoViewModel.cs | 9 +- .../Controls/SplitButtonDemoViewModel.cs | 6 +- .../ViewModel/Controls/SpriteDemoViewModel.cs | 6 +- .../Controls/StepBarDemoViewModel.cs | 9 +- .../Controls/TabControlDemoViewModel.cs | 9 +- .../ViewModel/Controls/WindowDemoViewModel.cs | 5 +- .../ViewModel/DemoViewModelBase!1.cs | 2 +- .../ViewModel/Main/ItemsDisplayViewModel.cs | 15 +- .../ViewModel/Main/MainViewModel.cs | 56 +- .../ViewModel/Main/NoUserViewModel.cs | 6 +- .../ViewModel/ViewModelLocator.cs | 6 +- .../Window/AboutWindow.xaml.cs | 4 +- .../Controls/Attach/PanelElement.cs | 2 +- .../Controls/Attach/WindowAttach.cs | 5 +- .../Block/RunningBlock/RunningBlock.cs | 39 +- .../Block/RunningBlock/RunningBorder.cs | 2 + .../Controls/Button/SplitButton.cs | 35 +- .../Controls/Growl/Growl.cs | 14 +- .../Input/CheckComboBox/CheckComboBox.cs | 18 +- .../Input/CheckComboBox/CheckComboBoxItem.cs | 25 + .../Controls/Input/ComboBox.cs | 36 +- .../Controls/Input/ImageSelector.cs | 35 +- .../Controls/Input/NumericUpDown.cs | 15 +- .../Controls/Input/PasswordBox.cs | 58 +- .../Controls/Input/PinBox.cs | 18 +- .../Controls/Input/TextBox.cs | 2 +- .../Controls/Input/TimePicker.cs | 219 ++- .../Controls/Loading/LoadingCircle.cs | 29 +- .../Controls/Loading/LoadingLine.cs | 15 +- .../Controls/Other/BlendEffectBox.cs | 4 +- .../Controls/Other/DashedBorder.cs | 13 +- .../Controls/Other/Drawer.cs | 70 +- .../Controls/Other/NotifyIcon.cs | 2 + .../Controls/Other/Poptip.cs | 148 +- .../Controls/Other/ScrollViewer.cs | 4 + .../Controls/Panel/FlexPanel.cs | 4 + .../Controls/Panel/RelativePanel.cs | 26 +- .../PropertyGrid/PropertyItemsControl.cs | 2 +- .../Controls/PropertyGrid/PropertyResolver.cs | 2 + .../Slider/RangeSlider/TwoWayRangeBase.cs | 59 +- .../Controls/TabControl/TabControl.cs | 53 +- .../Controls/TabControl/TabItem.cs | 8 +- .../Controls/Tag/TagPanel.cs | 6 +- .../Controls/Text/OutlineText.cs | 4 +- .../Controls/Text/SimpleText.cs | 4 +- .../Controls/Time/TimeBar/TimeBar.cs | 42 +- .../Controls/Window/Window.cs | 4 +- .../Data/GlowWindow/GlowEdge.cs | 7 + .../Expression/Drawing/PathFigureHelper.cs | 7 +- .../Expression/Media/ArcGeometrySource.cs | 17 +- .../Behavior/FluidMoveBehavior.cs | 14 +- .../Behavior/FluidMoveBehaviorBase.cs | 2 +- .../Media/Animation/GeometryAnimation.cs | 5 +- .../Tools/Extension/ValueExtension.cs | 23 + .../Tools/Helper/AnimationHelper.cs | 10 +- .../Tools/Helper/ConfigHelper.cs | 16 +- .../Tools/Helper/ResourceHelper.cs | 2 +- .../Tools/Helper/VisualHelper.cs | 7 +- .../Tools/Helper/WindowHelper.cs | 8 +- .../Tools/Interop/InteropMethods.cs | 5 +- .../Microsoft.Windows.Shell/JumpItem.cs | 18 + .../JumpItemRejectionReason.cs | 17 + .../JumpItemsRejectedEventArgs.cs | 41 + .../JumpItemsRemovedEventArgs.cs | 30 + .../Microsoft.Windows.Shell/JumpList.cs | 814 ++++++++++ .../Microsoft.Windows.Shell/JumpPath.cs | 13 + .../Microsoft.Windows.Shell/JumpTask.cs | 43 + .../Microsoft.Windows.Shell.projitems | 169 +++ .../Microsoft.Windows.Shell.shproj | 13 + .../Microsoft.Windows.Shell/Standard/AC.cs | 13 + .../Standard/APPDOCLISTTYPE.cs | 13 + .../Standard/Assert.cs | 263 ++++ .../Microsoft.Windows.Shell/Standard/BI.cs | 11 + .../Standard/BITMAPINFO.cs | 14 + .../Standard/BITMAPINFOHEADER.cs | 43 + .../Standard/BLENDFUNCTION.cs | 20 + .../Standard/CHANGEFILTERSTRUCT.cs | 14 + .../Microsoft.Windows.Shell/Standard/CLSID.cs | 32 + .../Standard/CREATESTRUCT.cs | 48 + .../Microsoft.Windows.Shell/Standard/CS.cs | 36 + .../Standard/CombineRgnResult.cs | 17 + .../Microsoft.Windows.Shell/Standard/DOGIF.cs | 19 + .../Standard/DWMFLIP3D.cs | 15 + .../Standard/DWMNCRP.cs | 15 + .../Microsoft.Windows.Shell/Standard/DWMWA.cs | 33 + .../Standard/DWM_SIT.cs | 13 + .../Standard/DWM_TIMING_INFO.cs | 130 ++ .../Standard/DeviceCap.cs | 17 + .../Standard/DoubleUtilities.cs | 66 + .../Standard/DpiHelper.cs | 80 + .../Standard/ErrorModes.cs | 20 + .../Microsoft.Windows.Shell/Standard/FO.cs | 17 + .../Microsoft.Windows.Shell/Standard/FOF.cs | 41 + .../Standard/Facility.cs | 29 + .../Microsoft.Windows.Shell/Standard/GCLP.cs | 11 + .../Microsoft.Windows.Shell/Standard/GPS.cs | 29 + .../Microsoft.Windows.Shell/Standard/GWL.cs | 23 + .../Microsoft.Windows.Shell/Standard/HCF.cs | 24 + .../Standard/HIGHCONTRAST.cs | 17 + .../Standard/HRESULT.cs | 287 ++++ .../Microsoft.Windows.Shell/Standard/HT.cs | 67 + .../Standard/IApplicationDestinations.cs | 21 + .../Standard/IApplicationDocumentLists.cs | 19 + .../Standard/ICustomDestinationList.cs | 43 + .../Standard/IEnumIDList.cs | 26 + .../Standard/IEnumObjects.cs | 24 + .../Microsoft.Windows.Shell/Standard/IID.cs | 80 + .../Microsoft.Windows.Shell/Standard/INPUT.cs | 14 + .../Standard/INPUT_TYPE.cs | 11 + .../Standard/IObjectArray.cs | 19 + .../Standard/IObjectCollection.cs | 31 + .../Standard/IObjectWithAppUserModelId.cs | 19 + .../Standard/IObjectWithProgId.cs | 19 + .../Standard/IPropertyStore.cs | 27 + .../Standard/IShellFolder.cs | 48 + .../Standard/IShellItem.cs | 30 + .../Standard/IShellItem2.cs | 75 + .../Standard/IShellItemArray.cs | 38 + .../Standard/IShellLinkW.cs | 67 + .../Standard/ITaskbarList.cs | 27 + .../Standard/ITaskbarList2.cs | 30 + .../Standard/ITaskbarList3.cs | 78 + .../Standard/ITaskbarList4.cs | 81 + .../Microsoft.Windows.Shell/Standard/KDC.cs | 13 + .../Standard/LOGFONT.cs | 53 + .../Standard/MARGINS.cs | 20 + .../Microsoft.Windows.Shell/Standard/MF.cs | 20 + .../Standard/MINMAXINFO.cs | 23 + .../Standard/MONITORINFO.cs | 22 + .../Standard/MOUSEEVENTF.cs | 13 + .../Standard/MOUSEINPUT.cs | 26 + .../Standard/MSGFLT.cs | 15 + .../Standard/MSGFLTINFO.cs | 17 + .../Standard/ManagedIStream.cs | 169 +++ .../Standard/MessageHandler.cs | 8 + .../Standard/MessageWindow.cs | 147 ++ .../Microsoft.Windows.Shell/Standard/NIF.cs | 30 + .../Microsoft.Windows.Shell/Standard/NIIF.cs | 27 + .../Microsoft.Windows.Shell/Standard/NIM.cs | 19 + .../Standard/NONCLIENTMETRICS.cs | 86 ++ .../Standard/NOTIFYICONDATA.cs | 60 + .../Standard/NativeMethods.cs | 1045 +++++++++++++ .../Standard/OLECMDEXECOPT.cs | 17 + .../Standard/OLECMDF.cs | 21 + .../Standard/OLECMDID.cs | 123 ++ .../Microsoft.Windows.Shell/Standard/PKEY.cs | 41 + .../Microsoft.Windows.Shell/Standard/POINT.cs | 14 + .../Standard/PROPVARIANT.cs | 111 ++ .../Standard/READYSTATE.cs | 19 + .../Microsoft.Windows.Shell/Standard/RECT.cs | 181 +++ .../Standard/RGBQUAD.cs | 20 + .../Microsoft.Windows.Shell/Standard/RGN.cs | 19 + .../Standard/RefPOINT.cs | 18 + .../Standard/RefRECT.cs | 130 ++ .../Microsoft.Windows.Shell/Standard/SC.cs | 55 + .../Microsoft.Windows.Shell/Standard/SFGAO.cs | 78 + .../Microsoft.Windows.Shell/Standard/SHARD.cs | 23 + .../Standard/SHARDAPPIDINFO.cs | 20 + .../Standard/SHARDAPPIDINFOIDLIST.cs | 19 + .../Standard/SHARDAPPIDINFOLINK.cs | 19 + .../Standard/SHCONTF.cs | 33 + .../Standard/SHFILEOPSTRUCT.cs | 37 + .../Microsoft.Windows.Shell/Standard/SHGDN.cs | 20 + .../Standard/SIATTRIBFLAGS.cs | 15 + .../Standard/SICHINT.cs | 17 + .../Microsoft.Windows.Shell/Standard/SIGDN.cs | 27 + .../Microsoft.Windows.Shell/Standard/SIZE.cs | 14 + .../Microsoft.Windows.Shell/Standard/SLGP.cs | 16 + .../Microsoft.Windows.Shell/Standard/SM.cs | 177 +++ .../Microsoft.Windows.Shell/Standard/SPI.cs | 439 ++++++ .../Microsoft.Windows.Shell/Standard/SPIF.cs | 18 + .../Standard/STATE_SYSTEM.cs | 74 + .../Microsoft.Windows.Shell/Standard/STPF.cs | 20 + .../Standard/STR_GPS.cs | 26 + .../Microsoft.Windows.Shell/Standard/SW.cs | 37 + .../Microsoft.Windows.Shell/Standard/SWP.cs | 40 + .../Standard/SafeConnectionPointCookie.cs | 81 + .../Standard/SafeDC.cs | 174 +++ .../Standard/SafeFindHandle.cs | 22 + .../Standard/SafeGdiplusStartupToken.cs | 42 + .../Standard/SafeHBITMAP.cs | 22 + .../Standard/StartupInput.cs | 22 + .../Standard/StartupOutput.cs | 14 + .../Standard/Status.cs | 53 + .../Standard/StockObject.cs | 33 + .../Microsoft.Windows.Shell/Standard/TBPF.cs | 19 + .../Microsoft.Windows.Shell/Standard/THB.cs | 18 + .../Microsoft.Windows.Shell/Standard/THBF.cs | 22 + .../Standard/THUMBBUTTON.cs | 32 + .../Standard/TITLEBARINFO.cs | 32 + .../Standard/TITLEBARINFOEX.cs | 50 + .../Microsoft.Windows.Shell/Standard/ULW.cs | 15 + .../Standard/UNSIGNED_RATIO.cs | 14 + .../Standard/Utility.cs | 888 +++++++++++ .../Standard/Verify.cs | 265 ++++ .../Standard/WIN32_FIND_DATAW.cs | 47 + .../Standard/WINDOWPLACEMENT.cs | 28 + .../Standard/WINDOWPOS.cs | 29 + .../Standard/WINDOWTHEMEATTRIBUTETYPE.cs | 11 + .../Microsoft.Windows.Shell/Standard/WM.cs | 271 ++++ .../Standard/WNDCLASSEX.cs | 48 + .../Microsoft.Windows.Shell/Standard/WS.cs | 64 + .../Microsoft.Windows.Shell/Standard/WS_EX.cs | 64 + .../Standard/WTA_OPTIONS.cs | 24 + .../Microsoft.Windows.Shell/Standard/WTNCA.cs | 20 + .../Microsoft.Windows.Shell/Standard/WVR.cs | 25 + .../Standard/Win32Error.cs | 157 ++ .../Standard/Win32Value.cs | 29 + .../Standard/WndProc.cs | 8 + .../Standard/WndProcHook.cs | 8 + .../Microsoft.Windows.Shell/SystemCommands.cs | 100 ++ .../SystemParameters2.cs | 626 ++++++++ .../TaskbarItemInfo.cs | 703 +++++++++ .../TaskbarItemProgressState.cs | 19 + .../ThumbButtonInfo.cs | 347 +++++ .../ThumbButtonInfoCollection.cs | 34 + .../Microsoft.Windows.Shell/WindowChrome.cs | 260 ++++ .../WindowChromeWorker.cs | 883 +++++++++++ 321 files changed, 24005 insertions(+), 685 deletions(-) create mode 100644 src/Net_35/HandyControlDemo_Net_35/HandyControlDemo_Net_35.csproj create mode 100644 src/Net_35/HandyControlDemo_Net_35/UserControl/Basic/Avatar.xaml create mode 100644 src/Net_35/HandyControlDemo_Net_35/UserControl/Basic/Avatar.xaml.cs create mode 100644 src/Net_35/HandyControlDemo_Net_35/UserControl/Controls/CalendarWithClockDemoCtl.xaml create mode 100644 src/Net_35/HandyControlDemo_Net_35/UserControl/Controls/CalendarWithClockDemoCtl.xaml.cs create mode 100644 src/Net_35/HandyControlDemo_Net_35/UserControl/Controls/DatePickerDemoCtl.xaml create mode 100644 src/Net_35/HandyControlDemo_Net_35/UserControl/Controls/DatePickerDemoCtl.xaml.cs create mode 100644 src/Net_35/HandyControlDemo_Net_35/UserControl/Controls/DateTimePickerDemoCtl.xaml create mode 100644 src/Net_35/HandyControlDemo_Net_35/UserControl/Controls/DateTimePickerDemoCtl.xaml.cs create mode 100644 src/Net_35/HandyControlDemo_Net_35/UserControl/Controls/PaginationDemoCtl.xaml create mode 100644 src/Net_35/HandyControlDemo_Net_35/UserControl/Controls/PaginationDemoCtl.xaml.cs create mode 100644 src/Net_35/HandyControlDemo_Net_35/UserControl/Styles/CalendarDemoCtl.xaml create mode 100644 src/Net_35/HandyControlDemo_Net_35/UserControl/Styles/CalendarDemoCtl.xaml.cs create mode 100644 src/Net_35/HandyControlDemo_Net_35/UserControl/Styles/DataGridDemoCtl.xaml create mode 100644 src/Net_35/HandyControlDemo_Net_35/UserControl/Styles/DataGridDemoCtl.xaml.cs create mode 100644 src/Net_35/HandyControlDemo_Net_35/UserControl/Styles/NativeDatePickerDemoCtl.xaml create mode 100644 src/Net_35/HandyControlDemo_Net_35/UserControl/Styles/NativeDatePickerDemoCtl.xaml.cs create mode 100644 src/Net_35/HandyControl_Net_35/Controls/Attach/DataGridAttach.cs create mode 100644 src/Net_35/HandyControl_Net_35/Controls/Attach/ImageAttach.cs create mode 100644 src/Net_35/HandyControl_Net_35/Controls/Input/DatePicker.cs create mode 100644 src/Net_35/HandyControl_Net_35/Controls/Input/DateTimePicker.cs create mode 100644 src/Net_35/HandyControl_Net_35/Controls/PropertyGrid/Editors/DatePropertyEditor.cs create mode 100644 src/Net_35/HandyControl_Net_35/Controls/PropertyGrid/Editors/DateTimePropertyEditor.cs create mode 100644 src/Net_35/HandyControl_Net_35/Controls/PropertyGrid/Editors/TimePropertyEditor.cs create mode 100644 src/Net_35/HandyControl_Net_35/Controls/Time/CalendarWithClock.cs create mode 100644 src/Net_35/HandyControl_Net_35/HandyControl_Net_35.csproj create mode 100644 src/Net_35/HandyControl_Net_35/Interactivity/ExtendedVisualStateManager.cs create mode 100644 src/Net_35/HandyControl_Net_35/Media/Animation/EasingGeometryKeyFrame.cs create mode 100644 src/Net_35/HandyControl_Net_35/Themes/Basic/Behaviors.xaml create mode 100644 src/Net_35/HandyControl_Net_35/Themes/Basic/Brushes.xaml create mode 100644 src/Net_35/HandyControl_Net_35/Themes/Styles/Base/BadgeBaseStyle.xaml create mode 100644 src/Net_35/HandyControl_Net_35/Themes/Styles/Base/CheckBoxBaseStyle.xaml create mode 100644 src/Net_35/HandyControl_Net_35/Themes/Styles/Base/CheckComboBoxBaseStyle.xaml create mode 100644 src/Net_35/HandyControl_Net_35/Themes/Styles/Base/ColorPickerBaseStyle.xaml create mode 100644 src/Net_35/HandyControl_Net_35/Themes/Styles/Base/ComboBoxBaseStyle.xaml create mode 100644 src/Net_35/HandyControl_Net_35/Themes/Styles/Base/DatePickerBaseStyle.xaml create mode 100644 src/Net_35/HandyControl_Net_35/Themes/Styles/Base/DateTimePickerBaseStyle.xaml create mode 100644 src/Net_35/HandyControl_Net_35/Themes/Styles/Base/ListBoxBaseStyle.xaml create mode 100644 src/Net_35/HandyControl_Net_35/Themes/Styles/Base/MenuBaseStyle.xaml create mode 100644 src/Net_35/HandyControl_Net_35/Themes/Styles/Base/NavigationWindowBaseStyle.xaml create mode 100644 src/Net_35/HandyControl_Net_35/Themes/Styles/Base/NumericUpDownBaseStyle.xaml create mode 100644 src/Net_35/HandyControl_Net_35/Themes/Styles/Base/PasswordBoxBaseStyle.xaml create mode 100644 src/Net_35/HandyControl_Net_35/Themes/Styles/Base/ProgressBarBaseStyle.xaml create mode 100644 src/Net_35/HandyControl_Net_35/Themes/Styles/Base/RadioButtonBaseStyle.xaml create mode 100644 src/Net_35/HandyControl_Net_35/Themes/Styles/Base/RateBaseStyle.xaml create mode 100644 src/Net_35/HandyControl_Net_35/Themes/Styles/Base/ScrollViewerBaseStyle.xaml create mode 100644 src/Net_35/HandyControl_Net_35/Themes/Styles/Base/SliderBaseStyle.xaml create mode 100644 src/Net_35/HandyControl_Net_35/Themes/Styles/Base/SplitButtonBaseStyle.xaml create mode 100644 src/Net_35/HandyControl_Net_35/Themes/Styles/Base/TextBoxBaseStyle.xaml create mode 100644 src/Net_35/HandyControl_Net_35/Themes/Styles/Base/ToggleButtonBaseStyle.xaml create mode 100644 src/Net_35/HandyControl_Net_35/Themes/Styles/Base/ToolBarBaseStyle.xaml create mode 100644 src/Net_35/HandyControl_Net_35/Themes/Styles/Base/TreeViewBaseStyle.xaml create mode 100644 src/Net_35/HandyControl_Net_35/Themes/Styles/Calendar.xaml create mode 100644 src/Net_35/HandyControl_Net_35/Themes/Styles/CalendarWithClock.xaml create mode 100644 src/Net_35/HandyControl_Net_35/Themes/Styles/Clock.xaml create mode 100644 src/Net_35/HandyControl_Net_35/Themes/Styles/DataGrid.xaml create mode 100644 src/Net_35/HandyControl_Net_35/Themes/Styles/DatePicker.xaml create mode 100644 src/Net_35/HandyControl_Net_35/Themes/Styles/DateTimePicker.xaml create mode 100644 src/Net_35/HandyControl_Net_35/Themes/Styles/ImageViewer.xaml create mode 100644 src/Net_35/HandyControl_Net_35/Themes/Styles/ListView.xaml create mode 100644 src/Net_35/HandyControl_Net_35/Themes/Styles/MessageBox.xaml create mode 100644 src/Net_35/HandyControl_Net_35/Themes/Styles/Pagination.xaml create mode 100644 src/Net_35/HandyControl_Net_35/Themes/Styles/PopupWindow.xaml create mode 100644 src/Net_35/HandyControl_Net_35/Themes/Styles/ProgressBar.xaml create mode 100644 src/Net_35/HandyControl_Net_35/Themes/Styles/RichTextBox.xaml create mode 100644 src/Net_35/HandyControl_Net_35/Themes/Styles/Screenshot.xaml create mode 100644 src/Net_35/HandyControl_Net_35/Themes/Styles/TabControl.xaml create mode 100644 src/Net_35/HandyControl_Net_35/Themes/Styles/TimeBar.xaml create mode 100644 src/Net_35/HandyControl_Net_35/Themes/Styles/ToggleButton.xaml create mode 100644 src/Net_35/HandyControl_Net_35/Themes/Styles/TransitioningContentControl.xaml create mode 100644 src/Net_35/HandyControl_Net_35/Themes/Styles/Window.xaml create mode 100644 src/Net_35/HandyControl_Net_35/Tools/Extension/DialogExtension.cs create mode 100644 src/Shared/HandyControlDemo_Shared/Data/DemoInfo_Net_35.json create mode 100644 src/Shared/Microsoft.Windows.Shell/JumpItem.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/JumpItemRejectionReason.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/JumpItemsRejectedEventArgs.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/JumpItemsRemovedEventArgs.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/JumpList.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/JumpPath.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/JumpTask.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Microsoft.Windows.Shell.projitems create mode 100644 src/Shared/Microsoft.Windows.Shell/Microsoft.Windows.Shell.shproj create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/AC.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/APPDOCLISTTYPE.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/Assert.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/BI.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/BITMAPINFO.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/BITMAPINFOHEADER.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/BLENDFUNCTION.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/CHANGEFILTERSTRUCT.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/CLSID.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/CREATESTRUCT.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/CS.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/CombineRgnResult.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/DOGIF.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/DWMFLIP3D.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/DWMNCRP.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/DWMWA.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/DWM_SIT.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/DWM_TIMING_INFO.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/DeviceCap.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/DoubleUtilities.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/DpiHelper.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/ErrorModes.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/FO.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/FOF.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/Facility.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/GCLP.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/GPS.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/GWL.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/HCF.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/HIGHCONTRAST.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/HRESULT.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/HT.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/IApplicationDestinations.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/IApplicationDocumentLists.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/ICustomDestinationList.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/IEnumIDList.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/IEnumObjects.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/IID.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/INPUT.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/INPUT_TYPE.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/IObjectArray.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/IObjectCollection.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/IObjectWithAppUserModelId.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/IObjectWithProgId.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/IPropertyStore.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/IShellFolder.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/IShellItem.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/IShellItem2.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/IShellItemArray.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/IShellLinkW.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/ITaskbarList.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/ITaskbarList2.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/ITaskbarList3.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/ITaskbarList4.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/KDC.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/LOGFONT.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/MARGINS.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/MF.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/MINMAXINFO.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/MONITORINFO.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/MOUSEEVENTF.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/MOUSEINPUT.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/MSGFLT.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/MSGFLTINFO.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/ManagedIStream.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/MessageHandler.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/MessageWindow.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/NIF.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/NIIF.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/NIM.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/NONCLIENTMETRICS.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/NOTIFYICONDATA.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/NativeMethods.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/OLECMDEXECOPT.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/OLECMDF.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/OLECMDID.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/PKEY.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/POINT.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/PROPVARIANT.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/READYSTATE.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/RECT.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/RGBQUAD.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/RGN.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/RefPOINT.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/RefRECT.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/SC.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/SFGAO.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/SHARD.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/SHARDAPPIDINFO.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/SHARDAPPIDINFOIDLIST.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/SHARDAPPIDINFOLINK.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/SHCONTF.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/SHFILEOPSTRUCT.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/SHGDN.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/SIATTRIBFLAGS.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/SICHINT.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/SIGDN.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/SIZE.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/SLGP.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/SM.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/SPI.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/SPIF.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/STATE_SYSTEM.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/STPF.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/STR_GPS.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/SW.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/SWP.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/SafeConnectionPointCookie.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/SafeDC.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/SafeFindHandle.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/SafeGdiplusStartupToken.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/SafeHBITMAP.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/StartupInput.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/StartupOutput.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/Status.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/StockObject.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/TBPF.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/THB.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/THBF.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/THUMBBUTTON.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/TITLEBARINFO.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/TITLEBARINFOEX.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/ULW.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/UNSIGNED_RATIO.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/Utility.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/Verify.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/WIN32_FIND_DATAW.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/WINDOWPLACEMENT.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/WINDOWPOS.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/WINDOWTHEMEATTRIBUTETYPE.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/WM.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/WNDCLASSEX.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/WS.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/WS_EX.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/WTA_OPTIONS.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/WTNCA.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/WVR.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/Win32Error.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/Win32Value.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/WndProc.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/Standard/WndProcHook.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/SystemCommands.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/SystemParameters2.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/TaskbarItemInfo.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/TaskbarItemProgressState.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/ThumbButtonInfo.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/ThumbButtonInfoCollection.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/WindowChrome.cs create mode 100644 src/Shared/Microsoft.Windows.Shell/WindowChromeWorker.cs diff --git a/src/HandyControl.sln b/src/HandyControl.sln index 36dc8888..31eab880 100644 --- a/src/HandyControl.sln +++ b/src/HandyControl.sln @@ -23,54 +23,97 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "HandyControlDemo_Net_40", " EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "HandyControlDemo_Code", "Shared\HandyControlDemo_Code\HandyControlDemo_Code.csproj", "{D8A4748C-0500-4F63-BC47-3506658C68F7}" EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Net_35", "Net_35", "{2BA46994-CD4E-4C49-8A8A-982EFB39CE78}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "HandyControl_Net_35", "Net_35\HandyControl_Net_35\HandyControl_Net_35.csproj", "{51C0089A-2A3C-4CB1-BEC1-BC4634F2E66B}" +EndProject +Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "Microsoft.Windows.Shell", "Shared\Microsoft.Windows.Shell\Microsoft.Windows.Shell.shproj", "{EFCBB492-4AD7-4CB6-9556-52C327EF2A19}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HandyControlDemo_Net_35", "Net_35\HandyControlDemo_Net_35\HandyControlDemo_Net_35.csproj", "{709E332D-635E-44B1-B6D1-1F49468F48CF}" +EndProject Global GlobalSection(SharedMSBuildProjectFiles) = preSolution Shared\HandyControl_Shared\HandyControl_Shared.projitems*{32204503-2ef0-4681-ae13-aa1feb6c658a}*SharedItemsImports = 5 + Shared\Microsoft.Windows.Shell\Microsoft.Windows.Shell.projitems*{32204503-2ef0-4681-ae13-aa1feb6c658a}*SharedItemsImports = 5 + Shared\HandyControl_Shared\HandyControl_Shared.projitems*{51c0089a-2a3c-4cb1-bec1-bc4634f2e66b}*SharedItemsImports = 5 + Shared\Microsoft.Windows.Shell\Microsoft.Windows.Shell.projitems*{51c0089a-2a3c-4cb1-bec1-bc4634f2e66b}*SharedItemsImports = 5 + Shared\HandyControlDemo_Shared\HandyControlDemo_Shared.projitems*{709e332d-635e-44b1-b6d1-1f49468f48cf}*SharedItemsImports = 5 Shared\HandyControlDemo_Shared\HandyControlDemo_Shared.projitems*{9a7b52e6-94bb-4e7e-bb6a-7cf6761b79a7}*SharedItemsImports = 5 Shared\HandyControl_Shared\HandyControl_Shared.projitems*{aac11083-faca-405d-9197-5c1212d65656}*SharedItemsImports = 13 Shared\HandyControlDemo_Shared\HandyControlDemo_Shared.projitems*{c4694269-c9b8-45d5-87f8-d0088c532510}*SharedItemsImports = 13 Shared\HandyControlDemo_Shared\HandyControlDemo_Shared.projitems*{d8ae88f8-c36b-4d10-a7f9-22ffcfba5231}*SharedItemsImports = 5 Shared\HandyControl_Shared\HandyControl_Shared.projitems*{dc966e3d-bcff-4652-98cf-070e5494749a}*SharedItemsImports = 5 + Shared\Microsoft.Windows.Shell\Microsoft.Windows.Shell.projitems*{efcbb492-4ad7-4cb6-9556-52c327ef2a19}*SharedItemsImports = 13 EndGlobalSection GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU + Debug-Net35|Any CPU = Debug-Net35|Any CPU Debug-Net40|Any CPU = Debug-Net40|Any CPU Release|Any CPU = Release|Any CPU + Release-Net35|Any CPU = Release-Net35|Any CPU Release-Net40|Any CPU = Release-Net40|Any CPU EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution {DC966E3D-BCFF-4652-98CF-070E5494749A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {DC966E3D-BCFF-4652-98CF-070E5494749A}.Debug|Any CPU.Build.0 = Debug|Any CPU + {DC966E3D-BCFF-4652-98CF-070E5494749A}.Debug-Net35|Any CPU.ActiveCfg = Debug|Any CPU {DC966E3D-BCFF-4652-98CF-070E5494749A}.Debug-Net40|Any CPU.ActiveCfg = Debug|Any CPU {DC966E3D-BCFF-4652-98CF-070E5494749A}.Release|Any CPU.ActiveCfg = Release|Any CPU {DC966E3D-BCFF-4652-98CF-070E5494749A}.Release|Any CPU.Build.0 = Release|Any CPU + {DC966E3D-BCFF-4652-98CF-070E5494749A}.Release-Net35|Any CPU.ActiveCfg = Release|Any CPU {DC966E3D-BCFF-4652-98CF-070E5494749A}.Release-Net40|Any CPU.ActiveCfg = Release|Any CPU {9A7B52E6-94BB-4E7E-BB6A-7CF6761B79A7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {9A7B52E6-94BB-4E7E-BB6A-7CF6761B79A7}.Debug|Any CPU.Build.0 = Debug|Any CPU + {9A7B52E6-94BB-4E7E-BB6A-7CF6761B79A7}.Debug-Net35|Any CPU.ActiveCfg = Debug|Any CPU {9A7B52E6-94BB-4E7E-BB6A-7CF6761B79A7}.Debug-Net40|Any CPU.ActiveCfg = Debug|Any CPU {9A7B52E6-94BB-4E7E-BB6A-7CF6761B79A7}.Release|Any CPU.ActiveCfg = Release|Any CPU {9A7B52E6-94BB-4E7E-BB6A-7CF6761B79A7}.Release|Any CPU.Build.0 = Release|Any CPU + {9A7B52E6-94BB-4E7E-BB6A-7CF6761B79A7}.Release-Net35|Any CPU.ActiveCfg = Release|Any CPU {9A7B52E6-94BB-4E7E-BB6A-7CF6761B79A7}.Release-Net40|Any CPU.ActiveCfg = Release|Any CPU {32204503-2EF0-4681-AE13-AA1FEB6C658A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {32204503-2EF0-4681-AE13-AA1FEB6C658A}.Debug-Net35|Any CPU.ActiveCfg = Debug|Any CPU {32204503-2EF0-4681-AE13-AA1FEB6C658A}.Debug-Net40|Any CPU.ActiveCfg = Debug|Any CPU {32204503-2EF0-4681-AE13-AA1FEB6C658A}.Debug-Net40|Any CPU.Build.0 = Debug|Any CPU {32204503-2EF0-4681-AE13-AA1FEB6C658A}.Release|Any CPU.ActiveCfg = Release|Any CPU + {32204503-2EF0-4681-AE13-AA1FEB6C658A}.Release-Net35|Any CPU.ActiveCfg = Release|Any CPU {32204503-2EF0-4681-AE13-AA1FEB6C658A}.Release-Net40|Any CPU.ActiveCfg = Release|Any CPU {32204503-2EF0-4681-AE13-AA1FEB6C658A}.Release-Net40|Any CPU.Build.0 = Release|Any CPU {D8AE88F8-C36B-4D10-A7F9-22FFCFBA5231}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {D8AE88F8-C36B-4D10-A7F9-22FFCFBA5231}.Debug-Net35|Any CPU.ActiveCfg = Debug|Any CPU {D8AE88F8-C36B-4D10-A7F9-22FFCFBA5231}.Debug-Net40|Any CPU.ActiveCfg = Debug|Any CPU {D8AE88F8-C36B-4D10-A7F9-22FFCFBA5231}.Debug-Net40|Any CPU.Build.0 = Debug|Any CPU {D8AE88F8-C36B-4D10-A7F9-22FFCFBA5231}.Release|Any CPU.ActiveCfg = Release|Any CPU + {D8AE88F8-C36B-4D10-A7F9-22FFCFBA5231}.Release-Net35|Any CPU.ActiveCfg = Release|Any CPU {D8AE88F8-C36B-4D10-A7F9-22FFCFBA5231}.Release-Net40|Any CPU.ActiveCfg = Release|Any CPU {D8AE88F8-C36B-4D10-A7F9-22FFCFBA5231}.Release-Net40|Any CPU.Build.0 = Release|Any CPU {D8A4748C-0500-4F63-BC47-3506658C68F7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {D8A4748C-0500-4F63-BC47-3506658C68F7}.Debug|Any CPU.Build.0 = Debug|Any CPU + {D8A4748C-0500-4F63-BC47-3506658C68F7}.Debug-Net35|Any CPU.ActiveCfg = Debug|Any CPU + {D8A4748C-0500-4F63-BC47-3506658C68F7}.Debug-Net35|Any CPU.Build.0 = Debug|Any CPU {D8A4748C-0500-4F63-BC47-3506658C68F7}.Debug-Net40|Any CPU.ActiveCfg = Debug|Any CPU {D8A4748C-0500-4F63-BC47-3506658C68F7}.Debug-Net40|Any CPU.Build.0 = Debug|Any CPU {D8A4748C-0500-4F63-BC47-3506658C68F7}.Release|Any CPU.ActiveCfg = Release|Any CPU {D8A4748C-0500-4F63-BC47-3506658C68F7}.Release|Any CPU.Build.0 = Release|Any CPU + {D8A4748C-0500-4F63-BC47-3506658C68F7}.Release-Net35|Any CPU.ActiveCfg = Release|Any CPU + {D8A4748C-0500-4F63-BC47-3506658C68F7}.Release-Net35|Any CPU.Build.0 = Release|Any CPU {D8A4748C-0500-4F63-BC47-3506658C68F7}.Release-Net40|Any CPU.ActiveCfg = Release|Any CPU {D8A4748C-0500-4F63-BC47-3506658C68F7}.Release-Net40|Any CPU.Build.0 = Release|Any CPU + {51C0089A-2A3C-4CB1-BEC1-BC4634F2E66B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {51C0089A-2A3C-4CB1-BEC1-BC4634F2E66B}.Debug-Net35|Any CPU.ActiveCfg = Debug|Any CPU + {51C0089A-2A3C-4CB1-BEC1-BC4634F2E66B}.Debug-Net35|Any CPU.Build.0 = Debug|Any CPU + {51C0089A-2A3C-4CB1-BEC1-BC4634F2E66B}.Debug-Net40|Any CPU.ActiveCfg = Debug|Any CPU + {51C0089A-2A3C-4CB1-BEC1-BC4634F2E66B}.Release|Any CPU.ActiveCfg = Release|Any CPU + {51C0089A-2A3C-4CB1-BEC1-BC4634F2E66B}.Release-Net35|Any CPU.ActiveCfg = Release|Any CPU + {51C0089A-2A3C-4CB1-BEC1-BC4634F2E66B}.Release-Net35|Any CPU.Build.0 = Release|Any CPU + {51C0089A-2A3C-4CB1-BEC1-BC4634F2E66B}.Release-Net40|Any CPU.ActiveCfg = Release|Any CPU + {709E332D-635E-44B1-B6D1-1F49468F48CF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {709E332D-635E-44B1-B6D1-1F49468F48CF}.Debug-Net35|Any CPU.ActiveCfg = Debug|Any CPU + {709E332D-635E-44B1-B6D1-1F49468F48CF}.Debug-Net35|Any CPU.Build.0 = Debug|Any CPU + {709E332D-635E-44B1-B6D1-1F49468F48CF}.Debug-Net40|Any CPU.ActiveCfg = Debug|Any CPU + {709E332D-635E-44B1-B6D1-1F49468F48CF}.Release|Any CPU.ActiveCfg = Release|Any CPU + {709E332D-635E-44B1-B6D1-1F49468F48CF}.Release-Net35|Any CPU.ActiveCfg = Release|Any CPU + {709E332D-635E-44B1-B6D1-1F49468F48CF}.Release-Net35|Any CPU.Build.0 = Release|Any CPU + {709E332D-635E-44B1-B6D1-1F49468F48CF}.Release-Net40|Any CPU.ActiveCfg = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE @@ -83,6 +126,9 @@ Global {32204503-2EF0-4681-AE13-AA1FEB6C658A} = {35E3F9C0-8924-4536-BE09-F3761FDBF066} {D8AE88F8-C36B-4D10-A7F9-22FFCFBA5231} = {35E3F9C0-8924-4536-BE09-F3761FDBF066} {D8A4748C-0500-4F63-BC47-3506658C68F7} = {0938270D-E9F0-489B-AF9E-5C5AD7C69897} + {51C0089A-2A3C-4CB1-BEC1-BC4634F2E66B} = {2BA46994-CD4E-4C49-8A8A-982EFB39CE78} + {EFCBB492-4AD7-4CB6-9556-52C327EF2A19} = {0938270D-E9F0-489B-AF9E-5C5AD7C69897} + {709E332D-635E-44B1-B6D1-1F49468F48CF} = {2BA46994-CD4E-4C49-8A8A-982EFB39CE78} EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution SolutionGuid = {D4636382-1A18-4079-A3E7-054DD970F179} diff --git a/src/Net_35/HandyControlDemo_Net_35/HandyControlDemo_Net_35.csproj b/src/Net_35/HandyControlDemo_Net_35/HandyControlDemo_Net_35.csproj new file mode 100644 index 00000000..67c6a6fe --- /dev/null +++ b/src/Net_35/HandyControlDemo_Net_35/HandyControlDemo_Net_35.csproj @@ -0,0 +1,625 @@ + + + WinExe + HandyControlDemo + HandyControlDemo + net35 + ..\..\Shared\HandyControlDemo_Shared\Resources\Img\icon.ico + 0108 + true + + + + + + + + Data\MessageToken.cs + True + True + MessageToken.tt + + + Properties\Langs\LangProvider.cs + True + True + LangProvider.tt + + + Properties\Langs\Lang.Designer.cs + True + True + Lang.resx + + + + + + + + + + + + + + Data\DemoInfo_Net_35.json + + + Resources\Img\chrome_dragon.png + + + Resources\Img\Cover.png + + + Resources\Img\QQ\1.gif + + + Resources\Img\QQ\2.gif + + + Resources\Img\QQ\3.gif + + + Resources\Img\QQ\4.gif + + + Resources\Img\QQ\5.gif + + + Resources\Img\QQ\6.gif + + + Resources\Img\QQ\7.gif + + + Resources\Img\QQ\8.gif + + + Resources\Img\QQ\9.gif + + + Resources\Img\QQ\10.gif + + + Resources\Img\1.jpg + + + Resources\Img\2.jpg + + + Resources\Img\3.jpg + + + Resources\Img\4.jpg + + + Resources\Img\5.jpg + + + Resources\Img\Album\1.jpg + + + Resources\Img\Album\10.jpg + + + Resources\Img\Album\2.jpg + + + Resources\Img\Album\3.jpg + + + Resources\Img\Album\4.jpg + + + Resources\Img\Album\5.jpg + + + Resources\Img\Album\6.jpg + + + Resources\Img\Album\7.jpg + + + Resources\Img\Album\8.jpg + + + Resources\Img\Album\9.jpg + + + Resources\Img\Avatar\avatar1.png + + + Resources\Img\Avatar\avatar2.png + + + Resources\Img\Avatar\avatar3.png + + + Resources\Img\Avatar\avatar4.png + + + Resources\Img\Avatar\avatar5.png + + + Resources\Img\Avatar\avatar6.png + + + Resources\Img\b1.jpg + + + Resources\Img\b2.jpg + + + Resources\Img\car_chase.gif + + + Resources\Img\Chat\chat_back1.jpg + + + Resources\Img\Chat\chat_back2.jpg + + + Resources\Img\Flag\cn.png + + + Resources\Img\Flag\ca-Es.png + + + Resources\Img\Flag\en.png + + + Resources\Img\Flag\fa.png + + + Resources\Img\Flag\fr.png + + + Resources\Img\Flag\ko-KR.png + + + Resources\Img\Flag\pt-BR.png + + + Resources\Img\Flag\ru.png + + + Resources\Img\Flag\tr.png + + + Resources\Img\icon-white.ico + + + Resources\Img\icon.ico + + + Resources\Img\qq_group_1.jpg + + + Resources\Img\qq_group_2.jpg + + + Resources\Img\LeftMainContent\Animation_16x.png + + + Resources\Img\LeftMainContent\BorderElement_16x.png + + + Resources\Img\LeftMainContent\Brush_16x.png + + + Resources\Img\LeftMainContent\Bubble_16xLG.png + + + Resources\Img\LeftMainContent\ButtonClick_16x.png + + + Resources\Img\LeftMainContent\Calendar_16x.png + + + Resources\Img\LeftMainContent\Carousel_16x.png + + + Resources\Img\LeftMainContent\CheckBox_16x.png + + + Resources\Img\LeftMainContent\CheckBoxList_16x.png + + + Resources\Img\LeftMainContent\ColorPalette_16x.png + + + Resources\Img\LeftMainContent\ColorWheel_16x.png + + + Resources\Img\LeftMainContent\ComboBox_16x.png + + + Resources\Img\LeftMainContent\ContextMenu_16x.png + + + Resources\Img\LeftMainContent\DataGrid_16x.png + + + Resources\Img\LeftMainContent\DatePicker_16x.png + + + Resources\Img\LeftMainContent\DetailDataView_16x.png + + + Resources\Img\LeftMainContent\Dialog_16x.png + + + Resources\Img\LeftMainContent\DotLarge_16x.png + + + Resources\Img\LeftMainContent\Expander_16x.png + + + Resources\Img\LeftMainContent\FlipVertical_16x.png + + + Resources\Img\LeftMainContent\Flow_16x.png + + + Resources\Img\LeftMainContent\GoToTop_16x.png + + + Resources\Img\LeftMainContent\GroupBox_16x.png + + + Resources\Img\LeftMainContent\HoverMenu_16x.png + + + Resources\Img\LeftMainContent\Image_16x.png + + + Resources\Img\LeftMainContent\ImageBrowser_16x.png + + + Resources\Img\LeftMainContent\Label_16x.png + + + Resources\Img\LeftMainContent\layout-FlexLayout-16.png + + + Resources\Img\LeftMainContent\LinearCarousel_16x.png + + + Resources\Img\LeftMainContent\ListBox_16x.png + + + Resources\Img\LeftMainContent\ListView_16x.png + + + Resources\Img\LeftMainContent\Loading_Blue_16x.png + + + Resources\Img\LeftMainContent\Message_16x.png + + + Resources\Img\LeftMainContent\NotificationHub_16x.png + + + Resources\Img\LeftMainContent\NumericListBox_16x.png + + + Resources\Img\LeftMainContent\Paginator_16x.png + + + Resources\Img\LeftMainContent\Panel_16x.png + + + Resources\Img\LeftMainContent\PasswordBox_16x.png + + + Resources\Img\LeftMainContent\Path_16x.png + + + Resources\Img\LeftMainContent\ProgressBar_16x.png + + + Resources\Img\LeftMainContent\ProgressButton_16x.png + + + Resources\Img\LeftMainContent\RadioButton_16x.png + + + Resources\Img\LeftMainContent\PropertyGridEditorPart_16x.png + + + Resources\Img\LeftMainContent\RepeatButton_16x.png + + + Resources\Img\LeftMainContent\RichTextBox_16x.png + + + Resources\Img\LeftMainContent\ScrollBox_16x.png + + + Resources\Img\LeftMainContent\Search_16x.png + + + Resources\Img\LeftMainContent\Shield_16x.png + + + Resources\Img\LeftMainContent\Slider_16x.png + + + Resources\Img\LeftMainContent\SortAscending_grey_16x.png + + + Resources\Img\LeftMainContent\SplitterControl_16x.png + + + Resources\Img\LeftMainContent\Star.png + + + Resources\Img\LeftMainContent\TabPage_16x.png + + + Resources\Img\LeftMainContent\Tag_16x.png + + + Resources\Img\LeftMainContent\TextBlock_16x.png + + + Resources\Img\LeftMainContent\TextBox_16x.png + + + Resources\Img\LeftMainContent\Timeline_16x.png + + + Resources\Img\LeftMainContent\TimePicker_16x.png + + + Resources\Img\LeftMainContent\Time_color_16x.png + + + Resources\Img\LeftMainContent\Toggle_16x.png + + + Resources\Img\LeftMainContent\ToolBar_16x.png + + + Resources\Img\LeftMainContent\Transfer_16x.png + + + Resources\Img\LeftMainContent\TreeView_16x.png + + + Resources\Img\LeftMainContent\User_16x.png + + + Resources\Img\LeftMainContent\WindowsForm_16x.png + + + Resources\Img\LeftMainContent\GridPane_16x.png + + + Resources\Img\under_construction.gif + + + Resources\Img\DevOps\DevOps-Boards.png + + + Resources\Img\DevOps\DevOps-Overview.png + + + Resources\Img\DevOps\DevOps-Pipelines.png + + + Resources\Img\DevOps\DevOps-Repos.png + + + Resources\Img\DevOps\DevOps-TestPlans.png + + + Resources\Img\LeftMainContent\MainMenuControl_16x.png + + + Resources\fabric-icons.ttf + + + Resources\Registry.txt + + + Resources\Img\LeftMainContent\brackets_Square_16xLG.png + + + Resources\Img\LeftMainContent\ButtonGroup_16x.png + + + Resources\Img\LeftMainContent\VSO_Card_16x.png + + + Resources\Img\LeftMainContent\ImageStack_16x.png + + + Resources\Img\LeftMainContent\Dynamic_16x.png + + + Resources\Img\LeftMainContent\PolygonHexagon_16x.png + + + Resources\Img\LeftMainContent\HandyControl.png + + + Resources\Img\LeftMainContent\Procedure_16x.png + + + Resources\Img\Dance.png + + + Resources\Img\LeftMainContent\thumbs_up.png + + + Resources\Img\LeftMainContent\SplitButton_16x.png + + + Resources\Img\LeftMainContent\DataGenerator_16x.png + + + Resources\Img\LeftMainContent\DottedSplitter_16x.png + + + Resources\Img\LeftMainContent\PopupCursor_16x.png + + + Resources\Img\LeftMainContent\TransitioningContentControl_16x.png + + + Resources\Img\LeftMainContent\View_Portrait_16x.png + + + Resources\Img\LeftMainContent\TransformRelative_16x.png + + + Resources\Img\LeftMainContent\Effects_16x.png + + + Resources\Img\LeftMainContent\Ellipsis_16x.png + + + Resources\Img\LeftMainContent\WPFFlowDocument_16x.png + + + Resources\Img\LeftMainContent\OutlinedRectangleTool_16x.png + + + Resources\Img\LeftMainContent\frame_16xLG.png + + + Resources\Img\cloud.png + + + Resources\Img\LeftMainContent\WindowScreenshot_16x.png + + + + + Properties\Langs\Lang.tr.resx + + + Properties\Langs\Lang.ca-ES.resx + + + Properties\Langs\Lang.en.resx + + + Properties\Langs\Lang.fa.resx + + + Properties\Langs\Lang.fr.resx + + + Properties\Langs\Lang.ko-KR.resx + + + Properties\Langs\Lang.pt-BR.resx + + + Properties\Langs\Lang.ru.resx + + + Properties\Langs\Lang.resx + PublicResXFileCodeGenerator + Lang.Designer.cs + + + + + Properties\App.config + + + + + Data\MessageToken.tt + TextTemplatingFileGenerator + MessageToken.cs + + + Properties\Langs\LangProvider.tt + TextTemplatingFileGenerator + LangProvider.cs + + + + + TextTemplatingFileGenerator + + + + + Designer + + + Designer + + + Designer + + + Designer + + + Designer + + + Designer + + + Designer + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + if not exist Langs md Langs + rd /s /q Langs\en + rd /s /q Langs\fa + rd /s /q Langs\fr + rd /s /q Langs\ko-KR + rd /s /q Langs\pt-BR + rd /s /q Langs\ru + rd /s /q Langs\tr + rd /s /q Langs\ca-Es + move en Langs + move fa Langs + move fr Langs + move ko-KR Langs + move pt-BR Langs + move ru Langs + move tr Langs + move ca-Es Langs + + + diff --git a/src/Net_35/HandyControlDemo_Net_35/UserControl/Basic/Avatar.xaml b/src/Net_35/HandyControlDemo_Net_35/UserControl/Basic/Avatar.xaml new file mode 100644 index 00000000..d1770751 --- /dev/null +++ b/src/Net_35/HandyControlDemo_Net_35/UserControl/Basic/Avatar.xaml @@ -0,0 +1,23 @@ + + + diff --git a/src/Net_35/HandyControlDemo_Net_35/UserControl/Basic/Avatar.xaml.cs b/src/Net_35/HandyControlDemo_Net_35/UserControl/Basic/Avatar.xaml.cs new file mode 100644 index 00000000..ac57f0ab --- /dev/null +++ b/src/Net_35/HandyControlDemo_Net_35/UserControl/Basic/Avatar.xaml.cs @@ -0,0 +1,40 @@ +using System.Windows; +using System.Windows.Media.Imaging; + +namespace HandyControlDemo.UserControl +{ + public partial class Avatar + { + public Avatar() + { + InitializeComponent(); + } + + public static readonly DependencyProperty SourceProperty = DependencyProperty.Register( + "Source", typeof(BitmapFrame), typeof(Avatar), new PropertyMetadata(default(BitmapFrame))); + + public BitmapFrame Source + { + get => (BitmapFrame) GetValue(SourceProperty); + set => SetValue(SourceProperty, value); + } + + public static readonly DependencyProperty UserNameProperty = DependencyProperty.Register( + "DisplayName", typeof(string), typeof(Avatar), new PropertyMetadata(default(string))); + + public string DisplayName + { + get => (string) GetValue(UserNameProperty); + set => SetValue(UserNameProperty, value); + } + + public static readonly DependencyProperty LinkProperty = DependencyProperty.Register( + "Link", typeof(string), typeof(Avatar), new PropertyMetadata(default(string))); + + public string Link + { + get => (string) GetValue(LinkProperty); + set => SetValue(LinkProperty, value); + } + } +} \ No newline at end of file diff --git a/src/Net_35/HandyControlDemo_Net_35/UserControl/Controls/CalendarWithClockDemoCtl.xaml b/src/Net_35/HandyControlDemo_Net_35/UserControl/Controls/CalendarWithClockDemoCtl.xaml new file mode 100644 index 00000000..e5e008a6 --- /dev/null +++ b/src/Net_35/HandyControlDemo_Net_35/UserControl/Controls/CalendarWithClockDemoCtl.xaml @@ -0,0 +1,3 @@ + diff --git a/src/Net_35/HandyControlDemo_Net_35/UserControl/Controls/CalendarWithClockDemoCtl.xaml.cs b/src/Net_35/HandyControlDemo_Net_35/UserControl/Controls/CalendarWithClockDemoCtl.xaml.cs new file mode 100644 index 00000000..3ac882ae --- /dev/null +++ b/src/Net_35/HandyControlDemo_Net_35/UserControl/Controls/CalendarWithClockDemoCtl.xaml.cs @@ -0,0 +1,7 @@ +namespace HandyControlDemo.UserControl +{ + public partial class CalendarWithClockDemoCtl + { + + } +} diff --git a/src/Net_35/HandyControlDemo_Net_35/UserControl/Controls/DatePickerDemoCtl.xaml b/src/Net_35/HandyControlDemo_Net_35/UserControl/Controls/DatePickerDemoCtl.xaml new file mode 100644 index 00000000..f49dfd91 --- /dev/null +++ b/src/Net_35/HandyControlDemo_Net_35/UserControl/Controls/DatePickerDemoCtl.xaml @@ -0,0 +1,3 @@ + diff --git a/src/Net_35/HandyControlDemo_Net_35/UserControl/Controls/DatePickerDemoCtl.xaml.cs b/src/Net_35/HandyControlDemo_Net_35/UserControl/Controls/DatePickerDemoCtl.xaml.cs new file mode 100644 index 00000000..dc9480ce --- /dev/null +++ b/src/Net_35/HandyControlDemo_Net_35/UserControl/Controls/DatePickerDemoCtl.xaml.cs @@ -0,0 +1,7 @@ +namespace HandyControlDemo.UserControl +{ + public partial class DatePickerDemoCtl + { + + } +} diff --git a/src/Net_35/HandyControlDemo_Net_35/UserControl/Controls/DateTimePickerDemoCtl.xaml b/src/Net_35/HandyControlDemo_Net_35/UserControl/Controls/DateTimePickerDemoCtl.xaml new file mode 100644 index 00000000..ad7f0051 --- /dev/null +++ b/src/Net_35/HandyControlDemo_Net_35/UserControl/Controls/DateTimePickerDemoCtl.xaml @@ -0,0 +1,3 @@ + \ No newline at end of file diff --git a/src/Net_35/HandyControlDemo_Net_35/UserControl/Controls/DateTimePickerDemoCtl.xaml.cs b/src/Net_35/HandyControlDemo_Net_35/UserControl/Controls/DateTimePickerDemoCtl.xaml.cs new file mode 100644 index 00000000..f86475ac --- /dev/null +++ b/src/Net_35/HandyControlDemo_Net_35/UserControl/Controls/DateTimePickerDemoCtl.xaml.cs @@ -0,0 +1,7 @@ +namespace HandyControlDemo.UserControl +{ + public partial class DateTimePickerDemoCtl + { + + } +} diff --git a/src/Net_35/HandyControlDemo_Net_35/UserControl/Controls/PaginationDemoCtl.xaml b/src/Net_35/HandyControlDemo_Net_35/UserControl/Controls/PaginationDemoCtl.xaml new file mode 100644 index 00000000..a3475365 --- /dev/null +++ b/src/Net_35/HandyControlDemo_Net_35/UserControl/Controls/PaginationDemoCtl.xaml @@ -0,0 +1,16 @@ + + + + + + + + + + + diff --git a/src/Net_35/HandyControlDemo_Net_35/UserControl/Controls/PaginationDemoCtl.xaml.cs b/src/Net_35/HandyControlDemo_Net_35/UserControl/Controls/PaginationDemoCtl.xaml.cs new file mode 100644 index 00000000..054499d8 --- /dev/null +++ b/src/Net_35/HandyControlDemo_Net_35/UserControl/Controls/PaginationDemoCtl.xaml.cs @@ -0,0 +1,11 @@ + +namespace HandyControlDemo.UserControl +{ + public partial class PaginationDemoCtl + { + public PaginationDemoCtl() + { + InitializeComponent(); + } + } +} diff --git a/src/Net_35/HandyControlDemo_Net_35/UserControl/Styles/CalendarDemoCtl.xaml b/src/Net_35/HandyControlDemo_Net_35/UserControl/Styles/CalendarDemoCtl.xaml new file mode 100644 index 00000000..55b7964f --- /dev/null +++ b/src/Net_35/HandyControlDemo_Net_35/UserControl/Styles/CalendarDemoCtl.xaml @@ -0,0 +1,3 @@ + diff --git a/src/Net_35/HandyControlDemo_Net_35/UserControl/Styles/CalendarDemoCtl.xaml.cs b/src/Net_35/HandyControlDemo_Net_35/UserControl/Styles/CalendarDemoCtl.xaml.cs new file mode 100644 index 00000000..8771b27b --- /dev/null +++ b/src/Net_35/HandyControlDemo_Net_35/UserControl/Styles/CalendarDemoCtl.xaml.cs @@ -0,0 +1,7 @@ +namespace HandyControlDemo.UserControl +{ + public partial class CalendarDemoCtl + { + + } +} diff --git a/src/Net_35/HandyControlDemo_Net_35/UserControl/Styles/DataGridDemoCtl.xaml b/src/Net_35/HandyControlDemo_Net_35/UserControl/Styles/DataGridDemoCtl.xaml new file mode 100644 index 00000000..70da028c --- /dev/null +++ b/src/Net_35/HandyControlDemo_Net_35/UserControl/Styles/DataGridDemoCtl.xaml @@ -0,0 +1,3 @@ + \ No newline at end of file diff --git a/src/Net_35/HandyControlDemo_Net_35/UserControl/Styles/DataGridDemoCtl.xaml.cs b/src/Net_35/HandyControlDemo_Net_35/UserControl/Styles/DataGridDemoCtl.xaml.cs new file mode 100644 index 00000000..6d7554db --- /dev/null +++ b/src/Net_35/HandyControlDemo_Net_35/UserControl/Styles/DataGridDemoCtl.xaml.cs @@ -0,0 +1,8 @@ + +namespace HandyControlDemo.UserControl +{ + public partial class DataGridDemoCtl + { + + } +} diff --git a/src/Net_35/HandyControlDemo_Net_35/UserControl/Styles/NativeDatePickerDemoCtl.xaml b/src/Net_35/HandyControlDemo_Net_35/UserControl/Styles/NativeDatePickerDemoCtl.xaml new file mode 100644 index 00000000..407f5ca1 --- /dev/null +++ b/src/Net_35/HandyControlDemo_Net_35/UserControl/Styles/NativeDatePickerDemoCtl.xaml @@ -0,0 +1,3 @@ + diff --git a/src/Net_35/HandyControlDemo_Net_35/UserControl/Styles/NativeDatePickerDemoCtl.xaml.cs b/src/Net_35/HandyControlDemo_Net_35/UserControl/Styles/NativeDatePickerDemoCtl.xaml.cs new file mode 100644 index 00000000..605ed85b --- /dev/null +++ b/src/Net_35/HandyControlDemo_Net_35/UserControl/Styles/NativeDatePickerDemoCtl.xaml.cs @@ -0,0 +1,7 @@ +namespace HandyControlDemo.UserControl +{ + public partial class NativeDatePickerDemoCtl + { + + } +} diff --git a/src/Net_35/HandyControl_Net_35/Controls/Attach/DataGridAttach.cs b/src/Net_35/HandyControl_Net_35/Controls/Attach/DataGridAttach.cs new file mode 100644 index 00000000..e69de29b diff --git a/src/Net_35/HandyControl_Net_35/Controls/Attach/ImageAttach.cs b/src/Net_35/HandyControl_Net_35/Controls/Attach/ImageAttach.cs new file mode 100644 index 00000000..5f282702 --- /dev/null +++ b/src/Net_35/HandyControl_Net_35/Controls/Attach/ImageAttach.cs @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/Net_35/HandyControl_Net_35/Controls/Input/DatePicker.cs b/src/Net_35/HandyControl_Net_35/Controls/Input/DatePicker.cs new file mode 100644 index 00000000..5f282702 --- /dev/null +++ b/src/Net_35/HandyControl_Net_35/Controls/Input/DatePicker.cs @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/Net_35/HandyControl_Net_35/Controls/Input/DateTimePicker.cs b/src/Net_35/HandyControl_Net_35/Controls/Input/DateTimePicker.cs new file mode 100644 index 00000000..5f282702 --- /dev/null +++ b/src/Net_35/HandyControl_Net_35/Controls/Input/DateTimePicker.cs @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/Net_35/HandyControl_Net_35/Controls/PropertyGrid/Editors/DatePropertyEditor.cs b/src/Net_35/HandyControl_Net_35/Controls/PropertyGrid/Editors/DatePropertyEditor.cs new file mode 100644 index 00000000..5f282702 --- /dev/null +++ b/src/Net_35/HandyControl_Net_35/Controls/PropertyGrid/Editors/DatePropertyEditor.cs @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/Net_35/HandyControl_Net_35/Controls/PropertyGrid/Editors/DateTimePropertyEditor.cs b/src/Net_35/HandyControl_Net_35/Controls/PropertyGrid/Editors/DateTimePropertyEditor.cs new file mode 100644 index 00000000..5f282702 --- /dev/null +++ b/src/Net_35/HandyControl_Net_35/Controls/PropertyGrid/Editors/DateTimePropertyEditor.cs @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/Net_35/HandyControl_Net_35/Controls/PropertyGrid/Editors/TimePropertyEditor.cs b/src/Net_35/HandyControl_Net_35/Controls/PropertyGrid/Editors/TimePropertyEditor.cs new file mode 100644 index 00000000..5f282702 --- /dev/null +++ b/src/Net_35/HandyControl_Net_35/Controls/PropertyGrid/Editors/TimePropertyEditor.cs @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/Net_35/HandyControl_Net_35/Controls/Time/CalendarWithClock.cs b/src/Net_35/HandyControl_Net_35/Controls/Time/CalendarWithClock.cs new file mode 100644 index 00000000..5f282702 --- /dev/null +++ b/src/Net_35/HandyControl_Net_35/Controls/Time/CalendarWithClock.cs @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/Net_35/HandyControl_Net_35/HandyControl_Net_35.csproj b/src/Net_35/HandyControl_Net_35/HandyControl_Net_35.csproj new file mode 100644 index 00000000..196376af --- /dev/null +++ b/src/Net_35/HandyControl_Net_35/HandyControl_Net_35.csproj @@ -0,0 +1,356 @@ + + + HandyControl + HandyControl + net35 + Contains some commonly used simple WPF controls + HandyControl + true + snupkg + 0067;0649;1591;0108;1717 + true + + + bin\$(Configuration)\$(TargetFramework)\HandyControl.xml + + + + Designer + + + Designer + + + Designer + + + Designer + + + Designer + + + Designer + + + Designer + + + Designer + + + Designer + + + Designer + + + Designer + + + Designer + + + Designer + + + Designer + + + Designer + + + Designer + + + Designer + + + Designer + + + Designer + + + Designer + + + Designer + + + Designer + + + Designer + XamlIntelliSenseFileGenerator + + + Designer + + + Designer + + + MSBuild:Compile + Designer + + + Designer + + + Designer + XamlIntelliSenseFileGenerator + + + Designer + + + Designer + + + Designer + + + Designer + XamlIntelliSenseFileGenerator + + + Designer + XamlIntelliSenseFileGenerator + + + Designer + + + Designer + + + Designer + + + Designer + + + Designer + + + Designer + + + Designer + + + Designer + + + Designer + + + Designer + XamlIntelliSenseFileGenerator + + + + + Properties\Langs\Lang.Designer.cs + True + True + Lang.resx + + + Properties\Langs\LangProvider.cs + True + True + LangProvider.tt + + + + + Properties\Langs\Lang.tr.resx + + + Properties\Langs\Lang.ca-ES.resx + + + Properties\Langs\Lang.en.resx + + + Properties\Langs\Lang.fa.resx + + + Properties\Langs\Lang.fr.resx + + + Properties\Langs\Lang.ko-KR.resx + + + Properties\Langs\Lang.pt-BR.resx + + + Properties\Langs\Lang.ru.resx + + + Properties\Langs\Lang.resx + PublicResXFileCodeGenerator + Lang.Designer.cs + + + Properties\AssemblyInfo.cs + + + + + Properties\Langs\LangProvider.tt + TextTemplatingFileGenerator + LangProvider.cs + + + + + + + Resources\dropper.cur + + + + + Resources\Effects\BrightnessEffect.ps + + + Resources\Effects\ColorComplementEffect.ps + + + Resources\Effects\ColorMatrixEffect.ps + + + Resources\Effects\ContrastEffect.ps + + + Resources\Effects\GrayScaleEffect.ps + + + + + Resources\Images\GlowWindow\bottom.png + + + Resources\Images\GlowWindow\bottomleft.png + + + Resources\Images\GlowWindow\bottomright.png + + + Resources\Images\GlowWindow\cornerbottomleft.png + + + Resources\Images\GlowWindow\cornerbottomright.png + + + Resources\Images\GlowWindow\cornertopleft.png + + + Resources\Images\GlowWindow\cornertopright.png + + + Resources\Images\GlowWindow\left.png + + + Resources\Images\GlowWindow\leftbottom.png + + + Resources\Images\GlowWindow\lefttop.png + + + Resources\Images\GlowWindow\right.png + + + Resources\Images\GlowWindow\rightbottom.png + + + Resources\Images\GlowWindow\righttop.png + + + Resources\Images\GlowWindow\top.png + + + Resources\Images\GlowWindow\topleft.png + + + Resources\Images\GlowWindow\topright.png + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/Net_35/HandyControl_Net_35/Interactivity/ExtendedVisualStateManager.cs b/src/Net_35/HandyControl_Net_35/Interactivity/ExtendedVisualStateManager.cs new file mode 100644 index 00000000..3599f4bf --- /dev/null +++ b/src/Net_35/HandyControl_Net_35/Interactivity/ExtendedVisualStateManager.cs @@ -0,0 +1,72 @@ +using System; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Controls.Primitives; + +namespace HandyControl.Interactivity +{ + public class ExtendedVisualStateManager + { + internal static Rect GetLayoutRect(FrameworkElement element) + { + var actualWidth = element.ActualWidth; + var actualHeight = element.ActualHeight; + if (element is Image || element is MediaElement) + if (element.Parent is Canvas) + { + actualWidth = double.IsNaN(element.Width) ? actualWidth : element.Width; + actualHeight = double.IsNaN(element.Height) ? actualHeight : element.Height; + } + else + { + actualWidth = element.RenderSize.Width; + actualHeight = element.RenderSize.Height; + } + actualWidth = element.Visibility == Visibility.Collapsed ? 0.0 : actualWidth; + actualHeight = element.Visibility == Visibility.Collapsed ? 0.0 : actualHeight; + var margin = element.Margin; + var layoutSlot = LayoutInformation.GetLayoutSlot(element); + var x = 0.0; + var y = 0.0; + switch (element.HorizontalAlignment) + { + case HorizontalAlignment.Left: + x = layoutSlot.Left + margin.Left; + break; + + case HorizontalAlignment.Center: + x = (layoutSlot.Left + margin.Left + layoutSlot.Right - margin.Right) / 2.0 - actualWidth / 2.0; + break; + + case HorizontalAlignment.Right: + x = layoutSlot.Right - margin.Right - actualWidth; + break; + + case HorizontalAlignment.Stretch: + x = Math.Max(layoutSlot.Left + margin.Left, + (layoutSlot.Left + margin.Left + layoutSlot.Right - margin.Right) / 2.0 - actualWidth / 2.0); + break; + } + switch (element.VerticalAlignment) + { + case VerticalAlignment.Top: + y = layoutSlot.Top + margin.Top; + break; + + case VerticalAlignment.Center: + y = (layoutSlot.Top + margin.Top + layoutSlot.Bottom - margin.Bottom) / 2.0 - actualHeight / 2.0; + break; + + case VerticalAlignment.Bottom: + y = layoutSlot.Bottom - margin.Bottom - actualHeight; + break; + + case VerticalAlignment.Stretch: + y = Math.Max(layoutSlot.Top + margin.Top, + (layoutSlot.Top + margin.Top + layoutSlot.Bottom - margin.Bottom) / 2.0 - actualHeight / 2.0); + break; + } + return new Rect(x, y, actualWidth, actualHeight); + } + } +} \ No newline at end of file diff --git a/src/Net_35/HandyControl_Net_35/Media/Animation/EasingGeometryKeyFrame.cs b/src/Net_35/HandyControl_Net_35/Media/Animation/EasingGeometryKeyFrame.cs new file mode 100644 index 00000000..5f282702 --- /dev/null +++ b/src/Net_35/HandyControl_Net_35/Media/Animation/EasingGeometryKeyFrame.cs @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/Net_35/HandyControl_Net_35/Themes/Basic/Behaviors.xaml b/src/Net_35/HandyControl_Net_35/Themes/Basic/Behaviors.xaml new file mode 100644 index 00000000..5765d9e9 --- /dev/null +++ b/src/Net_35/HandyControl_Net_35/Themes/Basic/Behaviors.xaml @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/Net_35/HandyControl_Net_35/Themes/Basic/Brushes.xaml b/src/Net_35/HandyControl_Net_35/Themes/Basic/Brushes.xaml new file mode 100644 index 00000000..caef2990 --- /dev/null +++ b/src/Net_35/HandyControl_Net_35/Themes/Basic/Brushes.xaml @@ -0,0 +1,65 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/Net_35/HandyControl_Net_35/Themes/Styles/Base/BadgeBaseStyle.xaml b/src/Net_35/HandyControl_Net_35/Themes/Styles/Base/BadgeBaseStyle.xaml new file mode 100644 index 00000000..48245448 --- /dev/null +++ b/src/Net_35/HandyControl_Net_35/Themes/Styles/Base/BadgeBaseStyle.xaml @@ -0,0 +1,93 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/Net_35/HandyControl_Net_35/Themes/Styles/Base/CheckBoxBaseStyle.xaml b/src/Net_35/HandyControl_Net_35/Themes/Styles/Base/CheckBoxBaseStyle.xaml new file mode 100644 index 00000000..d88f2326 --- /dev/null +++ b/src/Net_35/HandyControl_Net_35/Themes/Styles/Base/CheckBoxBaseStyle.xaml @@ -0,0 +1,106 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/Net_35/HandyControl_Net_35/Themes/Styles/Base/CheckComboBoxBaseStyle.xaml b/src/Net_35/HandyControl_Net_35/Themes/Styles/Base/CheckComboBoxBaseStyle.xaml new file mode 100644 index 00000000..6f672a18 --- /dev/null +++ b/src/Net_35/HandyControl_Net_35/Themes/Styles/Base/CheckComboBoxBaseStyle.xaml @@ -0,0 +1,585 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +