├── .gitattributes
├── .gitignore
├── HZH_Controls
├── HZH_Controls.sln
├── HZH_Controls
│ ├── Colors
│ │ ├── BasisColors.cs
│ │ ├── BorderColors.cs
│ │ ├── ColorEnums.cs
│ │ ├── ColorExt.cs
│ │ ├── GradientColors.cs
│ │ ├── LineColors.cs
│ │ ├── StatusColors.cs
│ │ ├── TableColors.cs
│ │ └── TextColors.cs
│ ├── Controls
│ │ ├── Btn
│ │ │ ├── UCBtnExt.Designer.cs
│ │ │ ├── UCBtnExt.cs
│ │ │ ├── UCBtnExt.resx
│ │ │ ├── UCBtnFillet.Designer.cs
│ │ │ ├── UCBtnFillet.cs
│ │ │ ├── UCBtnFillet.resx
│ │ │ ├── UCBtnImg.Designer.cs
│ │ │ ├── UCBtnImg.cs
│ │ │ ├── UCBtnImg.resx
│ │ │ ├── UCDropDownBtn.Designer.cs
│ │ │ ├── UCDropDownBtn.cs
│ │ │ └── UCDropDownBtn.resx
│ │ ├── BtnsGroup
│ │ │ ├── UCBtnsGroup.Designer.cs
│ │ │ ├── UCBtnsGroup.cs
│ │ │ └── UCBtnsGroup.resx
│ │ ├── Charts
│ │ │ ├── AuxiliaryLable.cs
│ │ │ ├── AuxiliaryLine.cs
│ │ │ ├── FunnelChart
│ │ │ │ ├── FunelChartAlignment.cs
│ │ │ │ ├── FunelChartDirection.cs
│ │ │ │ ├── FunelChartItem.cs
│ │ │ │ └── UCFunnelChart.cs
│ │ │ ├── MarkText.cs
│ │ │ ├── MarkTextPositionStyle.cs
│ │ │ ├── RadarChart
│ │ │ │ ├── RadarLine.cs
│ │ │ │ ├── RadarPosition.cs
│ │ │ │ └── UCRadarChart.cs
│ │ │ └── ZoomType.cs
│ │ ├── Checkbox
│ │ │ ├── UCCheckBox.Designer.cs
│ │ │ ├── UCCheckBox.cs
│ │ │ └── UCCheckBox.resx
│ │ ├── ComboBox
│ │ │ ├── UCCombox.Designer.cs
│ │ │ ├── UCCombox.cs
│ │ │ ├── UCCombox.resx
│ │ │ ├── UCComboxGrid.Designer.cs
│ │ │ ├── UCComboxGrid.cs
│ │ │ ├── UCComboxGrid.resx
│ │ │ ├── UCComboxGridPanel.Designer.cs
│ │ │ ├── UCComboxGridPanel.cs
│ │ │ └── UCComboxGridPanel.resx
│ │ ├── DataGridView
│ │ │ ├── DataGridViewCellEntity.cs
│ │ │ ├── DataGridViewCellEventArgs.cs
│ │ │ ├── DataGridViewCellEventHandler.cs
│ │ │ ├── DataGridViewColumnEntity.cs
│ │ │ ├── DataGridViewRowCustomEventArgs.cs
│ │ │ ├── IDataGridViewCustomCell.cs
│ │ │ ├── IDataGridViewRow.cs
│ │ │ ├── UCDataGridView.Designer.cs
│ │ │ ├── UCDataGridView.cs
│ │ │ ├── UCDataGridView.resx
│ │ │ ├── UCDataGridViewRow.Designer.cs
│ │ │ ├── UCDataGridViewRow.cs
│ │ │ ├── UCDataGridViewRow.resx
│ │ │ ├── UCDataGridViewTreeRow.Designer.cs
│ │ │ ├── UCDataGridViewTreeRow.cs
│ │ │ └── UCDataGridViewTreeRow.resx
│ │ ├── DateTime
│ │ │ ├── DateTimePickerType.cs
│ │ │ ├── UCCalendarNotes.Designer.cs
│ │ │ ├── UCCalendarNotes.cs
│ │ │ ├── UCCalendarNotes.resx
│ │ │ ├── UCCalendarNotes_Week.Designer.cs
│ │ │ ├── UCCalendarNotes_Week.cs
│ │ │ ├── UCCalendarNotes_Week.resx
│ │ │ ├── UCDatePickerExt.Designer.cs
│ │ │ ├── UCDatePickerExt.cs
│ │ │ ├── UCDatePickerExt.resx
│ │ │ ├── UCDatePickerExt2.Designer.cs
│ │ │ ├── UCDatePickerExt2.cs
│ │ │ ├── UCDatePickerExt2.resx
│ │ │ ├── UCDateTimeSelectPan.Designer.cs
│ │ │ ├── UCDateTimeSelectPan.cs
│ │ │ ├── UCDateTimeSelectPan.resx
│ │ │ ├── UCDateTimeSelectPan2.Designer.cs
│ │ │ ├── UCDateTimeSelectPan2.cs
│ │ │ ├── UCDateTimeSelectPan2.resx
│ │ │ ├── UCTimePanel.Designer.cs
│ │ │ ├── UCTimePanel.cs
│ │ │ └── UCTimePanel.resx
│ │ ├── FactoryControls
│ │ │ ├── Arrow
│ │ │ │ └── UCArrow.cs
│ │ │ ├── Blower
│ │ │ │ ├── UCBlower.cs
│ │ │ │ └── UCBlower.resx
│ │ │ ├── Bottle
│ │ │ │ └── UCBottle.cs
│ │ │ ├── Conduit
│ │ │ │ └── UCConduit.cs
│ │ │ ├── Conveyor
│ │ │ │ └── UCConveyor.cs
│ │ │ ├── DialAisle
│ │ │ │ ├── UCDialAisle.Designer.cs
│ │ │ │ └── UCDialAisle.cs
│ │ │ ├── EllipseDialAisle
│ │ │ │ ├── UCEllipseDialAisle.Designer.cs
│ │ │ │ ├── UCEllipseDialAisle.cs
│ │ │ │ └── UCEllipseDialAisle.resx
│ │ │ ├── House
│ │ │ │ ├── UCHouse.Designer.cs
│ │ │ │ └── UCHouse.cs
│ │ │ ├── Lamp
│ │ │ │ ├── UCAlarmLamp.cs
│ │ │ │ └── UCSignalLamp.cs
│ │ │ ├── Meter
│ │ │ │ └── UCMeter.cs
│ │ │ ├── MindMapping
│ │ │ │ ├── MindMappingItemEntity.cs
│ │ │ │ ├── UCMindMapping.cs
│ │ │ │ ├── UCMindMappingPanel.Designer.cs
│ │ │ │ ├── UCMindMappingPanel.cs
│ │ │ │ └── UCMindMappingPanel.resx
│ │ │ ├── Pond
│ │ │ │ └── UCPond.cs
│ │ │ ├── Rotor
│ │ │ │ ├── UCRotor.Designer.cs
│ │ │ │ ├── UCRotor.cs
│ │ │ │ └── UCRotor.resx
│ │ │ ├── Syringe
│ │ │ │ ├── UCSyringe_Horizontal.Designer.cs
│ │ │ │ ├── UCSyringe_Horizontal.cs
│ │ │ │ ├── UCSyringe_Horizontal.resx
│ │ │ │ ├── UCSyringe_Vertical.Designer.cs
│ │ │ │ ├── UCSyringe_Vertical.cs
│ │ │ │ └── UCSyringe_Vertical.resx
│ │ │ ├── Thermometer
│ │ │ │ └── UCThermometer.cs
│ │ │ ├── Turntable
│ │ │ │ ├── UCTurntable.Designer.cs
│ │ │ │ ├── UCTurntable.cs
│ │ │ │ └── UCTurntable.resx
│ │ │ └── Valve
│ │ │ │ └── UCValve.cs
│ │ ├── GraphicalOverlay
│ │ │ ├── GraphicalOverlayComponent.cs
│ │ │ └── GraphicalOverlayComponent.designer.cs
│ │ ├── KeyBord
│ │ │ ├── UCKeyBorderAll.Designer.cs
│ │ │ ├── UCKeyBorderAll.cs
│ │ │ ├── UCKeyBorderAll.resx
│ │ │ ├── UCKeyBorderNum.Designer.cs
│ │ │ ├── UCKeyBorderNum.cs
│ │ │ ├── UCKeyBorderNum.resx
│ │ │ ├── UCKeyBorderPay.Designer.cs
│ │ │ ├── UCKeyBorderPay.cs
│ │ │ └── UCKeyBorderPay.resx
│ │ ├── LED
│ │ │ ├── UCLEDData.Designer.cs
│ │ │ ├── UCLEDData.cs
│ │ │ ├── UCLEDData.resx
│ │ │ ├── UCLEDDataTime.Designer.cs
│ │ │ ├── UCLEDDataTime.cs
│ │ │ ├── UCLEDDataTime.resx
│ │ │ ├── UCLEDNum.cs
│ │ │ ├── UCLEDNums.Designer.cs
│ │ │ ├── UCLEDNums.cs
│ │ │ ├── UCLEDNums.resx
│ │ │ ├── UCLEDTime.Designer.cs
│ │ │ ├── UCLEDTime.cs
│ │ │ └── UCLEDTime.resx
│ │ ├── List
│ │ │ ├── IListViewItem.cs
│ │ │ ├── UCHorizontalList.Designer.cs
│ │ │ ├── UCHorizontalList.cs
│ │ │ ├── UCHorizontalList.resx
│ │ │ ├── UCHorizontalListItem.Designer.cs
│ │ │ ├── UCHorizontalListItem.cs
│ │ │ ├── UCHorizontalListItem.resx
│ │ │ ├── UCListExt.Designer.cs
│ │ │ ├── UCListExt.cs
│ │ │ ├── UCListExt.resx
│ │ │ ├── UCListItemExt.Designer.cs
│ │ │ ├── UCListItemExt.cs
│ │ │ ├── UCListItemExt.resx
│ │ │ ├── UCListView.Designer.cs
│ │ │ ├── UCListView.cs
│ │ │ ├── UCListView.resx
│ │ │ ├── UCListViewItem.Designer.cs
│ │ │ ├── UCListViewItem.cs
│ │ │ └── UCListViewItem.resx
│ │ ├── Menu
│ │ │ ├── IMenuItem.cs
│ │ │ ├── MenuItemEntity.cs
│ │ │ ├── UCMenu.Designer.cs
│ │ │ ├── UCMenu.cs
│ │ │ ├── UCMenu.resx
│ │ │ ├── UCMenuChildrenItem.Designer.cs
│ │ │ ├── UCMenuChildrenItem.cs
│ │ │ ├── UCMenuChildrenItem.resx
│ │ │ ├── UCMenuParentItem.Designer.cs
│ │ │ ├── UCMenuParentItem.cs
│ │ │ └── UCMenuParentItem.resx
│ │ ├── Navigation
│ │ │ ├── CrumbNavigationClickEventArgs.cs
│ │ │ ├── CrumbNavigationItem.cs
│ │ │ ├── UCCrumbNavigation.Designer.cs
│ │ │ ├── UCCrumbNavigation.cs
│ │ │ └── UCCrumbNavigation.resx
│ │ ├── NavigationMenu
│ │ │ ├── NavigationMenuItem.cs
│ │ │ ├── NavigationMenuItemBase.cs
│ │ │ ├── NavigationMenuItemExt.cs
│ │ │ ├── UCNavigationMenu.Designer.cs
│ │ │ ├── UCNavigationMenu.cs
│ │ │ ├── UCNavigationMenu.resx
│ │ │ ├── UCNavigationMenuExt.Designer.cs
│ │ │ ├── UCNavigationMenuExt.cs
│ │ │ ├── UCNavigationMenuExt.resx
│ │ │ ├── UCNavigationMenuOffice.Designer.cs
│ │ │ ├── UCNavigationMenuOffice.cs
│ │ │ └── UCNavigationMenuOffice.resx
│ │ ├── Page
│ │ │ ├── IPageControl.cs
│ │ │ ├── PageControlEventHandler.cs
│ │ │ ├── PageModel.cs
│ │ │ ├── UCPagerControl.Designer.cs
│ │ │ ├── UCPagerControl.cs
│ │ │ ├── UCPagerControl.resx
│ │ │ ├── UCPagerControl2.Designer.cs
│ │ │ ├── UCPagerControl2.cs
│ │ │ ├── UCPagerControl2.resx
│ │ │ ├── UCPagerControlBase.cs
│ │ │ └── UCPagerControlBase.resx
│ │ ├── Panel
│ │ │ ├── UCPanelQuote.cs
│ │ │ ├── UCPanelTitle.Designer.cs
│ │ │ ├── UCPanelTitle.cs
│ │ │ └── UCPanelTitle.resx
│ │ ├── Process
│ │ │ ├── UCProcessEllipse.Designer.cs
│ │ │ ├── UCProcessEllipse.cs
│ │ │ ├── UCProcessEllipse.resx
│ │ │ ├── UCProcessExt.Designer.cs
│ │ │ ├── UCProcessExt.cs
│ │ │ ├── UCProcessExt.resx
│ │ │ ├── UCProcessLine.cs
│ │ │ ├── UCProcessLineExt.Designer.cs
│ │ │ ├── UCProcessLineExt.cs
│ │ │ ├── UCProcessLineExt.resx
│ │ │ ├── UCProcessRoll.cs
│ │ │ ├── UCProcessWave.Designer.cs
│ │ │ ├── UCProcessWave.cs
│ │ │ └── UCProcessWave.resx
│ │ ├── RadioButton
│ │ │ ├── UCRadioButton.Designer.cs
│ │ │ ├── UCRadioButton.cs
│ │ │ └── UCRadioButton.resx
│ │ ├── Roll
│ │ │ └── UCRollText.cs
│ │ ├── Sampling
│ │ │ └── UCSampling.cs
│ │ ├── ScrollBar
│ │ │ ├── ScrollbarComponent.cs
│ │ │ ├── ScrollbarControlDesigner.cs
│ │ │ ├── UCHScrollbar.cs
│ │ │ ├── UCVScrollbar.cs
│ │ │ └── UCVScrollbar.resx
│ │ ├── Shadow
│ │ │ └── ShadowComponent.cs
│ │ ├── Split
│ │ │ ├── UCSplitLine_H.Designer.cs
│ │ │ ├── UCSplitLine_H.cs
│ │ │ ├── UCSplitLine_H.resx
│ │ │ ├── UCSplitLine_V.Designer.cs
│ │ │ ├── UCSplitLine_V.cs
│ │ │ └── UCSplitLine_V.resx
│ │ ├── SplitLabel
│ │ │ └── UCSplitLabel.cs
│ │ ├── Step
│ │ │ ├── UCStep.Designer.cs
│ │ │ ├── UCStep.cs
│ │ │ └── UCStep.resx
│ │ ├── Switch
│ │ │ ├── UCSwitch.Designer.cs
│ │ │ ├── UCSwitch.cs
│ │ │ └── UCSwitch.resx
│ │ ├── Tab
│ │ │ └── TabControlExt.cs
│ │ ├── Text
│ │ │ ├── KeyBoardType.cs
│ │ │ ├── TextBoxEx.Designer.cs
│ │ │ ├── TextBoxEx.cs
│ │ │ ├── TextBoxTransparent.cs
│ │ │ ├── TextBoxTransparent.resx
│ │ │ ├── UCNumTextBox.Designer.cs
│ │ │ ├── UCNumTextBox.cs
│ │ │ ├── UCNumTextBox.resx
│ │ │ ├── UCTextBoxEx.Designer.cs
│ │ │ ├── UCTextBoxEx.cs
│ │ │ ├── UCTextBoxEx.resx
│ │ │ └── win32.cs
│ │ ├── TimeLine
│ │ │ ├── UCTimeLine.Designer.cs
│ │ │ ├── UCTimeLine.cs
│ │ │ └── UCTimeLine.resx
│ │ ├── ToolStripRendererEx
│ │ │ ├── ControlPaintEx.cs
│ │ │ ├── GraphicsPathHelper.cs
│ │ │ ├── InterpolationModeGraphics.cs
│ │ │ ├── ProfessionalToolStripRendererEx.cs
│ │ │ ├── RegionHelper.cs
│ │ │ ├── RenderHelper.cs
│ │ │ ├── RoundStyle.cs
│ │ │ ├── SmoothingModeGraphics.cs
│ │ │ ├── TextRenderingHintGraphics.cs
│ │ │ └── ToolStripColorTable.cs
│ │ ├── TrackBar
│ │ │ └── UCTrackBar.cs
│ │ ├── Transfer
│ │ │ ├── TransferEventArgs.cs
│ │ │ ├── UCTransfer.Designer.cs
│ │ │ ├── UCTransfer.cs
│ │ │ └── UCTransfer.resx
│ │ ├── Treeview
│ │ │ └── TreeViewEx.cs
│ │ ├── UCControlBase.Designer.cs
│ │ ├── UCControlBase.cs
│ │ ├── UCControlBase.resx
│ │ ├── Verification
│ │ │ ├── VerificationAttribute.cs
│ │ │ ├── VerificationComponent.cs
│ │ │ ├── VerificationEventArgs.cs
│ │ │ └── VerificationModel.cs
│ │ └── Wave
│ │ │ ├── UCWave.cs
│ │ │ └── UCWaveChart.cs
│ ├── Forms
│ │ ├── FrmAnchor.Designer.cs
│ │ ├── FrmAnchor.cs
│ │ ├── FrmAnchor.resx
│ │ ├── FrmAnchorTips.Designer.cs
│ │ ├── FrmAnchorTips.cs
│ │ ├── FrmAnchorTips.resx
│ │ ├── FrmBack.Designer.cs
│ │ ├── FrmBack.cs
│ │ ├── FrmBack.resx
│ │ ├── FrmBase.Designer.cs
│ │ ├── FrmBase.cs
│ │ ├── FrmBase.resx
│ │ ├── FrmDialog.Designer.cs
│ │ ├── FrmDialog.cs
│ │ ├── FrmDialog.resx
│ │ ├── FrmInputs.Designer.cs
│ │ ├── FrmInputs.cs
│ │ ├── FrmInputs.resx
│ │ ├── FrmLoading.Designer.cs
│ │ ├── FrmLoading.cs
│ │ ├── FrmLoading.resx
│ │ ├── FrmTips.Designer.cs
│ │ ├── FrmTips.cs
│ │ ├── FrmTips.resx
│ │ ├── FrmTransparent.Designer.cs
│ │ ├── FrmTransparent.cs
│ │ ├── FrmTransparent.resx
│ │ ├── FrmWaiting.Designer.cs
│ │ ├── FrmWaiting.cs
│ │ ├── FrmWaiting.resx
│ │ ├── FrmWithOKCancel1.Designer.cs
│ │ ├── FrmWithOKCancel1.cs
│ │ ├── FrmWithOKCancel1.resx
│ │ ├── FrmWithOKCancel2.Designer.cs
│ │ ├── FrmWithOKCancel2.cs
│ │ ├── FrmWithOKCancel2.resx
│ │ ├── FrmWithTitle.Designer.cs
│ │ ├── FrmWithTitle.cs
│ │ └── FrmWithTitle.resx
│ ├── HZH_Controls.csproj
│ ├── HZH_Controls.nuspec
│ ├── HandInput
│ │ ├── HandInput.dll
│ │ ├── HandInput64.dll
│ │ ├── certificate
│ │ ├── certificate64
│ │ ├── handinput.cupf
│ │ ├── handinput.exe
│ │ ├── handinput.ini
│ │ ├── icon.png
│ │ ├── lm_HW_PB_7000_kn.arpa.7e9.prune.1e-7.lm.fixed
│ │ ├── overlapEngine.dll
│ │ ├── sgim_annex.bin
│ │ ├── sgim_hz.bin
│ │ ├── sgim_py.bin
│ │ └── singleEngine.dll
│ ├── Helpers
│ │ ├── ControlHelper.cs
│ │ ├── Ext.cs
│ │ ├── GraphDirection.cs
│ │ ├── ITheme.cs
│ │ ├── MouseHook.cs
│ │ ├── NativeMethods.cs
│ │ ├── TextInputType.cs
│ │ └── WindowsHook.cs
│ ├── IconFont
│ │ ├── ElegantIcons.ttf
│ │ ├── FontAwesome.ttf
│ │ ├── FontIcons.cs
│ │ └── FontImages.cs
│ ├── Properties
│ │ ├── AssemblyInfo.cs
│ │ ├── Resources.Designer.cs
│ │ └── Resources.resx
│ ├── Resources
│ │ ├── ComboBox.png
│ │ ├── alarm.png
│ │ ├── back.png
│ │ ├── caret-down.png
│ │ ├── caret-right.png
│ │ ├── checkbox0.png
│ │ ├── checkbox00.png
│ │ ├── checkbox1.png
│ │ ├── checkbox10.png
│ │ ├── chevron-left.png
│ │ ├── chevron-right.png
│ │ ├── dateRight.png
│ │ ├── datetLeft.png
│ │ ├── dialog_close.png
│ │ ├── down.png
│ │ ├── end.png
│ │ ├── error.png
│ │ ├── first.png
│ │ ├── handinput.exe
│ │ ├── help.png
│ │ ├── ic_add_black_18dp.png
│ │ ├── ic_remove_black_18dp.png
│ │ ├── ic_search_black_24dp.png
│ │ ├── input_clear.png
│ │ ├── keyboard.png
│ │ ├── keyboard_bs.png
│ │ ├── left.png
│ │ ├── list_add.png
│ │ ├── list_subtract.png
│ │ ├── loading.gif
│ │ ├── more1.png
│ │ ├── qty_delete.png
│ │ ├── radioButton0.png
│ │ ├── radioButton00.png
│ │ ├── radioButton1.png
│ │ ├── radioButton10.png
│ │ ├── right.png
│ │ ├── rigth.png
│ │ ├── sanjiao1.png
│ │ ├── sanjiao2.png
│ │ ├── success.png
│ │ ├── tips.png
│ │ ├── up.png
│ │ └── warning.png
│ ├── UIEditor
│ │ ├── FrmSelectImage.Designer.cs
│ │ ├── FrmSelectImage.cs
│ │ ├── FrmSelectImage.resx
│ │ └── ImagePropertyEditor.cs
│ ├── buidnuget.bat
│ └── nuget.exe
├── Test
│ ├── FrmMain.Designer.cs
│ ├── FrmMain.cs
│ ├── FrmMain.resx
│ ├── FrmOKCancel1Test.Designer.cs
│ ├── FrmOKCancel1Test.cs
│ ├── FrmOKCancel1Test.resx
│ ├── FrmOKCancel2Test.Designer.cs
│ ├── FrmOKCancel2Test.cs
│ ├── FrmOKCancel2Test.resx
│ ├── FrmTestFrmBack.Designer.cs
│ ├── FrmTestFrmBack.cs
│ ├── FrmTestFrmBack.resx
│ ├── FrmTestLoading.Designer.cs
│ ├── FrmTestLoading.cs
│ ├── FrmTestLoading.resx
│ ├── FrmWithTitleTest.Designer.cs
│ ├── FrmWithTitleTest.cs
│ ├── FrmWithTitleTest.resx
│ ├── Program.cs
│ ├── Properties
│ │ ├── AssemblyInfo.cs
│ │ ├── Resources.Designer.cs
│ │ ├── Resources.resx
│ │ ├── Settings.Designer.cs
│ │ └── Settings.settings
│ ├── Resources
│ │ └── rowicon.png
│ ├── Test.csproj
│ ├── TestGridModel.cs
│ ├── UC
│ │ ├── UCTestArrow.Designer.cs
│ │ ├── UCTestArrow.cs
│ │ ├── UCTestArrow.resx
│ │ ├── UCTestBlower.Designer.cs
│ │ ├── UCTestBlower.cs
│ │ ├── UCTestBlower.resx
│ │ ├── UCTestBtns.Designer.cs
│ │ ├── UCTestBtns.cs
│ │ ├── UCTestBtns.resx
│ │ ├── UCTestCalendarNotes.Designer.cs
│ │ ├── UCTestCalendarNotes.cs
│ │ ├── UCTestCalendarNotes.resx
│ │ ├── UCTestColors.Designer.cs
│ │ ├── UCTestColors.cs
│ │ ├── UCTestColors.resx
│ │ ├── UCTestConduit.Designer.cs
│ │ ├── UCTestConduit.cs
│ │ ├── UCTestConduit.resx
│ │ ├── UCTestContextMenu.Designer.cs
│ │ ├── UCTestContextMenu.cs
│ │ ├── UCTestContextMenu.resx
│ │ ├── UCTestConveyor.Designer.cs
│ │ ├── UCTestConveyor.cs
│ │ ├── UCTestConveyor.resx
│ │ ├── UCTestDialAisle.Designer.cs
│ │ ├── UCTestDialAisle.cs
│ │ ├── UCTestDialAisle.resx
│ │ ├── UCTestForms.Designer.cs
│ │ ├── UCTestForms.cs
│ │ ├── UCTestForms.resx
│ │ ├── UCTestFunnelChart.Designer.cs
│ │ ├── UCTestFunnelChart.cs
│ │ ├── UCTestFunnelChart.resx
│ │ ├── UCTestGraphicalOverlay.Designer.cs
│ │ ├── UCTestGraphicalOverlay.cs
│ │ ├── UCTestGraphicalOverlay.resx
│ │ ├── UCTestGridTable.Designer.cs
│ │ ├── UCTestGridTable.cs
│ │ ├── UCTestGridTable.resx
│ │ ├── UCTestGridTableCustom.Designer.cs
│ │ ├── UCTestGridTableCustom.cs
│ │ ├── UCTestGridTableCustom.resx
│ │ ├── UCTestGridTable_CustomCell.Designer.cs
│ │ ├── UCTestGridTable_CustomCell.cs
│ │ ├── UCTestGridTable_CustomCell.resx
│ │ ├── UCTestGridTable_CustomCellIcon.Designer.cs
│ │ ├── UCTestGridTable_CustomCellIcon.cs
│ │ ├── UCTestGridTable_CustomCellIcon.resx
│ │ ├── UCTestHorizontalList.Designer.cs
│ │ ├── UCTestHorizontalList.cs
│ │ ├── UCTestHorizontalList.resx
│ │ ├── UCTestIcon.Designer.cs
│ │ ├── UCTestIcon.cs
│ │ ├── UCTestIcon.resx
│ │ ├── UCTestLED.Designer.cs
│ │ ├── UCTestLED.cs
│ │ ├── UCTestLED.resx
│ │ ├── UCTestList.Designer.cs
│ │ ├── UCTestList.cs
│ │ ├── UCTestList.resx
│ │ ├── UCTestListView.Designer.cs
│ │ ├── UCTestListView.cs
│ │ ├── UCTestListView.resx
│ │ ├── UCTestLiveChar_Pie.resx
│ │ ├── UCTestLiveCharts.Designer.cs
│ │ ├── UCTestLiveCharts.cs
│ │ ├── UCTestLiveCharts.resx
│ │ ├── UCTestLiveCharts
│ │ │ ├── Cartesian
│ │ │ │ ├── Basic Stacked Bar
│ │ │ │ │ ├── BasicStackedColumnExample.Designer.cs
│ │ │ │ │ ├── BasicStackedColumnExample.cs
│ │ │ │ │ ├── BasicStackedColumnExample.resx
│ │ │ │ │ ├── BasicsStackedRowExample.Designer.cs
│ │ │ │ │ ├── BasicsStackedRowExample.cs
│ │ │ │ │ └── BasicsStackedRowExample.resx
│ │ │ │ ├── BasicBar
│ │ │ │ │ ├── BasicColumnExample.Designer.cs
│ │ │ │ │ ├── BasicColumnExample.cs
│ │ │ │ │ ├── BasicColumnExample.resx
│ │ │ │ │ ├── BasicRowExample.Designer.cs
│ │ │ │ │ ├── BasicRowExample.cs
│ │ │ │ │ └── BasicRowExample.resx
│ │ │ │ ├── BasicBubbles
│ │ │ │ │ ├── BasicBubblesExample.Designer.cs
│ │ │ │ │ ├── BasicBubblesExample.cs
│ │ │ │ │ └── BasicBubblesExample.resx
│ │ │ │ ├── BasicLine
│ │ │ │ │ ├── BasicLineExample.Designer.cs
│ │ │ │ │ ├── BasicLineExample.cs
│ │ │ │ │ └── BasicLineExample.resx
│ │ │ │ ├── ConstantChanges
│ │ │ │ │ ├── ConstantChanges.Designer.cs
│ │ │ │ │ ├── ConstantChanges.cs
│ │ │ │ │ ├── ConstantChanges.resx
│ │ │ │ │ └── MeasureModel.cs
│ │ │ │ ├── Customized Series
│ │ │ │ │ ├── Customized Line Series.Designer.cs
│ │ │ │ │ ├── Customized Line Series.cs
│ │ │ │ │ └── Customized Line Series.resx
│ │ │ │ ├── DataPagination
│ │ │ │ │ ├── DataPaginationExample.Designer.cs
│ │ │ │ │ ├── DataPaginationExample.cs
│ │ │ │ │ └── DataPaginationExample.resx
│ │ │ │ ├── DateTime
│ │ │ │ │ ├── DateTimeExample.Designer.cs
│ │ │ │ │ ├── DateTimeExample.cs
│ │ │ │ │ └── DateTimeExample.resx
│ │ │ │ ├── DynamicVisibility
│ │ │ │ │ ├── DynamicVisibiltyExample.Designer.cs
│ │ │ │ │ ├── DynamicVisibiltyExample.cs
│ │ │ │ │ └── DynamicVisibiltyExample.resx
│ │ │ │ ├── Events
│ │ │ │ │ ├── EventsExample.Designer.cs
│ │ │ │ │ ├── EventsExample.cs
│ │ │ │ │ └── EventsExample.resx
│ │ │ │ ├── Financial
│ │ │ │ │ ├── FinancialExample.Designer.cs
│ │ │ │ │ ├── FinancialExample.cs
│ │ │ │ │ └── FinancialExample.resx
│ │ │ │ ├── FullyResponsive
│ │ │ │ │ ├── FullyResponsive.Designer.cs
│ │ │ │ │ ├── FullyResponsive.cs
│ │ │ │ │ └── FullyResponsive.resx
│ │ │ │ ├── FunnelChart
│ │ │ │ │ ├── FunnelExample.Designer.cs
│ │ │ │ │ ├── FunnelExample.cs
│ │ │ │ │ ├── FunnelExample.resx
│ │ │ │ │ └── Resources
│ │ │ │ │ │ ├── fingerprint.png
│ │ │ │ │ │ ├── user.png
│ │ │ │ │ │ └── view.png
│ │ │ │ ├── GanttChart
│ │ │ │ │ ├── GanttExample.Designer.cs
│ │ │ │ │ ├── GanttExample.cs
│ │ │ │ │ └── GanttExample.resx
│ │ │ │ ├── HeatSeriesExample
│ │ │ │ │ ├── HeatSeriesExample.Designer.cs
│ │ │ │ │ ├── HeatSeriesExample.cs
│ │ │ │ │ └── HeatSeriesExample.resx
│ │ │ │ ├── Inverted Series
│ │ │ │ │ ├── InvertedSeries.Designer.cs
│ │ │ │ │ ├── InvertedSeries.cs
│ │ │ │ │ └── InvertedSeries.resx
│ │ │ │ ├── Irregular Intervals
│ │ │ │ │ ├── IrregularIntervalsExample.Designer.cs
│ │ │ │ │ ├── IrregularIntervalsExample.cs
│ │ │ │ │ └── IrregularIntervalsExample.resx
│ │ │ │ ├── Labels
│ │ │ │ │ ├── Labels.Designer.cs
│ │ │ │ │ ├── Labels.cs
│ │ │ │ │ └── Labels.resx
│ │ │ │ ├── Linq
│ │ │ │ │ ├── City.cs
│ │ │ │ │ ├── DataBase.cs
│ │ │ │ │ ├── LinqExample.Designer.cs
│ │ │ │ │ ├── LinqExample.cs
│ │ │ │ │ ├── LinqExample.resx
│ │ │ │ │ └── cities.csv
│ │ │ │ ├── LogarithmScale
│ │ │ │ │ ├── LogarithmSacale.Designer.cs
│ │ │ │ │ ├── LogarithmSacale.cs
│ │ │ │ │ └── LogarithmSacale.resx
│ │ │ │ ├── MissingPoints
│ │ │ │ │ ├── MissingPoint.Designer.cs
│ │ │ │ │ ├── MissingPoint.cs
│ │ │ │ │ └── MissingPoint.resx
│ │ │ │ ├── MultiAxes
│ │ │ │ │ ├── MultipleAxesExample.Designer.cs
│ │ │ │ │ ├── MultipleAxesExample.cs
│ │ │ │ │ └── MultipleAxesExample.resx
│ │ │ │ ├── NegativeStackedRow
│ │ │ │ │ ├── NegativeStackedRow.Designer.cs
│ │ │ │ │ ├── NegativeStackedRow.cs
│ │ │ │ │ └── NegativeStackedRow.resx
│ │ │ │ ├── PointState
│ │ │ │ │ ├── PointState.Designer.cs
│ │ │ │ │ ├── PointState.cs
│ │ │ │ │ └── PointState.resx
│ │ │ │ ├── ScatterExample
│ │ │ │ │ ├── ScatterForm.Designer.cs
│ │ │ │ │ ├── ScatterForm.cs
│ │ │ │ │ └── ScatterForm.resx
│ │ │ │ ├── Sections
│ │ │ │ │ ├── SectionsExample.Designer.cs
│ │ │ │ │ ├── SectionsExample.cs
│ │ │ │ │ └── SectionsExample.resx
│ │ │ │ ├── StackedArea
│ │ │ │ │ ├── StackedAreaExample.Designer.cs
│ │ │ │ │ ├── StackedAreaExample.cs
│ │ │ │ │ └── StackedAreaExample.resx
│ │ │ │ ├── StepLine
│ │ │ │ │ ├── StepLineExample.Designer.cs
│ │ │ │ │ ├── StepLineExample.cs
│ │ │ │ │ └── StepLineExample.resx
│ │ │ │ ├── UielementsExample
│ │ │ │ │ ├── UielementsExample.Designer.cs
│ │ │ │ │ ├── UielementsExample.cs
│ │ │ │ │ ├── UielementsExample.resx
│ │ │ │ │ └── warning.png
│ │ │ │ └── Zooming and Panning
│ │ │ │ │ ├── ZomingAndPanningExample.Designer.cs
│ │ │ │ │ ├── ZomingAndPanningExample.cs
│ │ │ │ │ └── ZomingAndPanningExample.resx
│ │ │ ├── Gauge
│ │ │ │ ├── 360
│ │ │ │ │ ├── Gauge360Example.Designer.cs
│ │ │ │ │ ├── Gauge360Example.cs
│ │ │ │ │ └── Gauge360Example.resx
│ │ │ │ └── AngularGauge
│ │ │ │ │ ├── AngularGugeForm.Designer.cs
│ │ │ │ │ ├── AngularGugeForm.cs
│ │ │ │ │ └── AngularGugeForm.resx
│ │ │ ├── Maps
│ │ │ │ ├── GeoMapExample.Designer.cs
│ │ │ │ ├── GeoMapExample.cs
│ │ │ │ ├── GeoMapExample.resx
│ │ │ │ └── World.xml
│ │ │ └── PieChart
│ │ │ │ ├── DoughnutExample.Designer.cs
│ │ │ │ ├── DoughnutExample.cs
│ │ │ │ ├── DoughnutExample.resx
│ │ │ │ ├── PieChartExample.Designer.cs
│ │ │ │ ├── PieChartExample.cs
│ │ │ │ └── PieChartExample.resx
│ │ ├── UCTestMenu.Designer.cs
│ │ ├── UCTestMenu.cs
│ │ ├── UCTestMenu.resx
│ │ ├── UCTestMeter.Designer.cs
│ │ ├── UCTestMeter.cs
│ │ ├── UCTestMeter.resx
│ │ ├── UCTestMindMapping.Designer.cs
│ │ ├── UCTestMindMapping.cs
│ │ ├── UCTestMindMapping.resx
│ │ ├── UCTestNavigation.Designer.cs
│ │ ├── UCTestNavigation.cs
│ │ ├── UCTestNavigation.resx
│ │ ├── UCTestNavigationMenu.Designer.cs
│ │ ├── UCTestNavigationMenu.cs
│ │ ├── UCTestNavigationMenu.resx
│ │ ├── UCTestNavigationMenuExt.Designer.cs
│ │ ├── UCTestNavigationMenuExt.cs
│ │ ├── UCTestNavigationMenuExt.resx
│ │ ├── UCTestNavigationMenuOffice.Designer.cs
│ │ ├── UCTestNavigationMenuOffice.cs
│ │ ├── UCTestNavigationMenuOffice.resx
│ │ ├── UCTestNavigationMenuOfficeItem.Designer.cs
│ │ ├── UCTestNavigationMenuOfficeItem.cs
│ │ ├── UCTestNavigationMenuOfficeItem.resx
│ │ ├── UCTestPage.Designer.cs
│ │ ├── UCTestPage.cs
│ │ ├── UCTestPage.resx
│ │ ├── UCTestPanelQuote.Designer.cs
│ │ ├── UCTestPanelQuote.cs
│ │ ├── UCTestPanelQuote.resx
│ │ ├── UCTestPanelTitle.Designer.cs
│ │ ├── UCTestPanelTitle.cs
│ │ ├── UCTestPanelTitle.resx
│ │ ├── UCTestProcess.Designer.cs
│ │ ├── UCTestProcess.cs
│ │ ├── UCTestProcess.resx
│ │ ├── UCTestRadarChart.Designer.cs
│ │ ├── UCTestRadarChart.cs
│ │ ├── UCTestRadarChart.resx
│ │ ├── UCTestRollText.Designer.cs
│ │ ├── UCTestRollText.cs
│ │ ├── UCTestRollText.resx
│ │ ├── UCTestRotor.Designer.cs
│ │ ├── UCTestRotor.cs
│ │ ├── UCTestRotor.resx
│ │ ├── UCTestSampling.Designer.cs
│ │ ├── UCTestSampling.cs
│ │ ├── UCTestSampling.resx
│ │ ├── UCTestScrollbar.Designer.cs
│ │ ├── UCTestScrollbar.cs
│ │ ├── UCTestScrollbar.resx
│ │ ├── UCTestShadow.Designer.cs
│ │ ├── UCTestShadow.cs
│ │ ├── UCTestShadow.resx
│ │ ├── UCTestSignalLamp.Designer.cs
│ │ ├── UCTestSignalLamp.cs
│ │ ├── UCTestSignalLamp.resx
│ │ ├── UCTestSplitLabel.Designer.cs
│ │ ├── UCTestSplitLabel.cs
│ │ ├── UCTestSplitLabel.resx
│ │ ├── UCTestStep.Designer.cs
│ │ ├── UCTestStep.cs
│ │ ├── UCTestStep.resx
│ │ ├── UCTestSyringe.Designer.cs
│ │ ├── UCTestSyringe.cs
│ │ ├── UCTestSyringe.resx
│ │ ├── UCTestTab.Designer.cs
│ │ ├── UCTestTab.cs
│ │ ├── UCTestTab.resx
│ │ ├── UCTestThermometer.Designer.cs
│ │ ├── UCTestThermometer.cs
│ │ ├── UCTestThermometer.resx
│ │ ├── UCTestTimeLine.Designer.cs
│ │ ├── UCTestTimeLine.cs
│ │ ├── UCTestTimeLine.resx
│ │ ├── UCTestTips.Designer.cs
│ │ ├── UCTestTips.cs
│ │ ├── UCTestTips.resx
│ │ ├── UCTestTrackbar.Designer.cs
│ │ ├── UCTestTrackbar.cs
│ │ ├── UCTestTrackbar.resx
│ │ ├── UCTestTransfer.Designer.cs
│ │ ├── UCTestTransfer.cs
│ │ ├── UCTestTransfer.resx
│ │ ├── UCTestTreeGridTable.Designer.cs
│ │ ├── UCTestTreeGridTable.cs
│ │ ├── UCTestTreeGridTable.resx
│ │ ├── UCTestTreeview.Designer.cs
│ │ ├── UCTestTreeview.cs
│ │ ├── UCTestTreeview.resx
│ │ ├── UCTestTurntable.Designer.cs
│ │ ├── UCTestTurntable.cs
│ │ ├── UCTestTurntable.resx
│ │ ├── UCTestUCEllipseDialAisle.Designer.cs
│ │ ├── UCTestUCEllipseDialAisle.cs
│ │ ├── UCTestUCEllipseDialAisle.resx
│ │ ├── UCTestValve.Designer.cs
│ │ ├── UCTestValve.cs
│ │ ├── UCTestValve.resx
│ │ ├── UCTestVerification.Designer.cs
│ │ ├── UCTestVerification.cs
│ │ ├── UCTestVerification.resx
│ │ ├── UCTestWave.Designer.cs
│ │ ├── UCTestWave.cs
│ │ ├── UCTestWave.resx
│ │ ├── UCTestWaveChart.Designer.cs
│ │ ├── UCTestWaveChart.cs
│ │ └── UCTestWaveChart.resx
│ ├── UCShouQuan.Designer.cs
│ ├── UCShouQuan.cs
│ ├── UCShouQuan.resx
│ ├── log.ico
│ ├── logo.ico
│ └── packages.config
└── packages
│ ├── LiveCharts.0.9.7
│ ├── LiveCharts.0.9.7.nupkg
│ ├── lib
│ │ ├── net40
│ │ │ ├── LiveCharts.dll
│ │ │ ├── LiveCharts.pdb
│ │ │ └── LiveCharts.xml
│ │ ├── net45
│ │ │ ├── LiveCharts.dll
│ │ │ ├── LiveCharts.pdb
│ │ │ └── LiveCharts.xml
│ │ └── portable-net45+win8+wp8
│ │ │ ├── LiveCharts.XML
│ │ │ ├── LiveCharts.dll
│ │ │ └── LiveCharts.pdb
│ └── readme.txt
│ ├── LiveCharts.WinForms.0.9.7.1
│ ├── LiveCharts.WinForms.0.9.7.1.nupkg
│ ├── lib
│ │ ├── net40
│ │ │ ├── LiveCharts.WinForms.XML
│ │ │ ├── LiveCharts.WinForms.dll
│ │ │ └── LiveCharts.WinForms.pdb
│ │ └── net45
│ │ │ ├── LiveCharts.WinForms.XML
│ │ │ ├── LiveCharts.WinForms.dll
│ │ │ └── LiveCharts.WinForms.pdb
│ └── tools
│ │ └── install.ps1
│ ├── LiveCharts.Wpf.0.9.7
│ ├── LiveCharts.Wpf.0.9.7.nupkg
│ ├── lib
│ │ ├── net40
│ │ │ ├── LiveCharts.Wpf.XML
│ │ │ ├── LiveCharts.Wpf.dll
│ │ │ └── LiveCharts.Wpf.pdb
│ │ └── net45
│ │ │ ├── LiveCharts.Wpf.XML
│ │ │ ├── LiveCharts.Wpf.dll
│ │ │ └── LiveCharts.Wpf.pdb
│ └── tools
│ │ └── install.ps1
│ └── repositories.config
├── LICENSE
├── README.md
├── README_CN.md
└── logo.ico
/.gitattributes:
--------------------------------------------------------------------------------
1 | *.htm linguist-language=c#
2 | *.html linguist-language=c#
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | /HZH_Controls/*.suo
2 | /HZH_Controls/HZH_Controls/obj
3 | /HZH_Controls/HZH_Controls/bin
4 | /HZH_Controls/Test/obj
5 | /HZH_Controls/Test/bin
6 | /HZH_Controls/HZH_Controls/*.user
7 | /HZH_Controls/HZH_Controls/*.nupkg
8 | /HZH_Controls/Help
9 | /HZH_Controls/HZH_Controls.sln.GhostDoc.xml
10 | /HZH_Controls/.vs/
11 |
--------------------------------------------------------------------------------
/HZH_Controls/HZH_Controls.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio 2013
4 | VisualStudioVersion = 12.0.21005.1
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HZH_Controls", "HZH_Controls\HZH_Controls.csproj", "{AF32E163-C577-4CBC-A072-0DC1CE0E1DA3}"
7 | EndProject
8 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Test", "Test\Test.csproj", "{53CCD007-AA85-4CCF-AE81-BBB8B1CBEB1F}"
9 | EndProject
10 | Global
11 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
12 | Debug|Any CPU = Debug|Any CPU
13 | Release|Any CPU = Release|Any CPU
14 | EndGlobalSection
15 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
16 | {AF32E163-C577-4CBC-A072-0DC1CE0E1DA3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
17 | {AF32E163-C577-4CBC-A072-0DC1CE0E1DA3}.Debug|Any CPU.Build.0 = Debug|Any CPU
18 | {AF32E163-C577-4CBC-A072-0DC1CE0E1DA3}.Release|Any CPU.ActiveCfg = Release|Any CPU
19 | {AF32E163-C577-4CBC-A072-0DC1CE0E1DA3}.Release|Any CPU.Build.0 = Release|Any CPU
20 | {53CCD007-AA85-4CCF-AE81-BBB8B1CBEB1F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
21 | {53CCD007-AA85-4CCF-AE81-BBB8B1CBEB1F}.Debug|Any CPU.Build.0 = Debug|Any CPU
22 | {53CCD007-AA85-4CCF-AE81-BBB8B1CBEB1F}.Release|Any CPU.ActiveCfg = Release|Any CPU
23 | {53CCD007-AA85-4CCF-AE81-BBB8B1CBEB1F}.Release|Any CPU.Build.0 = Release|Any CPU
24 | EndGlobalSection
25 | GlobalSection(SolutionProperties) = preSolution
26 | HideSolutionNode = FALSE
27 | EndGlobalSection
28 | EndGlobal
29 |
--------------------------------------------------------------------------------
/HZH_Controls/HZH_Controls/Controls/Charts/AuxiliaryLable.cs:
--------------------------------------------------------------------------------
1 | using System.Drawing;
2 |
3 | namespace HZH_Controls.Controls
4 | {
5 | public class AuxiliaryLable
6 | {
7 | public string Text
8 | {
9 | get;
10 | set;
11 | }
12 |
13 | public Brush TextBrush
14 | {
15 | get;
16 | set;
17 | }
18 |
19 | public Brush TextBack
20 | {
21 | get;
22 | set;
23 | }
24 |
25 | public float LocationX
26 | {
27 | get;
28 | set;
29 | }
30 |
31 | public AuxiliaryLable()
32 | {
33 | TextBrush = Brushes.Black;
34 | TextBack = Brushes.Transparent;
35 | LocationX = 0.5f;
36 | }
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/HZH_Controls/HZH_Controls/Controls/Charts/AuxiliaryLine.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kwwwvagaa/NetWinformControl/745462d1c740922257bef8bbdcccbdd2a8a0351d/HZH_Controls/HZH_Controls/Controls/Charts/AuxiliaryLine.cs
--------------------------------------------------------------------------------
/HZH_Controls/HZH_Controls/Controls/Charts/FunnelChart/FunelChartAlignment.cs:
--------------------------------------------------------------------------------
1 | // ***********************************************************************
2 | // Assembly : HZH_Controls
3 | // Created : 2019-09-26
4 | //
5 | // ***********************************************************************
6 | //
7 | // Copyright by Huang Zhenghui(黄正辉) All, QQ group:568015492 QQ:623128629 Email:623128629@qq.com
8 | //
9 | //
10 | // Blog: https://www.cnblogs.com/bfyx
11 | // GitHub:https://github.com/kwwwvagaa/NetWinformControl
12 | // gitee:https://gitee.com/kwwwvagaa/net_winform_custom_control.git
13 | //
14 | // If you use this code, please keep this note.
15 | // ***********************************************************************
16 | using System;
17 | using System.Collections.Generic;
18 | using System.Linq;
19 | using System.Text;
20 |
21 | namespace HZH_Controls.Controls
22 | {
23 | ///
24 | /// Enum FunelChartAlignment
25 | ///
26 | public enum FunelChartAlignment
27 | {
28 | ///
29 | /// The left
30 | ///
31 | Left,
32 | ///
33 | /// The center
34 | ///
35 | Center,
36 | ///
37 | /// The right
38 | ///
39 | Right
40 | }
41 | }
42 |
--------------------------------------------------------------------------------
/HZH_Controls/HZH_Controls/Controls/Charts/FunnelChart/FunelChartDirection.cs:
--------------------------------------------------------------------------------
1 | // ***********************************************************************
2 | // Assembly : HZH_Controls
3 | // Created : 2019-09-26
4 | //
5 | // ***********************************************************************
6 | //
7 | // Copyright by Huang Zhenghui(黄正辉) All, QQ group:568015492 QQ:623128629 Email:623128629@qq.com
8 | //
9 | //
10 | // Blog: https://www.cnblogs.com/bfyx
11 | // GitHub:https://github.com/kwwwvagaa/NetWinformControl
12 | // gitee:https://gitee.com/kwwwvagaa/net_winform_custom_control.git
13 | //
14 | // If you use this code, please keep this note.
15 | // ***********************************************************************
16 | using System;
17 | using System.Collections.Generic;
18 | using System.Linq;
19 | using System.Text;
20 |
21 | namespace HZH_Controls.Controls
22 | {
23 | ///
24 | /// Enum FunelChartDirection
25 | ///
26 | public enum FunelChartDirection
27 | {
28 | ///
29 | /// Up
30 | ///
31 | UP,
32 | ///
33 | /// Down
34 | ///
35 | Down
36 | }
37 | }
38 |
--------------------------------------------------------------------------------
/HZH_Controls/HZH_Controls/Controls/Charts/FunnelChart/FunelChartItem.cs:
--------------------------------------------------------------------------------
1 | // ***********************************************************************
2 | // Assembly : HZH_Controls
3 | // Created : 2019-09-26
4 | //
5 | // ***********************************************************************
6 | //
7 | // Copyright by Huang Zhenghui(黄正辉) All, QQ group:568015492 QQ:623128629 Email:623128629@qq.com
8 | //
9 | //
10 | // Blog: https://www.cnblogs.com/bfyx
11 | // GitHub:https://github.com/kwwwvagaa/NetWinformControl
12 | // gitee:https://gitee.com/kwwwvagaa/net_winform_custom_control.git
13 | //
14 | // If you use this code, please keep this note.
15 | // ***********************************************************************
16 | using System;
17 | using System.Collections.Generic;
18 | using System.Linq;
19 | using System.Text;
20 |
21 | namespace HZH_Controls.Controls
22 | {
23 | ///
24 | /// Class FunelChartItem.
25 | ///
26 | public class FunelChartItem
27 | {
28 | ///
29 | /// Gets or sets the text.
30 | ///
31 | /// The text.
32 | public string Text { get; set; }
33 | ///
34 | /// Gets or sets the value.
35 | ///
36 | /// The value.
37 | public float Value { get; set; }
38 | ///
39 | /// Gets or sets the color of the value.
40 | ///
41 | /// The color of the value.
42 | public System.Drawing.Color? ValueColor { get; set; }
43 | ///
44 | /// Gets or sets the color of the text fore.
45 | ///
46 | /// The color of the text fore.
47 | public System.Drawing.Color? TextForeColor { get; set; }
48 | }
49 | }
50 |
--------------------------------------------------------------------------------
/HZH_Controls/HZH_Controls/Controls/Charts/MarkText.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kwwwvagaa/NetWinformControl/745462d1c740922257bef8bbdcccbdd2a8a0351d/HZH_Controls/HZH_Controls/Controls/Charts/MarkText.cs
--------------------------------------------------------------------------------
/HZH_Controls/HZH_Controls/Controls/Charts/MarkTextPositionStyle.cs:
--------------------------------------------------------------------------------
1 | namespace HZH_Controls.Controls
2 | {
3 | public enum MarkTextPositionStyle
4 | {
5 | Up = 1,
6 | Right = 2,
7 | Down = 4,
8 | Left = 8,
9 | Auto = 16
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/HZH_Controls/HZH_Controls/Controls/Charts/RadarChart/RadarLine.cs:
--------------------------------------------------------------------------------
1 | // ***********************************************************************
2 | // Assembly : HZH_Controls
3 | // Created : 2019-09-25
4 | //
5 | // ***********************************************************************
6 | //
7 | // Copyright by Huang Zhenghui(黄正辉) All, QQ group:568015492 QQ:623128629 Email:623128629@qq.com
8 | //
9 | //
10 | // Blog: https://www.cnblogs.com/bfyx
11 | // GitHub:https://github.com/kwwwvagaa/NetWinformControl
12 | // gitee:https://gitee.com/kwwwvagaa/net_winform_custom_control.git
13 | //
14 | // If you use this code, please keep this note.
15 | // ***********************************************************************
16 | using System;
17 | using System.Collections.Generic;
18 | using System.Drawing;
19 | using System.Linq;
20 | using System.Text;
21 |
22 | namespace HZH_Controls.Controls
23 | {
24 | ///
25 | /// Class RadarLine.
26 | ///
27 | public class RadarLine
28 | {
29 | ///
30 | /// Gets or sets the name.
31 | ///
32 | /// The name.
33 | public string Name { get; set; }
34 | ///
35 | /// Gets or sets the values.
36 | ///
37 | /// The values.
38 | public double[] Values { get; set; }
39 | ///
40 | /// Gets or sets the color of the line.
41 | ///
42 | /// The color of the line.
43 | public Color? LineColor { get; set; }
44 | ///
45 | /// Gets or sets a value indicating whether [show value text].
46 | ///
47 | /// true if [show value text]; otherwise, false.
48 | public bool ShowValueText { get; set; }
49 | ///
50 | /// Gets or sets the color of the fill.
51 | ///
52 | /// The color of the fill.
53 | public Color? FillColor { get; set; }
54 | }
55 | }
56 |
--------------------------------------------------------------------------------
/HZH_Controls/HZH_Controls/Controls/Charts/RadarChart/RadarPosition.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 |
6 | namespace HZH_Controls.Controls
7 | {
8 | public class RadarPosition
9 | {
10 | public string Text { get; set; }
11 | public double MaxValue { get; set; }
12 | public double MinValue { get; set; }
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/HZH_Controls/HZH_Controls/Controls/Charts/ZoomType.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kwwwvagaa/NetWinformControl/745462d1c740922257bef8bbdcccbdd2a8a0351d/HZH_Controls/HZH_Controls/Controls/Charts/ZoomType.cs
--------------------------------------------------------------------------------
/HZH_Controls/HZH_Controls/Controls/DataGridView/DataGridViewCellEntity.cs:
--------------------------------------------------------------------------------
1 | // ***********************************************************************
2 | // Assembly : HZH_Controls
3 | // Created : 08-09-2019
4 | //
5 | // ***********************************************************************
6 | //
7 | // Copyright by Huang Zhenghui(黄正辉) All, QQ group:568015492 QQ:623128629 Email:623128629@qq.com
8 | //
9 | //
10 | // Blog: https://www.cnblogs.com/bfyx
11 | // GitHub:https://github.com/kwwwvagaa/NetWinformControl
12 | // gitee:https://gitee.com/kwwwvagaa/net_winform_custom_control.git
13 | //
14 | // If you use this code, please keep this note.
15 | // ***********************************************************************
16 | using System;
17 | using System.Collections.Generic;
18 | using System.Linq;
19 | using System.Text;
20 |
21 | namespace HZH_Controls.Controls
22 | {
23 | ///
24 | /// Class DataGridViewCellEntity.
25 | ///
26 | public class DataGridViewCellEntity
27 | {
28 | ///
29 | /// Gets or sets the title.
30 | ///
31 | /// The title.
32 | public string Title { get; set; }
33 | ///
34 | /// Gets or sets the width.
35 | ///
36 | /// The width.
37 | public int Width { get; set; }
38 | ///
39 | /// Gets or sets the type of the width.
40 | ///
41 | /// The type of the width.
42 | public System.Windows.Forms.SizeType WidthType { get; set; }
43 |
44 | }
45 | }
46 |
--------------------------------------------------------------------------------
/HZH_Controls/HZH_Controls/Controls/DataGridView/DataGridViewCellEventArgs.cs:
--------------------------------------------------------------------------------
1 | // ***********************************************************************
2 | // Assembly : HZH_Controls
3 | // Created : 08-09-2019
4 | //
5 | // ***********************************************************************
6 | //
7 | // Copyright by Huang Zhenghui(黄正辉) All, QQ group:568015492 QQ:623128629 Email:623128629@qq.com
8 | //
9 | //
10 | // Blog: https://www.cnblogs.com/bfyx
11 | // GitHub:https://github.com/kwwwvagaa/NetWinformControl
12 | // gitee:https://gitee.com/kwwwvagaa/net_winform_custom_control.git
13 | //
14 | // If you use this code, please keep this note.
15 | // ***********************************************************************
16 | using System;
17 | using System.Collections.Generic;
18 | using System.Linq;
19 | using System.Text;
20 | using System.Windows.Forms;
21 |
22 | namespace HZH_Controls.Controls
23 | {
24 | ///
25 | /// Class DataGridViewEventArgs.
26 | /// Implements the
27 | ///
28 | ///
29 | public class DataGridViewEventArgs : EventArgs
30 | {
31 | ///
32 | /// Gets or sets the cell control.
33 | ///
34 | /// The cell control.
35 | public Control CellControl { get; set; }
36 | ///
37 | /// Gets or sets the index of the cell.
38 | ///
39 | /// The index of the cell.
40 | public int CellIndex { get; set; }
41 | ///
42 | /// Gets or sets the index of the row.
43 | ///
44 | /// The index of the row.
45 | public int RowIndex { get; set; }
46 |
47 | }
48 | }
49 |
--------------------------------------------------------------------------------
/HZH_Controls/HZH_Controls/Controls/DataGridView/DataGridViewCellEventHandler.cs:
--------------------------------------------------------------------------------
1 | // ***********************************************************************
2 | // Assembly : HZH_Controls
3 | // Created : 08-09-2019
4 | //
5 | // ***********************************************************************
6 | //
7 | // Copyright by Huang Zhenghui(黄正辉) All, QQ group:568015492 QQ:623128629 Email:623128629@qq.com
8 | //
9 | //
10 | // Blog: https://www.cnblogs.com/bfyx
11 | // GitHub:https://github.com/kwwwvagaa/NetWinformControl
12 | // gitee:https://gitee.com/kwwwvagaa/net_winform_custom_control.git
13 | //
14 | // If you use this code, please keep this note.
15 | // ***********************************************************************
16 | using System;
17 | using System.Collections.Generic;
18 | using System.Linq;
19 | using System.Runtime.InteropServices;
20 | using System.Text;
21 |
22 | namespace HZH_Controls.Controls
23 | {
24 | ///
25 | /// Delegate DataGridViewEventHandler
26 | ///
27 | /// The sender.
28 | /// The instance containing the event data.
29 | [Serializable]
30 | [ComVisible(true)]
31 | public delegate void DataGridViewEventHandler(object sender, DataGridViewEventArgs e);
32 |
33 | ///
34 | /// Delegate DataGridViewRowCustomEventHandler
35 | ///
36 | /// The sender.
37 | /// The instance containing the event data.
38 | [Serializable]
39 | [ComVisible(true)]
40 | public delegate void DataGridViewRowCustomEventHandler(object sender, DataGridViewRowCustomEventArgs e);
41 | }
42 |
--------------------------------------------------------------------------------
/HZH_Controls/HZH_Controls/Controls/DataGridView/DataGridViewRowCustomEventArgs.cs:
--------------------------------------------------------------------------------
1 | // ***********************************************************************
2 | // Assembly : HZH_Controls
3 | // Created : 08-27-2019
4 | //
5 | // ***********************************************************************
6 | //
7 | // Copyright by Huang Zhenghui(黄正辉) All, QQ group:568015492 QQ:623128629 Email:623128629@qq.com
8 | //
9 | //
10 | // Blog: https://www.cnblogs.com/bfyx
11 | // GitHub:https://github.com/kwwwvagaa/NetWinformControl
12 | // gitee:https://gitee.com/kwwwvagaa/net_winform_custom_control.git
13 | //
14 | // If you use this code, please keep this note.
15 | // ***********************************************************************
16 | using System;
17 | using System.Collections.Generic;
18 | using System.Linq;
19 | using System.Text;
20 |
21 | namespace HZH_Controls.Controls
22 | {
23 | ///
24 | /// Class DataGridViewRowCustomEventArgs.
25 | /// Implements the
26 | ///
27 | ///
28 | public class DataGridViewRowCustomEventArgs : EventArgs
29 | {
30 | ///
31 | /// Gets or sets the name of the event.
32 | ///
33 | /// The name of the event.
34 | public string EventName { get; set; }
35 |
36 | public object Data { get; set; }
37 |
38 | }
39 | }
40 |
--------------------------------------------------------------------------------
/HZH_Controls/HZH_Controls/Controls/DataGridView/IDataGridViewCustomCell.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 |
6 | namespace HZH_Controls.Controls
7 | {
8 | public interface IDataGridViewCustomCell
9 | {
10 | ///
11 | /// 绑定行关联的数据
12 | ///
13 | /// The object.
14 | void SetBindSource(object obj);
15 | ///
16 | /// 自定义事件传递,用于单元格向行中传递此事件
17 | ///
18 | event DataGridViewRowCustomEventHandler RowCustomEvent;
19 | ///
20 | /// 关联数据源
21 | ///
22 | object DataSource { get; }
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/HZH_Controls/HZH_Controls/Controls/DateTime/DateTimePickerType.cs:
--------------------------------------------------------------------------------
1 | // ***********************************************************************
2 | // Assembly : HZH_Controls
3 | // Created : 08-08-2019
4 | //
5 | // ***********************************************************************
6 | //
7 | // Copyright by Huang Zhenghui(黄正辉) All, QQ group:568015492 QQ:623128629 Email:623128629@qq.com
8 | //
9 | //
10 | // Blog: https://www.cnblogs.com/bfyx
11 | // GitHub:https://github.com/kwwwvagaa/NetWinformControl
12 | // gitee:https://gitee.com/kwwwvagaa/net_winform_custom_control.git
13 | //
14 | // If you use this code, please keep this note.
15 | // ***********************************************************************
16 | using System;
17 | using System.Collections.Generic;
18 | using System.Linq;
19 | using System.Text;
20 |
21 | namespace HZH_Controls.Controls
22 | {
23 | ///
24 | /// Enum DateTimePickerType
25 | ///
26 | public enum DateTimePickerType
27 | {
28 | ///
29 | /// The date time
30 | ///
31 | DateTime = 1,
32 | ///
33 | /// The date
34 | ///
35 | Date = 2,
36 | ///
37 | /// The time
38 | ///
39 | Time = 4
40 | }
41 | }
42 |
--------------------------------------------------------------------------------
/HZH_Controls/HZH_Controls/Controls/FactoryControls/DialAisle/UCDialAisle.Designer.cs:
--------------------------------------------------------------------------------
1 | namespace HZH_Controls.Controls
2 | {
3 | partial class UCDialAisle
4 | {
5 | ///
6 | /// 必需的设计器变量。
7 | ///
8 | private System.ComponentModel.IContainer components = null;
9 |
10 | ///
11 | /// 清理所有正在使用的资源。
12 | ///
13 | /// 如果应释放托管资源,为 true;否则为 false。
14 | protected override void Dispose(bool disposing)
15 | {
16 | if (disposing && (components != null))
17 | {
18 | components.Dispose();
19 | }
20 | base.Dispose(disposing);
21 | }
22 |
23 | #region 组件设计器生成的代码
24 |
25 | ///
26 | /// 设计器支持所需的方法 - 不要
27 | /// 使用代码编辑器修改此方法的内容。
28 | ///
29 | private void InitializeComponent()
30 | {
31 | components = new System.ComponentModel.Container();
32 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
33 | }
34 |
35 | #endregion
36 | }
37 | }
38 |
--------------------------------------------------------------------------------
/HZH_Controls/HZH_Controls/Controls/FactoryControls/EllipseDialAisle/UCEllipseDialAisle.Designer.cs:
--------------------------------------------------------------------------------
1 | namespace HZH_Controls.Controls
2 | {
3 | partial class UCEllipseDialAisle
4 | {
5 | ///
6 | /// 必需的设计器变量。
7 | ///
8 | private System.ComponentModel.IContainer components = null;
9 |
10 | ///
11 | /// 清理所有正在使用的资源。
12 | ///
13 | /// 如果应释放托管资源,为 true;否则为 false。
14 | protected override void Dispose(bool disposing)
15 | {
16 | if (disposing && (components != null))
17 | {
18 | components.Dispose();
19 | }
20 | base.Dispose(disposing);
21 | }
22 |
23 | #region 组件设计器生成的代码
24 |
25 | ///
26 | /// 设计器支持所需的方法 - 不要
27 | /// 使用代码编辑器修改此方法的内容。
28 | ///
29 | private void InitializeComponent()
30 | {
31 | this.SuspendLayout();
32 | //
33 | // UCEllipseDialAisle
34 | //
35 | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
36 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
37 | this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(204)))), ((int)(((byte)(204)))), ((int)(((byte)(204)))));
38 | this.Name = "UCEllipseDialAisle";
39 | this.Size = new System.Drawing.Size(373, 150);
40 | this.ResumeLayout(false);
41 |
42 | }
43 |
44 | #endregion
45 | }
46 | }
47 |
--------------------------------------------------------------------------------
/HZH_Controls/HZH_Controls/Controls/FactoryControls/House/UCHouse.Designer.cs:
--------------------------------------------------------------------------------
1 | namespace HZH_Controls.Controls
2 | {
3 | partial class UCHouse
4 | {
5 | ///
6 | /// 必需的设计器变量。
7 | ///
8 | private System.ComponentModel.IContainer components = null;
9 |
10 | ///
11 | /// 清理所有正在使用的资源。
12 | ///
13 | /// 如果应释放托管资源,为 true;否则为 false。
14 | protected override void Dispose(bool disposing)
15 | {
16 | if (disposing && (components != null))
17 | {
18 | components.Dispose();
19 | }
20 | base.Dispose(disposing);
21 | }
22 |
23 | #region 组件设计器生成的代码
24 |
25 | ///
26 | /// 设计器支持所需的方法 - 不要
27 | /// 使用代码编辑器修改此方法的内容。
28 | ///
29 | private void InitializeComponent()
30 | {
31 | components = new System.ComponentModel.Container();
32 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
33 | }
34 |
35 | #endregion
36 | }
37 | }
38 |
--------------------------------------------------------------------------------
/HZH_Controls/HZH_Controls/Controls/FactoryControls/Rotor/UCRotor.Designer.cs:
--------------------------------------------------------------------------------
1 | namespace HZH_Controls.Controls
2 | {
3 | partial class UCRotor
4 | {
5 | ///
6 | /// 必需的设计器变量。
7 | ///
8 | private System.ComponentModel.IContainer components = null;
9 |
10 | ///
11 | /// 清理所有正在使用的资源。
12 | ///
13 | /// 如果应释放托管资源,为 true;否则为 false。
14 | protected override void Dispose(bool disposing)
15 | {
16 | if (disposing && (components != null))
17 | {
18 | components.Dispose();
19 | }
20 | base.Dispose(disposing);
21 | }
22 |
23 | #region 组件设计器生成的代码
24 |
25 | ///
26 | /// 设计器支持所需的方法 - 不要
27 | /// 使用代码编辑器修改此方法的内容。
28 | ///
29 | private void InitializeComponent()
30 | {
31 | this.components = new System.ComponentModel.Container();
32 | this.timer1 = new System.Windows.Forms.Timer(this.components);
33 | this.SuspendLayout();
34 | //
35 | // timer1
36 | //
37 | this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
38 | //
39 | // UCRotor
40 | //
41 | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
42 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
43 | this.Name = "UCRotor";
44 | this.ResumeLayout(false);
45 |
46 | }
47 |
48 | #endregion
49 |
50 | private System.Windows.Forms.Timer timer1;
51 | }
52 | }
53 |
--------------------------------------------------------------------------------
/HZH_Controls/HZH_Controls/Controls/FactoryControls/Syringe/UCSyringe_Horizontal.Designer.cs:
--------------------------------------------------------------------------------
1 | namespace HZH_Controls.Controls.FactoryControls.Syringe
2 | {
3 | partial class UCSyringe_Horizontal
4 | {
5 | ///
6 | /// 必需的设计器变量。
7 | ///
8 | private System.ComponentModel.IContainer components = null;
9 |
10 | ///
11 | /// 清理所有正在使用的资源。
12 | ///
13 | /// 如果应释放托管资源,为 true;否则为 false。
14 | protected override void Dispose(bool disposing)
15 | {
16 | if (disposing && (components != null))
17 | {
18 | components.Dispose();
19 | }
20 | base.Dispose(disposing);
21 | }
22 |
23 | #region 组件设计器生成的代码
24 |
25 | ///
26 | /// 设计器支持所需的方法 - 不要
27 | /// 使用代码编辑器修改此方法的内容。
28 | ///
29 | private void InitializeComponent()
30 | {
31 | this.components = new System.ComponentModel.Container();
32 | this.timer1 = new System.Windows.Forms.Timer(this.components);
33 | this.SuspendLayout();
34 | //
35 | // timer1
36 | //
37 | this.timer1.Enabled = true;
38 | this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
39 | //
40 | // UCSyringe_Horizontal
41 | //
42 | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
43 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
44 | this.BackColor = System.Drawing.Color.Transparent;
45 | this.Name = "UCSyringe_Horizontal";
46 | this.Size = new System.Drawing.Size(252, 93);
47 | this.ResumeLayout(false);
48 |
49 | }
50 |
51 | #endregion
52 |
53 | private System.Windows.Forms.Timer timer1;
54 | }
55 | }
56 |
--------------------------------------------------------------------------------
/HZH_Controls/HZH_Controls/Controls/FactoryControls/Syringe/UCSyringe_Vertical.Designer.cs:
--------------------------------------------------------------------------------
1 | namespace HZH_Controls.Controls
2 | {
3 | partial class UCSyringe
4 | {
5 | ///
6 | /// 必需的设计器变量。
7 | ///
8 | private System.ComponentModel.IContainer components = null;
9 |
10 | ///
11 | /// 清理所有正在使用的资源。
12 | ///
13 | /// 如果应释放托管资源,为 true;否则为 false。
14 | protected override void Dispose(bool disposing)
15 | {
16 | if (disposing && (components != null))
17 | {
18 | components.Dispose();
19 | }
20 | base.Dispose(disposing);
21 | }
22 |
23 | #region 组件设计器生成的代码
24 |
25 | ///
26 | /// 设计器支持所需的方法 - 不要
27 | /// 使用代码编辑器修改此方法的内容。
28 | ///
29 | private void InitializeComponent()
30 | {
31 | this.components = new System.ComponentModel.Container();
32 | this.timer1 = new System.Windows.Forms.Timer(this.components);
33 | this.SuspendLayout();
34 | //
35 | // timer1
36 | //
37 | this.timer1.Enabled = true;
38 | this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
39 | //
40 | // UCSyringe
41 | //
42 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
43 | this.BackColor = System.Drawing.Color.Transparent;
44 | this.MinimumSize = new System.Drawing.Size(0, 100);
45 | this.Name = "UCSyringe";
46 | this.Size = new System.Drawing.Size(106, 182);
47 | this.ResumeLayout(false);
48 |
49 | }
50 |
51 | #endregion
52 |
53 | private System.Windows.Forms.Timer timer1;
54 | }
55 | }
56 |
--------------------------------------------------------------------------------
/HZH_Controls/HZH_Controls/Controls/FactoryControls/Turntable/UCTurntable.Designer.cs:
--------------------------------------------------------------------------------
1 | namespace HZH_Controls.Controls
2 | {
3 | partial class UCTurntable
4 | {
5 | ///
6 | /// 必需的设计器变量。
7 | ///
8 | private System.ComponentModel.IContainer components = null;
9 |
10 | ///
11 | /// 清理所有正在使用的资源。
12 | ///
13 | /// 如果应释放托管资源,为 true;否则为 false。
14 | protected override void Dispose(bool disposing)
15 | {
16 | if (disposing && (components != null))
17 | {
18 | components.Dispose();
19 | }
20 | base.Dispose(disposing);
21 | }
22 |
23 | #region 组件设计器生成的代码
24 |
25 | ///
26 | /// 设计器支持所需的方法 - 不要
27 | /// 使用代码编辑器修改此方法的内容。
28 | ///
29 | private void InitializeComponent()
30 | {
31 | this.SuspendLayout();
32 | //
33 | // UCTurntable
34 | //
35 | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
36 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
37 | this.Name = "UCTurntable";
38 | this.Size = new System.Drawing.Size(383, 127);
39 | this.ResumeLayout(false);
40 |
41 | }
42 |
43 | #endregion
44 | }
45 | }
46 |
--------------------------------------------------------------------------------
/HZH_Controls/HZH_Controls/Controls/GraphicalOverlay/GraphicalOverlayComponent.designer.cs:
--------------------------------------------------------------------------------
1 | namespace HZH_Controls.Controls
2 | {
3 | partial class GraphicalOverlayComponent
4 | {
5 | ///
6 | /// Required designer variable.
7 | ///
8 | private System.ComponentModel.IContainer components = null;
9 |
10 | ///
11 | /// Clean up any resources being used.
12 | ///
13 | /// true if managed resources should be disposed; otherwise, false.
14 | protected override void Dispose(bool disposing)
15 | {
16 | if (disposing && (components != null))
17 | {
18 | components.Dispose();
19 | }
20 | base.Dispose(disposing);
21 | }
22 |
23 | #region Component Designer generated code
24 |
25 | ///
26 | /// Required method for Designer support - do not modify
27 | /// the contents of this method with the code editor.
28 | ///
29 | private void InitializeComponent()
30 | {
31 | components = new System.ComponentModel.Container();
32 | }
33 |
34 | #endregion
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/HZH_Controls/HZH_Controls/Controls/List/IListViewItem.cs:
--------------------------------------------------------------------------------
1 | // ***********************************************************************
2 | // Assembly : HZH_Controls
3 | // Created : 08-22-2019
4 | //
5 | // ***********************************************************************
6 | //
7 | // Copyright by Huang Zhenghui(黄正辉) All, QQ group:568015492 QQ:623128629 Email:623128629@qq.com
8 | //
9 | //
10 | // Blog: https://www.cnblogs.com/bfyx
11 | // GitHub:https://github.com/kwwwvagaa/NetWinformControl
12 | // gitee:https://gitee.com/kwwwvagaa/net_winform_custom_control.git
13 | //
14 | // If you use this code, please keep this note.
15 | // ***********************************************************************
16 | using System;
17 | using System.Collections.Generic;
18 | using System.Linq;
19 | using System.Text;
20 |
21 | namespace HZH_Controls.Controls
22 | {
23 | ///
24 | /// Interface IListViewItem
25 | ///
26 | public interface IListViewItem
27 | {
28 | ///
29 | /// 数据源
30 | ///
31 | /// The data source.
32 | object DataSource { get; set; }
33 | ///
34 | /// 选中项事件
35 | ///
36 | event EventHandler SelectedItemEvent;
37 | ///
38 | /// 选中处理,一般用以更改选中效果
39 | ///
40 | /// 是否选中
41 | void SetSelected(bool blnSelected);
42 | }
43 | }
44 |
--------------------------------------------------------------------------------
/HZH_Controls/HZH_Controls/Controls/Menu/IMenuItem.cs:
--------------------------------------------------------------------------------
1 | // ***********************************************************************
2 | // Assembly : HZH_Controls
3 | // Created : 08-15-2019
4 | //
5 | // ***********************************************************************
6 | //
7 | // Copyright by Huang Zhenghui(黄正辉) All, QQ group:568015492 QQ:623128629 Email:623128629@qq.com
8 | //
9 | //
10 | // Blog: https://www.cnblogs.com/bfyx
11 | // GitHub:https://github.com/kwwwvagaa/NetWinformControl
12 | // gitee:https://gitee.com/kwwwvagaa/net_winform_custom_control.git
13 | //
14 | // If you use this code, please keep this note.
15 | // ***********************************************************************
16 | using System;
17 | using System.Collections.Generic;
18 | using System.Linq;
19 | using System.Text;
20 |
21 | namespace HZH_Controls.Controls
22 | {
23 | ///
24 | /// Interface IMenuItem
25 | ///
26 | public interface IMenuItem
27 | {
28 | ///
29 | /// Occurs when [selected item].
30 | ///
31 | event EventHandler SelectedItem;
32 | ///
33 | /// Gets or sets the data source.
34 | ///
35 | /// The data source.
36 | MenuItemEntity DataSource { get; set; }
37 | ///
38 | /// 设置样式
39 | ///
40 | /// key:属性名称,value:属性值
41 | void SetStyle(Dictionary styles);
42 | ///
43 | /// 设置选中样式
44 | ///
45 | /// 是否选中
46 | void SetSelectedStyle(bool? blnSelected);
47 | }
48 | }
49 |
--------------------------------------------------------------------------------
/HZH_Controls/HZH_Controls/Controls/Menu/MenuItemEntity.cs:
--------------------------------------------------------------------------------
1 | // ***********************************************************************
2 | // Assembly : HZH_Controls
3 | // Created : 08-15-2019
4 | //
5 | // ***********************************************************************
6 | //
7 | // Copyright by Huang Zhenghui(黄正辉) All, QQ group:568015492 QQ:623128629 Email:623128629@qq.com
8 | //
9 | //
10 | // Blog: https://www.cnblogs.com/bfyx
11 | // GitHub:https://github.com/kwwwvagaa/NetWinformControl
12 | // gitee:https://gitee.com/kwwwvagaa/net_winform_custom_control.git
13 | //
14 | // If you use this code, please keep this note.
15 | // ***********************************************************************
16 | using System;
17 | using System.Collections.Generic;
18 | using System.Linq;
19 | using System.Text;
20 |
21 | namespace HZH_Controls.Controls
22 | {
23 | ///
24 | /// Class MenuItemEntity.
25 | ///
26 | [Serializable]
27 | public class MenuItemEntity
28 | {
29 | ///
30 | /// 键
31 | ///
32 | /// The key.
33 | public string Key { get; set; }
34 | ///
35 | /// 文字
36 | ///
37 | /// The text.
38 | public string Text { get; set; }
39 | ///
40 | /// The m childrens
41 | ///
42 | private List m_childrens = new List();
43 | ///
44 | /// 子节点
45 | ///
46 | /// The childrens.
47 | public List Childrens
48 | {
49 | get
50 | {
51 | return m_childrens ?? (new List());
52 | }
53 | set
54 | {
55 | m_childrens = value;
56 | }
57 | }
58 | ///
59 | /// 自定义数据源,一般用于扩展展示,比如定义节点图片等
60 | ///
61 | /// The data source.
62 | public object DataSource { get; set; }
63 |
64 | }
65 | }
66 |
--------------------------------------------------------------------------------
/HZH_Controls/HZH_Controls/Controls/Navigation/CrumbNavigationClickEventArgs.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 |
6 | namespace HZH_Controls.Controls
7 | {
8 | public class CrumbNavigationClickEventArgs : EventArgs
9 | {
10 | public int Index { get; set; }
11 | public CrumbNavigationItem Item { get; set; }
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/HZH_Controls/HZH_Controls/Controls/Navigation/CrumbNavigationItem.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Drawing;
4 | using System.Linq;
5 | using System.Text;
6 |
7 | namespace HZH_Controls.Controls
8 | {
9 | public class CrumbNavigationItem
10 | {
11 | public string Key { get; set; }
12 | public string Text { get; set; }
13 | public Color? ItemColor { get; set; }
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/HZH_Controls/HZH_Controls/Controls/NavigationMenu/NavigationMenuItemExt.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 |
6 | namespace HZH_Controls.Controls
7 | {
8 | public class NavigationMenuItemExt : NavigationMenuItemBase
9 | {
10 | public System.Windows.Forms.Control ShowControl { get; set; }
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/HZH_Controls/HZH_Controls/Controls/NavigationMenu/UCNavigationMenu.Designer.cs:
--------------------------------------------------------------------------------
1 | namespace HZH_Controls.Controls
2 | {
3 | partial class UCNavigationMenu
4 | {
5 | ///
6 | /// 必需的设计器变量。
7 | ///
8 | private System.ComponentModel.IContainer components = null;
9 |
10 | ///
11 | /// 清理所有正在使用的资源。
12 | ///
13 | /// 如果应释放托管资源,为 true;否则为 false。
14 | protected override void Dispose(bool disposing)
15 | {
16 | if (disposing && (components != null))
17 | {
18 | components.Dispose();
19 | }
20 | base.Dispose(disposing);
21 | }
22 |
23 | #region 组件设计器生成的代码
24 |
25 | ///
26 | /// 设计器支持所需的方法 - 不要
27 | /// 使用代码编辑器修改此方法的内容。
28 | ///
29 | private void InitializeComponent()
30 | {
31 | this.SuspendLayout();
32 | //
33 | // UCNavigationMenu
34 | //
35 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
36 | this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(57)))), ((int)(((byte)(61)))), ((int)(((byte)(73)))));
37 | this.Font = new System.Drawing.Font("微软雅黑", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
38 | this.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
39 | this.Name = "UCNavigationMenu";
40 | this.Padding = new System.Windows.Forms.Padding(20, 0, 0, 0);
41 | this.Size = new System.Drawing.Size(529, 60);
42 | this.ResumeLayout(false);
43 |
44 | }
45 |
46 | #endregion
47 |
48 | }
49 | }
50 |
--------------------------------------------------------------------------------
/HZH_Controls/HZH_Controls/Controls/NavigationMenu/UCNavigationMenuExt.Designer.cs:
--------------------------------------------------------------------------------
1 | namespace HZH_Controls.Controls
2 | {
3 | partial class UCNavigationMenuExt
4 | {
5 | ///
6 | /// 必需的设计器变量。
7 | ///
8 | private System.ComponentModel.IContainer components = null;
9 |
10 | ///
11 | /// 清理所有正在使用的资源。
12 | ///
13 | /// 如果应释放托管资源,为 true;否则为 false。
14 | protected override void Dispose(bool disposing)
15 | {
16 | if (disposing && (components != null))
17 | {
18 | components.Dispose();
19 | }
20 | base.Dispose(disposing);
21 | }
22 |
23 | #region 组件设计器生成的代码
24 |
25 | ///
26 | /// 设计器支持所需的方法 - 不要
27 | /// 使用代码编辑器修改此方法的内容。
28 | ///
29 | private void InitializeComponent()
30 | {
31 | this.SuspendLayout();
32 | //
33 | // UCNavigationMenuExt
34 | //
35 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
36 | this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(57)))), ((int)(((byte)(61)))), ((int)(((byte)(73)))));
37 | this.Font = new System.Drawing.Font("微软雅黑", 11F);
38 | this.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
39 | this.Name = "UCNavigationMenuExt";
40 | this.Padding = new System.Windows.Forms.Padding(20, 0, 0, 0);
41 | this.Size = new System.Drawing.Size(529, 60);
42 | this.ResumeLayout(false);
43 |
44 | }
45 |
46 | #endregion
47 | }
48 | }
49 |
--------------------------------------------------------------------------------
/HZH_Controls/HZH_Controls/Controls/Page/PageControlEventHandler.cs:
--------------------------------------------------------------------------------
1 | // ***********************************************************************
2 | // Assembly : HZH_Controls
3 | // Created : 08-09-2019
4 | //
5 | // ***********************************************************************
6 | //
7 | // Copyright by Huang Zhenghui(黄正辉) All, QQ group:568015492 QQ:623128629 Email:623128629@qq.com
8 | //
9 | //
10 | // Blog: https://www.cnblogs.com/bfyx
11 | // GitHub:https://github.com/kwwwvagaa/NetWinformControl
12 | // gitee:https://gitee.com/kwwwvagaa/net_winform_custom_control.git
13 | //
14 | // If you use this code, please keep this note.
15 | // ***********************************************************************
16 | using System;
17 | using System.Collections.Generic;
18 | using System.Linq;
19 | using System.Runtime.InteropServices;
20 | using System.Text;
21 |
22 | namespace HZH_Controls.Controls
23 | {
24 | ///
25 | /// Delegate PageControlEventHandler
26 | ///
27 | /// The current source.
28 | [Serializable]
29 | [ComVisible(true)]
30 | public delegate void PageControlEventHandler(object currentSource);
31 | }
32 |
--------------------------------------------------------------------------------
/HZH_Controls/HZH_Controls/Controls/Page/PageModel.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 |
6 | namespace HZH_Controls.Controls
7 | {
8 | ///
9 | /// 翻页控件类型
10 | ///
11 | public enum PageModel
12 | {
13 | ///
14 | /// 数据模式
15 | ///
16 | Soure,
17 | ///
18 | /// 总页数模式
19 | ///
20 | PageCount
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/HZH_Controls/HZH_Controls/Controls/Process/UCProcessEllipse.Designer.cs:
--------------------------------------------------------------------------------
1 | // ***********************************************************************
2 | // Assembly : HZH_Controls
3 | // Created : 08-17-2019
4 | //
5 | // ***********************************************************************
6 | //
7 | // Copyright by Huang Zhenghui(黄正辉) All, QQ group:568015492 QQ:623128629 Email:623128629@qq.com
8 | //
9 | //
10 | // Blog: https://www.cnblogs.com/bfyx
11 | // GitHub:https://github.com/kwwwvagaa/NetWinformControl
12 | // gitee:https://gitee.com/kwwwvagaa/net_winform_custom_control.git
13 | //
14 | // If you use this code, please keep this note.
15 | // ***********************************************************************
16 | namespace HZH_Controls.Controls
17 | {
18 | ///
19 | /// Class UCProcessEllipse.
20 | /// Implements the
21 | ///
22 | ///
23 | partial class UCProcessEllipse
24 | {
25 | ///
26 | /// 必需的设计器变量。
27 | ///
28 | private System.ComponentModel.IContainer components = null;
29 |
30 | ///
31 | /// 清理所有正在使用的资源。
32 | ///
33 | /// 如果应释放托管资源,为 true;否则为 false。
34 | protected override void Dispose(bool disposing)
35 | {
36 | if (disposing && (components != null))
37 | {
38 | components.Dispose();
39 | }
40 | base.Dispose(disposing);
41 | }
42 |
43 | #region 组件设计器生成的代码
44 |
45 | ///
46 | /// 设计器支持所需的方法 - 不要
47 | /// 使用代码编辑器修改此方法的内容。
48 | ///
49 | private void InitializeComponent()
50 | {
51 | this.SuspendLayout();
52 | //
53 | // UCProcessEllipse
54 | //
55 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
56 | this.Name = "UCProcessEllipse";
57 | this.ResumeLayout(false);
58 |
59 | }
60 |
61 | #endregion
62 | }
63 | }
64 |
--------------------------------------------------------------------------------
/HZH_Controls/HZH_Controls/Controls/ScrollBar/ScrollbarControlDesigner.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.ComponentModel;
4 | using System.Linq;
5 | using System.Text;
6 | using System.Windows.Forms.Design;
7 |
8 | namespace HZH_Controls.Controls
9 | {
10 | ///
11 | /// Class ScrollbarControlDesigner.
12 | /// Implements the
13 | ///
14 | ///
15 | internal class ScrollbarControlDesigner : System.Windows.Forms.Design.ControlDesigner
16 | {
17 | ///
18 | /// 获取指示组件的移动功能的选择规则。
19 | ///
20 | /// The selection rules.
21 | public override SelectionRules SelectionRules
22 | {
23 | get
24 | {
25 | SelectionRules selectionRules = base.SelectionRules;
26 | PropertyDescriptor propDescriptor = TypeDescriptor.GetProperties(this.Component)["AutoSize"];
27 | if (propDescriptor != null)
28 | {
29 | bool autoSize = (bool)propDescriptor.GetValue(this.Component);
30 | if (autoSize)
31 | {
32 | selectionRules = SelectionRules.Visible | SelectionRules.Moveable | SelectionRules.BottomSizeable | SelectionRules.TopSizeable;
33 | }
34 | else
35 | {
36 | selectionRules = SelectionRules.Visible | SelectionRules.AllSizeable | SelectionRules.Moveable;
37 | }
38 | }
39 | return selectionRules;
40 | }
41 | }
42 | }
43 | }
44 |
--------------------------------------------------------------------------------
/HZH_Controls/HZH_Controls/Controls/ScrollBar/UCVScrollbar.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kwwwvagaa/NetWinformControl/745462d1c740922257bef8bbdcccbdd2a8a0351d/HZH_Controls/HZH_Controls/Controls/ScrollBar/UCVScrollbar.cs
--------------------------------------------------------------------------------
/HZH_Controls/HZH_Controls/Controls/Split/UCSplitLine_H.cs:
--------------------------------------------------------------------------------
1 | // ***********************************************************************
2 | // Assembly : HZH_Controls
3 | // Created : 08-08-2019
4 | //
5 | // ***********************************************************************
6 | //
7 | // Copyright by Huang Zhenghui(黄正辉) All, QQ group:568015492 QQ:623128629 Email:623128629@qq.com
8 | //
9 | //
10 | // Blog: https://www.cnblogs.com/bfyx
11 | // GitHub:https://github.com/kwwwvagaa/NetWinformControl
12 | // gitee:https://gitee.com/kwwwvagaa/net_winform_custom_control.git
13 | //
14 | // If you use this code, please keep this note.
15 | // ***********************************************************************
16 | using System;
17 | using System.Collections.Generic;
18 | using System.ComponentModel;
19 | using System.Drawing;
20 | using System.Data;
21 | using System.Linq;
22 | using System.Text;
23 | using System.Windows.Forms;
24 |
25 | namespace HZH_Controls.Controls
26 | {
27 | ///
28 | /// Class UCSplitLine_H.
29 | /// Implements the
30 | ///
31 | ///
32 | public partial class UCSplitLine_H : UserControl
33 | {
34 | ///
35 | /// Initializes a new instance of the class.
36 | ///
37 | public UCSplitLine_H()
38 | {
39 | InitializeComponent();
40 | this.TabStop = false;
41 | }
42 | }
43 | }
44 |
--------------------------------------------------------------------------------
/HZH_Controls/HZH_Controls/Controls/Split/UCSplitLine_V.cs:
--------------------------------------------------------------------------------
1 | // ***********************************************************************
2 | // Assembly : HZH_Controls
3 | // Created : 08-08-2019
4 | //
5 | // ***********************************************************************
6 | //
7 | // Copyright by Huang Zhenghui(黄正辉) All, QQ group:568015492 QQ:623128629 Email:623128629@qq.com
8 | //
9 | //
10 | // Blog: https://www.cnblogs.com/bfyx
11 | // GitHub:https://github.com/kwwwvagaa/NetWinformControl
12 | // gitee:https://gitee.com/kwwwvagaa/net_winform_custom_control.git
13 | //
14 | // If you use this code, please keep this note.
15 | // ***********************************************************************
16 | using System;
17 | using System.Collections.Generic;
18 | using System.ComponentModel;
19 | using System.Drawing;
20 | using System.Data;
21 | using System.Linq;
22 | using System.Text;
23 | using System.Windows.Forms;
24 |
25 | namespace HZH_Controls.Controls
26 | {
27 | ///
28 | /// Class UCSplitLine_V.
29 | /// Implements the
30 | ///
31 | ///
32 | public partial class UCSplitLine_V : UserControl
33 | {
34 | ///
35 | /// Initializes a new instance of the class.
36 | ///
37 | public UCSplitLine_V()
38 | {
39 | InitializeComponent();
40 | this.TabStop = false;
41 | }
42 | }
43 | }
44 |
--------------------------------------------------------------------------------
/HZH_Controls/HZH_Controls/Controls/Text/KeyBoardType.cs:
--------------------------------------------------------------------------------
1 | // ***********************************************************************
2 | // Assembly : HZH_Controls
3 | // Created : 08-08-2019
4 | //
5 | // ***********************************************************************
6 | //
7 | // Copyright by Huang Zhenghui(黄正辉) All, QQ group:568015492 QQ:623128629 Email:623128629@qq.com
8 | //
9 | //
10 | // Blog: https://www.cnblogs.com/bfyx
11 | // GitHub:https://github.com/kwwwvagaa/NetWinformControl
12 | // gitee:https://gitee.com/kwwwvagaa/net_winform_custom_control.git
13 | //
14 | // If you use this code, please keep this note.
15 | // ***********************************************************************
16 | using System;
17 | using System.Collections.Generic;
18 | using System.Linq;
19 | using System.Text;
20 |
21 | namespace HZH_Controls.Controls
22 | {
23 | ///
24 | /// Enum KeyBoardType
25 | ///
26 | public enum KeyBoardType
27 | {
28 | ///
29 | /// The null
30 | ///
31 | Null = 1,
32 | ///
33 | /// The uc key border all en
34 | ///
35 | UCKeyBorderAll_EN = 2,
36 | ///
37 | /// The uc key border all number
38 | ///
39 | UCKeyBorderAll_Num = 4,
40 | ///
41 | /// The uc key border number
42 | ///
43 | UCKeyBorderNum = 8,
44 | ///
45 | /// The uc key border hand
46 | ///
47 | UCKeyBorderHand = 16
48 | }
49 | }
50 |
--------------------------------------------------------------------------------
/HZH_Controls/HZH_Controls/Controls/Text/TextBoxEx.Designer.cs:
--------------------------------------------------------------------------------
1 | // ***********************************************************************
2 | // Assembly : HZH_Controls
3 | // Created : 08-08-2019
4 | //
5 | // ***********************************************************************
6 | //
7 | // Copyright by Huang Zhenghui(黄正辉) All, QQ group:568015492 QQ:623128629 Email:623128629@qq.com
8 | //
9 | //
10 | // Blog: https://www.cnblogs.com/bfyx
11 | // GitHub:https://github.com/kwwwvagaa/NetWinformControl
12 | // gitee:https://gitee.com/kwwwvagaa/net_winform_custom_control.git
13 | //
14 | // If you use this code, please keep this note.
15 | // ***********************************************************************
16 | namespace HZH_Controls.Controls
17 | {
18 | ///
19 | /// Class TextBoxEx.
20 | /// Implements the
21 | ///
22 | ///
23 | partial class TextBoxEx
24 | {
25 | ///
26 | /// 必需的设计器变量。
27 | ///
28 | private System.ComponentModel.IContainer components = null;
29 |
30 | ///
31 | /// 清理所有正在使用的资源。
32 | ///
33 | /// 如果应释放托管资源,为 true;否则为 false。
34 | protected override void Dispose(bool disposing)
35 | {
36 | if (disposing && (components != null))
37 | {
38 | components.Dispose();
39 | }
40 | base.Dispose(disposing);
41 | }
42 |
43 | #region 组件设计器生成的代码
44 |
45 | ///
46 | /// 设计器支持所需的方法 - 不要
47 | /// 使用代码编辑器修改此方法的内容。
48 | ///
49 | private void InitializeComponent()
50 | {
51 | components = new System.ComponentModel.Container();
52 | }
53 |
54 | #endregion
55 | }
56 | }
57 |
--------------------------------------------------------------------------------
/HZH_Controls/HZH_Controls/Controls/TimeLine/UCTimeLine.Designer.cs:
--------------------------------------------------------------------------------
1 | namespace HZH_Controls.Controls
2 | {
3 | partial class UCTimeLine
4 | {
5 | ///
6 | /// 必需的设计器变量。
7 | ///
8 | private System.ComponentModel.IContainer components = null;
9 |
10 | ///
11 | /// 清理所有正在使用的资源。
12 | ///
13 | /// 如果应释放托管资源,为 true;否则为 false。
14 | protected override void Dispose(bool disposing)
15 | {
16 | if (disposing && (components != null))
17 | {
18 | components.Dispose();
19 | }
20 | base.Dispose(disposing);
21 | }
22 |
23 | #region 组件设计器生成的代码
24 |
25 | ///
26 | /// 设计器支持所需的方法 - 不要
27 | /// 使用代码编辑器修改此方法的内容。
28 | ///
29 | private void InitializeComponent()
30 | {
31 | this.SuspendLayout();
32 | //
33 | // UCTimeLine
34 | //
35 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
36 | this.AutoScroll = true;
37 | this.Name = "UCTimeLine";
38 | this.Padding = new System.Windows.Forms.Padding(30, 0, 0, 0);
39 | this.Size = new System.Drawing.Size(673, 377);
40 | this.ResumeLayout(false);
41 |
42 | }
43 |
44 | #endregion
45 |
46 | }
47 | }
48 |
--------------------------------------------------------------------------------
/HZH_Controls/HZH_Controls/Controls/ToolStripRendererEx/InterpolationModeGraphics.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 | using System.Drawing.Drawing2D;
5 | using System.Drawing;
6 |
7 | namespace HZH_Controls.Controls
8 | {
9 | public class InterpolationModeGraphics : IDisposable
10 | {
11 | private InterpolationMode _oldMode;
12 | private Graphics _graphics;
13 |
14 | public InterpolationModeGraphics(Graphics graphics)
15 | : this(graphics, InterpolationMode.HighQualityBicubic)
16 | {
17 | }
18 |
19 | public InterpolationModeGraphics(
20 | Graphics graphics, InterpolationMode newMode)
21 | {
22 | _graphics = graphics;
23 | _oldMode = graphics.InterpolationMode;
24 | graphics.InterpolationMode = newMode;
25 | }
26 |
27 | #region IDisposable 成员
28 |
29 | public void Dispose()
30 | {
31 | _graphics.InterpolationMode = _oldMode;
32 | }
33 |
34 | #endregion
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/HZH_Controls/HZH_Controls/Controls/ToolStripRendererEx/RegionHelper.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 | using System.Drawing.Drawing2D;
5 | using System.Drawing;
6 | using System.Windows.Forms;
7 |
8 | namespace HZH_Controls.Controls
9 | {
10 | public static class RegionHelper
11 | {
12 | public static void CreateRegion(
13 | Control control,
14 | Rectangle bounds,
15 | int radius,
16 | RoundStyle roundStyle)
17 | {
18 | using (GraphicsPath path =
19 | GraphicsPathHelper.CreatePath(
20 | bounds, radius, roundStyle, true))
21 | {
22 | Region region = new Region(path);
23 | path.Widen(Pens.White);
24 | region.Union(path);
25 | if (control.Region != null)
26 | {
27 | control.Region.Dispose();
28 | }
29 | control.Region = region;
30 | }
31 | }
32 |
33 | public static void CreateRegion(
34 | Control control,
35 | Rectangle bounds,
36 | int radius)
37 | {
38 | CreateRegion(control, bounds, radius, RoundStyle.All);
39 | }
40 | }
41 | }
42 |
--------------------------------------------------------------------------------
/HZH_Controls/HZH_Controls/Controls/ToolStripRendererEx/RoundStyle.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace HZH_Controls.Controls
6 | {
7 | ///
8 | /// 建立圆角路径的样式。
9 | ///
10 | public enum RoundStyle
11 | {
12 | ///
13 | /// 四个角都不是圆角。
14 | ///
15 | None = 0,
16 | ///
17 | /// 四个角都为圆角。
18 | ///
19 | All = 1,
20 | ///
21 | /// 左边两个角为圆角。
22 | ///
23 | Left = 2,
24 | ///
25 | /// 右边两个角为圆角。
26 | ///
27 | Right = 3,
28 | ///
29 | /// 上边两个角为圆角。
30 | ///
31 | Top = 4,
32 | ///
33 | /// 下边两个角为圆角。
34 | ///
35 | Bottom = 5,
36 | ///
37 | /// 左下角为圆角。
38 | ///
39 | BottomLeft = 6,
40 | ///
41 | /// 右下角为圆角。
42 | ///
43 | BottomRight = 7,
44 | }
45 | }
46 |
--------------------------------------------------------------------------------
/HZH_Controls/HZH_Controls/Controls/ToolStripRendererEx/SmoothingModeGraphics.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 | using System.Drawing;
5 | using System.Drawing.Drawing2D;
6 |
7 | namespace HZH_Controls.Controls
8 | {
9 |
10 | public class SmoothingModeGraphics : IDisposable
11 | {
12 | private SmoothingMode _oldMode;
13 | private Graphics _graphics;
14 |
15 | public SmoothingModeGraphics(Graphics graphics)
16 | : this(graphics, SmoothingMode.AntiAlias)
17 | {
18 | }
19 |
20 | public SmoothingModeGraphics(Graphics graphics, SmoothingMode newMode)
21 | {
22 | _graphics = graphics;
23 | _oldMode = graphics.SmoothingMode;
24 | graphics.SmoothingMode = newMode;
25 | }
26 |
27 | #region IDisposable 成员
28 |
29 | public void Dispose()
30 | {
31 | _graphics.SmoothingMode = _oldMode;
32 | }
33 |
34 | #endregion
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/HZH_Controls/HZH_Controls/Controls/ToolStripRendererEx/TextRenderingHintGraphics.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 | using System.Drawing;
5 | using System.Drawing.Text;
6 |
7 | namespace HZH_Controls.Controls
8 | {
9 |
10 | internal class TextRenderingHintGraphics : IDisposable
11 | {
12 | private Graphics _graphics;
13 | private TextRenderingHint _oldTextRenderingHint;
14 |
15 | public TextRenderingHintGraphics(Graphics graphics)
16 | : this(graphics, TextRenderingHint.AntiAlias)
17 | {
18 | }
19 |
20 | public TextRenderingHintGraphics(
21 | Graphics graphics,
22 | TextRenderingHint newTextRenderingHint)
23 | {
24 | _graphics = graphics;
25 | _oldTextRenderingHint = graphics.TextRenderingHint;
26 | _graphics.TextRenderingHint = newTextRenderingHint;
27 | }
28 |
29 | #region IDisposable 成员
30 |
31 | public void Dispose()
32 | {
33 | _graphics.TextRenderingHint = _oldTextRenderingHint;
34 | }
35 |
36 | #endregion
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/HZH_Controls/HZH_Controls/Controls/ToolStripRendererEx/ToolStripColorTable.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 | using System.Drawing;
5 |
6 | namespace HZH_Controls.Controls
7 | {
8 |
9 | public class ToolStripColorTable
10 | {
11 | private static readonly Color _base = Color.FromArgb(49, 56, 82);
12 | private static readonly Color _border = Color.FromArgb(49, 56, 82);
13 | private static readonly Color _backNormal = Color.FromArgb(49, 56, 82);
14 | private static readonly Color _backHover = Color.FromArgb(29, 33, 49);
15 | private static readonly Color _backPressed = Color.FromArgb(29, 33, 49);
16 | private static readonly Color _fore = Color.FromArgb(175, 193, 225);
17 | private static readonly Color _dropDownImageBack = Color.FromArgb(49, 56, 82);
18 | private static readonly Color _dropDownImageSeparator = Color.FromArgb(49, 56, 82);
19 |
20 | public ToolStripColorTable() { }
21 |
22 | public virtual Color Base
23 | {
24 | get { return _base; }
25 | }
26 |
27 | public virtual Color Border
28 | {
29 | get { return _border; }
30 | }
31 |
32 | public virtual Color BackNormal
33 | {
34 | get { return _backNormal; }
35 | }
36 |
37 | public virtual Color BackHover
38 | {
39 | get { return _backHover; }
40 | }
41 |
42 | public virtual Color BackPressed
43 | {
44 | get { return _backPressed; }
45 | }
46 |
47 | public virtual Color Fore
48 | {
49 | get { return _fore; }
50 | }
51 |
52 | public virtual Color DropDownImageBack
53 | {
54 | get { return _dropDownImageBack; }
55 | }
56 |
57 | public virtual Color DropDownImageSeparator
58 | {
59 | get { return _dropDownImageSeparator; }
60 | }
61 | }
62 | }
63 |
--------------------------------------------------------------------------------
/HZH_Controls/HZH_Controls/Controls/Transfer/TransferEventArgs.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 |
6 | namespace HZH_Controls.Controls
7 | {
8 | public class TransferEventArgs : EventArgs
9 | {
10 | public object[] TransferDataSource { get; set; }
11 | ///
12 | /// true:right false:left
13 | ///
14 | /// true if [to right or left]; otherwise, false.
15 | public bool ToRightOrLeft { get; set; }
16 | }
17 | public delegate void TransferEventHandler(object sender,TransferEventArgs e);
18 |
19 | }
20 |
--------------------------------------------------------------------------------
/HZH_Controls/HZH_Controls/Controls/Verification/VerificationAttribute.cs:
--------------------------------------------------------------------------------
1 | // ***********************************************************************
2 | // Assembly : HZH_Controls
3 | // Created : 2019-09-27
4 | //
5 | // ***********************************************************************
6 | //
7 | // Copyright by Huang Zhenghui(黄正辉) All, QQ group:568015492 QQ:623128629 Email:623128629@qq.com
8 | //
9 | //
10 | // Blog: https://www.cnblogs.com/bfyx
11 | // GitHub:https://github.com/kwwwvagaa/NetWinformControl
12 | // gitee:https://gitee.com/kwwwvagaa/net_winform_custom_control.git
13 | //
14 | // If you use this code, please keep this note.
15 | // ***********************************************************************
16 | using System;
17 | using System.Collections.Generic;
18 | using System.Linq;
19 | using System.Text;
20 |
21 | namespace HZH_Controls.Controls
22 | {
23 | ///
24 | /// Class VerificationAttribute.
25 | /// Implements the
26 | ///
27 | ///
28 | public class VerificationAttribute : Attribute
29 | {
30 | ///
31 | /// Initializes a new instance of the class.
32 | ///
33 | /// The string regex.
34 | /// The string error MSG.
35 | public VerificationAttribute(string strRegex = "", string strErrorMsg = "")
36 | {
37 | Regex = strRegex;
38 | ErrorMsg = strErrorMsg;
39 | }
40 | ///
41 | /// Gets or sets the regex.
42 | ///
43 | /// The regex.
44 | public string Regex { get; set; }
45 | ///
46 | /// Gets or sets the error MSG.
47 | ///
48 | /// The error MSG.
49 | public string ErrorMsg { get; set; }
50 |
51 | }
52 | }
53 |
--------------------------------------------------------------------------------
/HZH_Controls/HZH_Controls/Forms/FrmLoading.Designer.cs:
--------------------------------------------------------------------------------
1 | namespace HZH_Controls.Forms
2 | {
3 | partial class FrmLoading
4 | {
5 | ///
6 | /// Required designer variable.
7 | ///
8 | private System.ComponentModel.IContainer components = null;
9 |
10 | ///
11 | /// Clean up any resources being used.
12 | ///
13 | /// true if managed resources should be disposed; otherwise, false.
14 | protected override void Dispose(bool disposing)
15 | {
16 | if (disposing && (components != null))
17 | {
18 | components.Dispose();
19 | }
20 | base.Dispose(disposing);
21 | }
22 |
23 | #region Windows Form Designer generated code
24 |
25 | ///
26 | /// Required method for Designer support - do not modify
27 | /// the contents of this method with the code editor.
28 | ///
29 | private void InitializeComponent()
30 | {
31 | this.SuspendLayout();
32 | //
33 | // FrmLoading
34 | //
35 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
36 | this.ClientSize = new System.Drawing.Size(396, 322);
37 | this.IsFullSize = false;
38 | this.Name = "FrmLoading";
39 | this.Text = "FrmLoading";
40 | this.Load += new System.EventHandler(this.FrmLoading_Load);
41 | this.ResumeLayout(false);
42 |
43 | }
44 |
45 | #endregion
46 | }
47 | }
--------------------------------------------------------------------------------
/HZH_Controls/HZH_Controls/HZH_Controls.nuspec:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | $id$
5 | 1.0.14
6 | HZHControls
7 | HuangZhengHui
8 | HuangZhengHui
9 | https://www.apache.org/licenses/LICENSE-2.0.html
10 | https://gitee.com/kwwwvagaa/net_winform_custom_control
11 | http://ICON_URL_HERE_OR_DELETE_THIS_LINE
12 | true
13 | C# winfrom custom control, has better operation support for touch screen. The project is based on framework 4.0, completely native control development, without using any third-party control, you can rest assured that it is used in your project.
14 |
15 | Copyright 2019
16 | c# winfrom custom control HZH_Controls HZHControls
17 |
18 |
--------------------------------------------------------------------------------
/HZH_Controls/HZH_Controls/HandInput/HandInput.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kwwwvagaa/NetWinformControl/745462d1c740922257bef8bbdcccbdd2a8a0351d/HZH_Controls/HZH_Controls/HandInput/HandInput.dll
--------------------------------------------------------------------------------
/HZH_Controls/HZH_Controls/HandInput/HandInput64.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kwwwvagaa/NetWinformControl/745462d1c740922257bef8bbdcccbdd2a8a0351d/HZH_Controls/HZH_Controls/HandInput/HandInput64.dll
--------------------------------------------------------------------------------
/HZH_Controls/HZH_Controls/HandInput/certificate:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kwwwvagaa/NetWinformControl/745462d1c740922257bef8bbdcccbdd2a8a0351d/HZH_Controls/HZH_Controls/HandInput/certificate
--------------------------------------------------------------------------------
/HZH_Controls/HZH_Controls/HandInput/certificate64:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kwwwvagaa/NetWinformControl/745462d1c740922257bef8bbdcccbdd2a8a0351d/HZH_Controls/HZH_Controls/HandInput/certificate64
--------------------------------------------------------------------------------
/HZH_Controls/HZH_Controls/HandInput/handinput.cupf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kwwwvagaa/NetWinformControl/745462d1c740922257bef8bbdcccbdd2a8a0351d/HZH_Controls/HZH_Controls/HandInput/handinput.cupf
--------------------------------------------------------------------------------
/HZH_Controls/HZH_Controls/HandInput/handinput.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kwwwvagaa/NetWinformControl/745462d1c740922257bef8bbdcccbdd2a8a0351d/HZH_Controls/HZH_Controls/HandInput/handinput.exe
--------------------------------------------------------------------------------
/HZH_Controls/HZH_Controls/HandInput/handinput.ini:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kwwwvagaa/NetWinformControl/745462d1c740922257bef8bbdcccbdd2a8a0351d/HZH_Controls/HZH_Controls/HandInput/handinput.ini
--------------------------------------------------------------------------------
/HZH_Controls/HZH_Controls/HandInput/icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kwwwvagaa/NetWinformControl/745462d1c740922257bef8bbdcccbdd2a8a0351d/HZH_Controls/HZH_Controls/HandInput/icon.png
--------------------------------------------------------------------------------
/HZH_Controls/HZH_Controls/HandInput/lm_HW_PB_7000_kn.arpa.7e9.prune.1e-7.lm.fixed:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kwwwvagaa/NetWinformControl/745462d1c740922257bef8bbdcccbdd2a8a0351d/HZH_Controls/HZH_Controls/HandInput/lm_HW_PB_7000_kn.arpa.7e9.prune.1e-7.lm.fixed
--------------------------------------------------------------------------------
/HZH_Controls/HZH_Controls/HandInput/overlapEngine.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kwwwvagaa/NetWinformControl/745462d1c740922257bef8bbdcccbdd2a8a0351d/HZH_Controls/HZH_Controls/HandInput/overlapEngine.dll
--------------------------------------------------------------------------------
/HZH_Controls/HZH_Controls/HandInput/sgim_annex.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kwwwvagaa/NetWinformControl/745462d1c740922257bef8bbdcccbdd2a8a0351d/HZH_Controls/HZH_Controls/HandInput/sgim_annex.bin
--------------------------------------------------------------------------------
/HZH_Controls/HZH_Controls/HandInput/sgim_hz.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kwwwvagaa/NetWinformControl/745462d1c740922257bef8bbdcccbdd2a8a0351d/HZH_Controls/HZH_Controls/HandInput/sgim_hz.bin
--------------------------------------------------------------------------------
/HZH_Controls/HZH_Controls/HandInput/sgim_py.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kwwwvagaa/NetWinformControl/745462d1c740922257bef8bbdcccbdd2a8a0351d/HZH_Controls/HZH_Controls/HandInput/sgim_py.bin
--------------------------------------------------------------------------------
/HZH_Controls/HZH_Controls/HandInput/singleEngine.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kwwwvagaa/NetWinformControl/745462d1c740922257bef8bbdcccbdd2a8a0351d/HZH_Controls/HZH_Controls/HandInput/singleEngine.dll
--------------------------------------------------------------------------------
/HZH_Controls/HZH_Controls/Helpers/GraphDirection.cs:
--------------------------------------------------------------------------------
1 | // ***********************************************************************
2 | // Assembly : HZH_Controls
3 | // Created : 2019-09-17
4 | //
5 | // ***********************************************************************
6 | //
7 | // Copyright by Huang Zhenghui(黄正辉) All, QQ group:568015492 QQ:623128629 Email:623128629@qq.com
8 | //
9 | //
10 | // Blog: https://www.cnblogs.com/bfyx
11 | // GitHub:https://github.com/kwwwvagaa/NetWinformControl
12 | // gitee:https://gitee.com/kwwwvagaa/net_winform_custom_control.git
13 | //
14 | // If you use this code, please keep this note.
15 | // ***********************************************************************
16 | using System;
17 | using System.Collections.Generic;
18 | using System.Linq;
19 | using System.Text;
20 |
21 | namespace HZH_Controls
22 | {
23 | ///
24 | /// Enum GraphDirection
25 | ///
26 | public enum GraphDirection
27 | {
28 | ///
29 | /// The upward
30 | ///
31 | Upward = 1,
32 | ///
33 | /// The downward
34 | ///
35 | Downward,
36 | ///
37 | /// The leftward
38 | ///
39 | Leftward,
40 | ///
41 | /// The rightward
42 | ///
43 | Rightward
44 | }
45 | }
46 |
--------------------------------------------------------------------------------
/HZH_Controls/HZH_Controls/Helpers/ITheme.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Drawing;
6 |
7 | namespace HZH_Controls
8 | {
9 | public interface ITheme
10 | {
11 | ///
12 | /// 重置主题
13 | ///
14 | ///
15 | void ResetTheme(ThemeEntity theme);
16 | ///
17 | /// 是否禁用一键换肤,默认禁用
18 | ///
19 | bool EnabledTheme { get; set; }
20 | }
21 |
22 | public class ThemeEntity
23 | {
24 | ///
25 | /// 边框颜色
26 | ///
27 | public Color? BorderColor { get; set; }
28 | ///
29 | /// 填充颜色
30 | ///
31 | public Color? FillColor { get; set; }
32 | ///
33 | /// 背景色
34 | ///
35 | public Color? BackColor { get; set; }
36 | ///
37 | /// 前景色
38 | ///
39 | public Color? ForeColor { get; set; }
40 | ///
41 | /// 字体颜色
42 | ///
43 | public Color? FontColor { get; set; }
44 | ///
45 | /// 选中颜色
46 | ///
47 | public Color? SelectedColor { get; set; }
48 | ///
49 | /// 选中字体颜色
50 | ///
51 | public Color? SelectedFontColor { get; set; }
52 | }
53 | }
54 |
--------------------------------------------------------------------------------
/HZH_Controls/HZH_Controls/Helpers/TextInputType.cs:
--------------------------------------------------------------------------------
1 | // ***********************************************************************
2 | // Assembly : HZH_Controls
3 | // Created : 08-08-2019
4 | //
5 | // ***********************************************************************
6 | //
7 | // Copyright by Huang Zhenghui(黄正辉) All, QQ group:568015492 QQ:623128629 Email:623128629@qq.com
8 | //
9 | //
10 | // Blog: https://www.cnblogs.com/bfyx
11 | // GitHub:https://github.com/kwwwvagaa/NetWinformControl
12 | // gitee:https://gitee.com/kwwwvagaa/net_winform_custom_control.git
13 | //
14 | // If you use this code, please keep this note.
15 | // ***********************************************************************
16 | using System;
17 | using System.Collections.Generic;
18 | using System.ComponentModel;
19 | using System.Linq;
20 | using System.Text;
21 |
22 | namespace HZH_Controls
23 | {
24 | ///
25 | /// 功能描述:文本控件输入类型
26 | /// 作 者:HZH
27 | /// 创建日期:2019-02-28 10:09:00
28 | ///
29 | public enum TextInputType
30 | {
31 | ///
32 | /// 不控制输入
33 | ///
34 | [Description("不控制输入")]
35 | NotControl = 1,
36 | ///
37 | /// 任意数字
38 | ///
39 | [Description("任意数字")]
40 | Number = 2,
41 | ///
42 | /// 非负数
43 | ///
44 | [Description("非负数")]
45 | UnsignNumber = 4,
46 | ///
47 | /// 正数
48 | ///
49 | [Description("正数")]
50 | PositiveNumber = 8,
51 | ///
52 | /// 整数
53 | ///
54 | [Description("整数")]
55 | Integer = 16,
56 | ///
57 | /// 非负整数
58 | ///
59 | [Description("非负整数")]
60 | PositiveInteger = 32,
61 | ///
62 | /// 正则验证
63 | ///
64 | [Description("正则验证")]
65 | Regex = 64
66 | }
67 | }
68 |
--------------------------------------------------------------------------------
/HZH_Controls/HZH_Controls/IconFont/ElegantIcons.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kwwwvagaa/NetWinformControl/745462d1c740922257bef8bbdcccbdd2a8a0351d/HZH_Controls/HZH_Controls/IconFont/ElegantIcons.ttf
--------------------------------------------------------------------------------
/HZH_Controls/HZH_Controls/IconFont/FontAwesome.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kwwwvagaa/NetWinformControl/745462d1c740922257bef8bbdcccbdd2a8a0351d/HZH_Controls/HZH_Controls/IconFont/FontAwesome.ttf
--------------------------------------------------------------------------------
/HZH_Controls/HZH_Controls/IconFont/FontImages.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kwwwvagaa/NetWinformControl/745462d1c740922257bef8bbdcccbdd2a8a0351d/HZH_Controls/HZH_Controls/IconFont/FontImages.cs
--------------------------------------------------------------------------------
/HZH_Controls/HZH_Controls/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | // ***********************************************************************
2 | // Assembly : HZH_Controls
3 | // Created : 08-08-2019
4 | //
5 | // ***********************************************************************
6 | //
7 | // Copyright by Huang Zhenghui(黄正辉) All, QQ group:568015492 QQ:623128629 Email:623128629@qq.com
8 | //
9 | //
10 | // Blog: https://www.cnblogs.com/bfyx
11 | // GitHub:https://github.com/kwwwvagaa/NetWinformControl
12 | // gitee:https://gitee.com/kwwwvagaa/net_winform_custom_control.git
13 | //
14 | // If you use this code, please keep this note.
15 | // ***********************************************************************
16 | using System.Reflection;
17 | using System.Runtime.CompilerServices;
18 | using System.Runtime.InteropServices;
19 |
20 | // 有关程序集的常规信息通过以下
21 | // 特性集控制。更改这些特性值可修改
22 | // 与程序集关联的信息。
23 | [assembly: AssemblyTitle("HZH_Controls")]
24 | [assembly: AssemblyDescription("")]
25 | [assembly: AssemblyConfiguration("")]
26 | [assembly: AssemblyCompany("Microsoft")]
27 | [assembly: AssemblyProduct("HZH_Controls")]
28 | [assembly: AssemblyCopyright("Copyright © Microsoft 2019")]
29 | [assembly: AssemblyTrademark("")]
30 | [assembly: AssemblyCulture("")]
31 |
32 | // 将 ComVisible 设置为 false 使此程序集中的类型
33 | // 对 COM 组件不可见。 如果需要从 COM 访问此程序集中的类型,
34 | // 则将该类型上的 ComVisible 特性设置为 true。
35 | [assembly: ComVisible(false)]
36 |
37 | // 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID
38 | [assembly: Guid("0f46572d-7e22-42ab-b2b1-123b075c2a1d")]
39 |
40 | // 程序集的版本信息由下面四个值组成:
41 | //
42 | // 主版本
43 | // 次版本
44 | // 生成号
45 | // 修订号
46 | //
47 | // 可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值,
48 | // 方法是按如下所示使用“*”:
49 | // [assembly: AssemblyVersion("1.0.*")]
50 | [assembly: AssemblyVersion("1.0.0.0")]
51 | [assembly: AssemblyFileVersion("1.0.0.0")]
52 |
--------------------------------------------------------------------------------
/HZH_Controls/HZH_Controls/Resources/ComboBox.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kwwwvagaa/NetWinformControl/745462d1c740922257bef8bbdcccbdd2a8a0351d/HZH_Controls/HZH_Controls/Resources/ComboBox.png
--------------------------------------------------------------------------------
/HZH_Controls/HZH_Controls/Resources/alarm.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kwwwvagaa/NetWinformControl/745462d1c740922257bef8bbdcccbdd2a8a0351d/HZH_Controls/HZH_Controls/Resources/alarm.png
--------------------------------------------------------------------------------
/HZH_Controls/HZH_Controls/Resources/back.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kwwwvagaa/NetWinformControl/745462d1c740922257bef8bbdcccbdd2a8a0351d/HZH_Controls/HZH_Controls/Resources/back.png
--------------------------------------------------------------------------------
/HZH_Controls/HZH_Controls/Resources/caret-down.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kwwwvagaa/NetWinformControl/745462d1c740922257bef8bbdcccbdd2a8a0351d/HZH_Controls/HZH_Controls/Resources/caret-down.png
--------------------------------------------------------------------------------
/HZH_Controls/HZH_Controls/Resources/caret-right.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kwwwvagaa/NetWinformControl/745462d1c740922257bef8bbdcccbdd2a8a0351d/HZH_Controls/HZH_Controls/Resources/caret-right.png
--------------------------------------------------------------------------------
/HZH_Controls/HZH_Controls/Resources/checkbox0.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kwwwvagaa/NetWinformControl/745462d1c740922257bef8bbdcccbdd2a8a0351d/HZH_Controls/HZH_Controls/Resources/checkbox0.png
--------------------------------------------------------------------------------
/HZH_Controls/HZH_Controls/Resources/checkbox00.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kwwwvagaa/NetWinformControl/745462d1c740922257bef8bbdcccbdd2a8a0351d/HZH_Controls/HZH_Controls/Resources/checkbox00.png
--------------------------------------------------------------------------------
/HZH_Controls/HZH_Controls/Resources/checkbox1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kwwwvagaa/NetWinformControl/745462d1c740922257bef8bbdcccbdd2a8a0351d/HZH_Controls/HZH_Controls/Resources/checkbox1.png
--------------------------------------------------------------------------------
/HZH_Controls/HZH_Controls/Resources/checkbox10.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kwwwvagaa/NetWinformControl/745462d1c740922257bef8bbdcccbdd2a8a0351d/HZH_Controls/HZH_Controls/Resources/checkbox10.png
--------------------------------------------------------------------------------
/HZH_Controls/HZH_Controls/Resources/chevron-left.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kwwwvagaa/NetWinformControl/745462d1c740922257bef8bbdcccbdd2a8a0351d/HZH_Controls/HZH_Controls/Resources/chevron-left.png
--------------------------------------------------------------------------------
/HZH_Controls/HZH_Controls/Resources/chevron-right.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kwwwvagaa/NetWinformControl/745462d1c740922257bef8bbdcccbdd2a8a0351d/HZH_Controls/HZH_Controls/Resources/chevron-right.png
--------------------------------------------------------------------------------
/HZH_Controls/HZH_Controls/Resources/dateRight.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kwwwvagaa/NetWinformControl/745462d1c740922257bef8bbdcccbdd2a8a0351d/HZH_Controls/HZH_Controls/Resources/dateRight.png
--------------------------------------------------------------------------------
/HZH_Controls/HZH_Controls/Resources/datetLeft.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kwwwvagaa/NetWinformControl/745462d1c740922257bef8bbdcccbdd2a8a0351d/HZH_Controls/HZH_Controls/Resources/datetLeft.png
--------------------------------------------------------------------------------
/HZH_Controls/HZH_Controls/Resources/dialog_close.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kwwwvagaa/NetWinformControl/745462d1c740922257bef8bbdcccbdd2a8a0351d/HZH_Controls/HZH_Controls/Resources/dialog_close.png
--------------------------------------------------------------------------------
/HZH_Controls/HZH_Controls/Resources/down.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kwwwvagaa/NetWinformControl/745462d1c740922257bef8bbdcccbdd2a8a0351d/HZH_Controls/HZH_Controls/Resources/down.png
--------------------------------------------------------------------------------
/HZH_Controls/HZH_Controls/Resources/end.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kwwwvagaa/NetWinformControl/745462d1c740922257bef8bbdcccbdd2a8a0351d/HZH_Controls/HZH_Controls/Resources/end.png
--------------------------------------------------------------------------------
/HZH_Controls/HZH_Controls/Resources/error.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kwwwvagaa/NetWinformControl/745462d1c740922257bef8bbdcccbdd2a8a0351d/HZH_Controls/HZH_Controls/Resources/error.png
--------------------------------------------------------------------------------
/HZH_Controls/HZH_Controls/Resources/first.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kwwwvagaa/NetWinformControl/745462d1c740922257bef8bbdcccbdd2a8a0351d/HZH_Controls/HZH_Controls/Resources/first.png
--------------------------------------------------------------------------------
/HZH_Controls/HZH_Controls/Resources/handinput.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kwwwvagaa/NetWinformControl/745462d1c740922257bef8bbdcccbdd2a8a0351d/HZH_Controls/HZH_Controls/Resources/handinput.exe
--------------------------------------------------------------------------------
/HZH_Controls/HZH_Controls/Resources/help.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kwwwvagaa/NetWinformControl/745462d1c740922257bef8bbdcccbdd2a8a0351d/HZH_Controls/HZH_Controls/Resources/help.png
--------------------------------------------------------------------------------
/HZH_Controls/HZH_Controls/Resources/ic_add_black_18dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kwwwvagaa/NetWinformControl/745462d1c740922257bef8bbdcccbdd2a8a0351d/HZH_Controls/HZH_Controls/Resources/ic_add_black_18dp.png
--------------------------------------------------------------------------------
/HZH_Controls/HZH_Controls/Resources/ic_remove_black_18dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kwwwvagaa/NetWinformControl/745462d1c740922257bef8bbdcccbdd2a8a0351d/HZH_Controls/HZH_Controls/Resources/ic_remove_black_18dp.png
--------------------------------------------------------------------------------
/HZH_Controls/HZH_Controls/Resources/ic_search_black_24dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kwwwvagaa/NetWinformControl/745462d1c740922257bef8bbdcccbdd2a8a0351d/HZH_Controls/HZH_Controls/Resources/ic_search_black_24dp.png
--------------------------------------------------------------------------------
/HZH_Controls/HZH_Controls/Resources/input_clear.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kwwwvagaa/NetWinformControl/745462d1c740922257bef8bbdcccbdd2a8a0351d/HZH_Controls/HZH_Controls/Resources/input_clear.png
--------------------------------------------------------------------------------
/HZH_Controls/HZH_Controls/Resources/keyboard.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kwwwvagaa/NetWinformControl/745462d1c740922257bef8bbdcccbdd2a8a0351d/HZH_Controls/HZH_Controls/Resources/keyboard.png
--------------------------------------------------------------------------------
/HZH_Controls/HZH_Controls/Resources/keyboard_bs.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kwwwvagaa/NetWinformControl/745462d1c740922257bef8bbdcccbdd2a8a0351d/HZH_Controls/HZH_Controls/Resources/keyboard_bs.png
--------------------------------------------------------------------------------
/HZH_Controls/HZH_Controls/Resources/left.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kwwwvagaa/NetWinformControl/745462d1c740922257bef8bbdcccbdd2a8a0351d/HZH_Controls/HZH_Controls/Resources/left.png
--------------------------------------------------------------------------------
/HZH_Controls/HZH_Controls/Resources/list_add.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kwwwvagaa/NetWinformControl/745462d1c740922257bef8bbdcccbdd2a8a0351d/HZH_Controls/HZH_Controls/Resources/list_add.png
--------------------------------------------------------------------------------
/HZH_Controls/HZH_Controls/Resources/list_subtract.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kwwwvagaa/NetWinformControl/745462d1c740922257bef8bbdcccbdd2a8a0351d/HZH_Controls/HZH_Controls/Resources/list_subtract.png
--------------------------------------------------------------------------------
/HZH_Controls/HZH_Controls/Resources/loading.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kwwwvagaa/NetWinformControl/745462d1c740922257bef8bbdcccbdd2a8a0351d/HZH_Controls/HZH_Controls/Resources/loading.gif
--------------------------------------------------------------------------------
/HZH_Controls/HZH_Controls/Resources/more1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kwwwvagaa/NetWinformControl/745462d1c740922257bef8bbdcccbdd2a8a0351d/HZH_Controls/HZH_Controls/Resources/more1.png
--------------------------------------------------------------------------------
/HZH_Controls/HZH_Controls/Resources/qty_delete.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kwwwvagaa/NetWinformControl/745462d1c740922257bef8bbdcccbdd2a8a0351d/HZH_Controls/HZH_Controls/Resources/qty_delete.png
--------------------------------------------------------------------------------
/HZH_Controls/HZH_Controls/Resources/radioButton0.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kwwwvagaa/NetWinformControl/745462d1c740922257bef8bbdcccbdd2a8a0351d/HZH_Controls/HZH_Controls/Resources/radioButton0.png
--------------------------------------------------------------------------------
/HZH_Controls/HZH_Controls/Resources/radioButton00.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kwwwvagaa/NetWinformControl/745462d1c740922257bef8bbdcccbdd2a8a0351d/HZH_Controls/HZH_Controls/Resources/radioButton00.png
--------------------------------------------------------------------------------
/HZH_Controls/HZH_Controls/Resources/radioButton1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kwwwvagaa/NetWinformControl/745462d1c740922257bef8bbdcccbdd2a8a0351d/HZH_Controls/HZH_Controls/Resources/radioButton1.png
--------------------------------------------------------------------------------
/HZH_Controls/HZH_Controls/Resources/radioButton10.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kwwwvagaa/NetWinformControl/745462d1c740922257bef8bbdcccbdd2a8a0351d/HZH_Controls/HZH_Controls/Resources/radioButton10.png
--------------------------------------------------------------------------------
/HZH_Controls/HZH_Controls/Resources/right.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kwwwvagaa/NetWinformControl/745462d1c740922257bef8bbdcccbdd2a8a0351d/HZH_Controls/HZH_Controls/Resources/right.png
--------------------------------------------------------------------------------
/HZH_Controls/HZH_Controls/Resources/rigth.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kwwwvagaa/NetWinformControl/745462d1c740922257bef8bbdcccbdd2a8a0351d/HZH_Controls/HZH_Controls/Resources/rigth.png
--------------------------------------------------------------------------------
/HZH_Controls/HZH_Controls/Resources/sanjiao1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kwwwvagaa/NetWinformControl/745462d1c740922257bef8bbdcccbdd2a8a0351d/HZH_Controls/HZH_Controls/Resources/sanjiao1.png
--------------------------------------------------------------------------------
/HZH_Controls/HZH_Controls/Resources/sanjiao2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kwwwvagaa/NetWinformControl/745462d1c740922257bef8bbdcccbdd2a8a0351d/HZH_Controls/HZH_Controls/Resources/sanjiao2.png
--------------------------------------------------------------------------------
/HZH_Controls/HZH_Controls/Resources/success.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kwwwvagaa/NetWinformControl/745462d1c740922257bef8bbdcccbdd2a8a0351d/HZH_Controls/HZH_Controls/Resources/success.png
--------------------------------------------------------------------------------
/HZH_Controls/HZH_Controls/Resources/tips.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kwwwvagaa/NetWinformControl/745462d1c740922257bef8bbdcccbdd2a8a0351d/HZH_Controls/HZH_Controls/Resources/tips.png
--------------------------------------------------------------------------------
/HZH_Controls/HZH_Controls/Resources/up.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kwwwvagaa/NetWinformControl/745462d1c740922257bef8bbdcccbdd2a8a0351d/HZH_Controls/HZH_Controls/Resources/up.png
--------------------------------------------------------------------------------
/HZH_Controls/HZH_Controls/Resources/warning.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kwwwvagaa/NetWinformControl/745462d1c740922257bef8bbdcccbdd2a8a0351d/HZH_Controls/HZH_Controls/Resources/warning.png
--------------------------------------------------------------------------------
/HZH_Controls/HZH_Controls/UIEditor/ImagePropertyEditor.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.ComponentModel;
4 | using System.Drawing;
5 | using System.Drawing.Design;
6 | using System.Linq;
7 | using System.Text;
8 |
9 | namespace HZH_Controls
10 | {
11 | public class ImagePropertyEditor : UITypeEditor
12 | {
13 | public override UITypeEditorEditStyle GetEditStyle(System.ComponentModel.ITypeDescriptorContext context)
14 | {
15 | //指定为模式窗体属性编辑器类型
16 | return UITypeEditorEditStyle.Modal;
17 | }
18 |
19 | public override object EditValue(ITypeDescriptorContext context, IServiceProvider provider, object value)
20 | {
21 | //打开属性编辑器修改数据
22 | FrmSelectImage frm = new FrmSelectImage();
23 | if (value == null || value is Image)
24 | {
25 | if (value != null)
26 | frm.SelectImage = (Image)value;
27 | if (frm.ShowDialog() == System.Windows.Forms.DialogResult.OK)
28 | return frm.SelectImage;
29 | else
30 | return value;
31 | }
32 | else
33 | {
34 | throw new Exception("这不是一个FontIcons类型的属性");
35 | }
36 | }
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/HZH_Controls/HZH_Controls/buidnuget.bat:
--------------------------------------------------------------------------------
1 | Nuget pack HZH_Controls.csproj
--------------------------------------------------------------------------------
/HZH_Controls/HZH_Controls/nuget.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kwwwvagaa/NetWinformControl/745462d1c740922257bef8bbdcccbdd2a8a0351d/HZH_Controls/HZH_Controls/nuget.exe
--------------------------------------------------------------------------------
/HZH_Controls/Test/FrmOKCancel1Test.Designer.cs:
--------------------------------------------------------------------------------
1 | namespace Test
2 | {
3 | partial class FrmOKCancel1Test
4 | {
5 | ///
6 | /// Required designer variable.
7 | ///
8 | private System.ComponentModel.IContainer components = null;
9 |
10 | ///
11 | /// Clean up any resources being used.
12 | ///
13 | /// true if managed resources should be disposed; otherwise, false.
14 | protected override void Dispose(bool disposing)
15 | {
16 | if (disposing && (components != null))
17 | {
18 | components.Dispose();
19 | }
20 | base.Dispose(disposing);
21 | }
22 |
23 | #region Windows Form Designer generated code
24 |
25 | ///
26 | /// Required method for Designer support - do not modify
27 | /// the contents of this method with the code editor.
28 | ///
29 | private void InitializeComponent()
30 | {
31 | System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmOKCancel1Test));
32 | this.SuspendLayout();
33 | //
34 | // panel3
35 | //
36 | this.panel3.Size = new System.Drawing.Size(528, 321);
37 | //
38 | // FrmOKCancel1Test
39 | //
40 | this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 17F);
41 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
42 | this.ClientSize = new System.Drawing.Size(528, 445);
43 | this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
44 | this.Name = "FrmOKCancel1Test";
45 | this.Text = "FrmOKCancelTest";
46 | this.Title = "测试修改密码";
47 | this.ResumeLayout(false);
48 |
49 | }
50 |
51 | #endregion
52 |
53 | }
54 | }
--------------------------------------------------------------------------------
/HZH_Controls/Test/FrmOKCancel1Test.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.ComponentModel;
4 | using System.Data;
5 | using System.Drawing;
6 | using System.Linq;
7 | using System.Text;
8 | using System.Windows.Forms;
9 |
10 | namespace Test
11 | {
12 | public partial class FrmOKCancel1Test : HZH_Controls.Forms.FrmWithOKCancel1
13 | {
14 | public FrmOKCancel1Test()
15 | {
16 | InitializeComponent();
17 | }
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/HZH_Controls/Test/FrmOKCancel2Test.Designer.cs:
--------------------------------------------------------------------------------
1 | namespace Test
2 | {
3 | partial class FrmOKCancel2Test
4 | {
5 | ///
6 | /// Required designer variable.
7 | ///
8 | private System.ComponentModel.IContainer components = null;
9 |
10 | ///
11 | /// Clean up any resources being used.
12 | ///
13 | /// true if managed resources should be disposed; otherwise, false.
14 | protected override void Dispose(bool disposing)
15 | {
16 | if (disposing && (components != null))
17 | {
18 | components.Dispose();
19 | }
20 | base.Dispose(disposing);
21 | }
22 |
23 | #region Windows Form Designer generated code
24 |
25 | ///
26 | /// Required method for Designer support - do not modify
27 | /// the contents of this method with the code editor.
28 | ///
29 | private void InitializeComponent()
30 | {
31 | System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmOKCancel2Test));
32 | this.SuspendLayout();
33 | //
34 | // FrmOKCancel2Test
35 | //
36 | this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 17F);
37 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
38 | this.ClientSize = new System.Drawing.Size(427, 310);
39 | this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
40 | this.Name = "FrmOKCancel2Test";
41 | this.Text = "FrmOKCancel2Test";
42 | this.Title = "资料修改";
43 | this.ResumeLayout(false);
44 |
45 | }
46 |
47 | #endregion
48 | }
49 | }
--------------------------------------------------------------------------------
/HZH_Controls/Test/FrmOKCancel2Test.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.ComponentModel;
4 | using System.Data;
5 | using System.Drawing;
6 | using System.Linq;
7 | using System.Text;
8 | using System.Windows.Forms;
9 |
10 | namespace Test
11 | {
12 | public partial class FrmOKCancel2Test : HZH_Controls.Forms.FrmWithOKCancel2
13 | {
14 | public FrmOKCancel2Test()
15 | {
16 | InitializeComponent();
17 | }
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/HZH_Controls/Test/FrmTestFrmBack.Designer.cs:
--------------------------------------------------------------------------------
1 | namespace Test
2 | {
3 | partial class FrmTestFrmBack
4 | {
5 | ///
6 | /// Required designer variable.
7 | ///
8 | private System.ComponentModel.IContainer components = null;
9 |
10 | ///
11 | /// Clean up any resources being used.
12 | ///
13 | /// true if managed resources should be disposed; otherwise, false.
14 | protected override void Dispose(bool disposing)
15 | {
16 | if (disposing && (components != null))
17 | {
18 | components.Dispose();
19 | }
20 | base.Dispose(disposing);
21 | }
22 |
23 | #region Windows Form Designer generated code
24 |
25 | ///
26 | /// Required method for Designer support - do not modify
27 | /// the contents of this method with the code editor.
28 | ///
29 | private void InitializeComponent()
30 | {
31 | System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmTestFrmBack));
32 | this.SuspendLayout();
33 | //
34 | // FrmTestFrmBack
35 | //
36 | this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 17F);
37 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
38 | this.ClientSize = new System.Drawing.Size(679, 477);
39 | this.FrmTitle = "有返回的窗体";
40 | this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
41 | this.Name = "FrmTestFrmBack";
42 | this.Text = "FrmTestFrmBack";
43 | this.ResumeLayout(false);
44 |
45 | }
46 |
47 | #endregion
48 | }
49 | }
--------------------------------------------------------------------------------
/HZH_Controls/Test/FrmTestFrmBack.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.ComponentModel;
4 | using System.Data;
5 | using System.Drawing;
6 | using System.Linq;
7 | using System.Text;
8 | using System.Windows.Forms;
9 | using HZH_Controls.Forms;
10 |
11 | namespace Test
12 | {
13 | public partial class FrmTestFrmBack : FrmBack
14 | {
15 | public FrmTestFrmBack()
16 | {
17 | InitializeComponent();
18 | }
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/HZH_Controls/Test/FrmTestLoading.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.ComponentModel;
4 | using System.Data;
5 | using System.Drawing;
6 | using System.Linq;
7 | using System.Text;
8 | using System.Windows.Forms;
9 | using HZH_Controls.Forms;
10 |
11 | namespace Test
12 | {
13 | public partial class FrmTestLoading : FrmLoading
14 | {
15 | public FrmTestLoading()
16 | {
17 | InitializeComponent();
18 | }
19 | protected override void BindingProcessMsg(string strText, int intValue)
20 | {
21 | label1.Text = strText;
22 | this.ucProcessLineExt1.Value = intValue;
23 | }
24 | }
25 | }
26 |
--------------------------------------------------------------------------------
/HZH_Controls/Test/FrmWithTitleTest.Designer.cs:
--------------------------------------------------------------------------------
1 | namespace Test
2 | {
3 | partial class FrmWithTitleTest
4 | {
5 | ///
6 | /// Required designer variable.
7 | ///
8 | private System.ComponentModel.IContainer components = null;
9 |
10 | ///
11 | /// Clean up any resources being used.
12 | ///
13 | /// true if managed resources should be disposed; otherwise, false.
14 | protected override void Dispose(bool disposing)
15 | {
16 | if (disposing && (components != null))
17 | {
18 | components.Dispose();
19 | }
20 | base.Dispose(disposing);
21 | }
22 |
23 | #region Windows Form Designer generated code
24 |
25 | ///
26 | /// Required method for Designer support - do not modify
27 | /// the contents of this method with the code editor.
28 | ///
29 | private void InitializeComponent()
30 | {
31 | System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmWithTitleTest));
32 | this.SuspendLayout();
33 | //
34 | // FrmWithTitleTest
35 | //
36 | this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 17F);
37 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
38 | this.ClientSize = new System.Drawing.Size(427, 310);
39 | this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
40 | this.IsShowCloseBtn = true;
41 | this.Name = "FrmWithTitleTest";
42 | this.Text = "FrmWithTitleTest";
43 | this.Title = "单标题窗体测试";
44 | this.ResumeLayout(false);
45 |
46 | }
47 |
48 | #endregion
49 | }
50 | }
--------------------------------------------------------------------------------
/HZH_Controls/Test/FrmWithTitleTest.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.ComponentModel;
4 | using System.Data;
5 | using System.Drawing;
6 | using System.Linq;
7 | using System.Text;
8 | using System.Windows.Forms;
9 |
10 | namespace Test
11 | {
12 | public partial class FrmWithTitleTest : HZH_Controls.Forms.FrmWithTitle
13 | {
14 | public FrmWithTitleTest()
15 | {
16 | InitializeComponent();
17 | }
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/HZH_Controls/Test/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Windows.Forms;
5 |
6 | namespace Test
7 | {
8 | static class Program
9 | {
10 | static int hookID;
11 | ///
12 | /// 应用程序的主入口点。
13 | ///
14 | [STAThread]
15 | static void Main()
16 | {
17 | Application.EnableVisualStyles();
18 | Application.SetCompatibleTextRenderingDefault(false);
19 | Application.ThreadException += Application_ThreadException;
20 | AppDomain.CurrentDomain.UnhandledException += CurrentDomain_UnhandledException;
21 | Application.Run(new FrmMain());
22 | Application.ApplicationExit += Application_ApplicationExit;
23 | }
24 |
25 | static void Application_ApplicationExit(object sender, EventArgs e)
26 | {
27 | Console.WriteLine("程序退出成功");
28 | }
29 |
30 |
31 |
32 | static void Application_ThreadException(object sender, System.Threading.ThreadExceptionEventArgs e)
33 | {
34 | MessageBox.Show(e.Exception.Message);
35 | }
36 |
37 | static void CurrentDomain_UnhandledException(object sender, UnhandledExceptionEventArgs e)
38 | {
39 | MessageBox.Show(((Exception)e.ExceptionObject).Message);
40 | }
41 |
42 | }
43 | }
44 |
--------------------------------------------------------------------------------
/HZH_Controls/Test/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 |
5 | // 有关程序集的常规信息通过以下
6 | // 特性集控制。更改这些特性值可修改
7 | // 与程序集关联的信息。
8 | [assembly: AssemblyTitle("Test")]
9 | [assembly: AssemblyDescription("")]
10 | [assembly: AssemblyConfiguration("")]
11 | [assembly: AssemblyCompany("Microsoft")]
12 | [assembly: AssemblyProduct("Test")]
13 | [assembly: AssemblyCopyright("Copyright © Microsoft 2019")]
14 | [assembly: AssemblyTrademark("")]
15 | [assembly: AssemblyCulture("")]
16 |
17 | // 将 ComVisible 设置为 false 使此程序集中的类型
18 | // 对 COM 组件不可见。 如果需要从 COM 访问此程序集中的类型,
19 | // 则将该类型上的 ComVisible 特性设置为 true。
20 | [assembly: ComVisible(false)]
21 |
22 | // 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID
23 | [assembly: Guid("a16ac5f9-a8b7-40d0-9d45-66f2f6191b9f")]
24 |
25 | // 程序集的版本信息由下面四个值组成:
26 | //
27 | // 主版本
28 | // 次版本
29 | // 生成号
30 | // 修订号
31 | //
32 | // 可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值,
33 | // 方法是按如下所示使用“*”:
34 | // [assembly: AssemblyVersion("1.0.*")]
35 | [assembly: AssemblyVersion("1.0.0.0")]
36 | [assembly: AssemblyFileVersion("1.0.0.0")]
37 |
--------------------------------------------------------------------------------
/HZH_Controls/Test/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:4.0.30319.42000
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace Test.Properties
12 | {
13 |
14 |
15 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
16 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
17 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
18 | {
19 |
20 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
21 |
22 | public static Settings Default
23 | {
24 | get
25 | {
26 | return defaultInstance;
27 | }
28 | }
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/HZH_Controls/Test/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/HZH_Controls/Test/Resources/rowicon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kwwwvagaa/NetWinformControl/745462d1c740922257bef8bbdcccbdd2a8a0351d/HZH_Controls/Test/Resources/rowicon.png
--------------------------------------------------------------------------------
/HZH_Controls/Test/TestGridModel.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 |
6 | namespace Test
7 | {
8 | public class TestGridModel
9 | {
10 | public string ID { get; set; }
11 | public string Name { get; set; }
12 | public DateTime Birthday { get; set; }
13 | public int Sex { get; set; }
14 | public int Age { get; set; }
15 | public List Childrens { get; set; }
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/HZH_Controls/Test/UC/UCTestArrow.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.ComponentModel;
4 | using System.Drawing;
5 | using System.Data;
6 | using System.Linq;
7 | using System.Text;
8 | using System.Windows.Forms;
9 |
10 | namespace Test.UC
11 | {
12 | [ToolboxItem(false)]
13 | public partial class UCTestArrow : UserControl
14 | {
15 | public UCTestArrow()
16 | {
17 | InitializeComponent();
18 | }
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/HZH_Controls/Test/UC/UCTestBlower.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.ComponentModel;
4 | using System.Drawing;
5 | using System.Data;
6 | using System.Linq;
7 | using System.Text;
8 | using System.Windows.Forms;
9 |
10 | namespace Test.UC
11 | {
12 | [ToolboxItem(false)]
13 | public partial class UCTestBlower : UserControl
14 | {
15 | public UCTestBlower()
16 | {
17 | InitializeComponent();
18 | }
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/HZH_Controls/Test/UC/UCTestBtns.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.ComponentModel;
4 | using System.Drawing;
5 | using System.Data;
6 | using System.Linq;
7 | using System.Text;
8 | using System.Windows.Forms;
9 |
10 | namespace Test.UC
11 | {
12 | [ToolboxItem(false)]
13 | public partial class UCTestBtns : UserControl
14 | {
15 | public UCTestBtns()
16 | {
17 | InitializeComponent();
18 | }
19 |
20 | private void UCTestBtns_Load(object sender, EventArgs e)
21 | {
22 | ucBtnsGroup1.DataSource = new Dictionary() { { "1", "男" }, { "0", "女" } };
23 | ucBtnsGroup2.IsMultiple = true;
24 | ucBtnsGroup2.DataSource = new Dictionary() { { "1", "河南" }, { "2", "北京" }, { "3", "湖南" }, { "4", "上海" } };
25 | ucBtnsGroup2.SelectItem = new List() { "2", "3" };
26 | }
27 | Color m_cacheColor = Color.Empty;
28 |
29 | private void ucBtnImg1_MouseEffected(object sender, EventArgs e)
30 | {
31 | var btn = sender as HZH_Controls.Controls.UCBtnExt;
32 | if (m_cacheColor != Color.Empty)
33 | {
34 | btn.FillColor = m_cacheColor;
35 | m_cacheColor = Color.Empty;
36 | }
37 | }
38 |
39 | private void ucBtnImg1_MouseEffecting(object sender, EventArgs e)
40 | {
41 | var btn = sender as HZH_Controls.Controls.UCBtnExt;
42 | m_cacheColor = btn.FillColor;
43 | btn.FillColor = Color.Red;
44 | }
45 | }
46 | }
47 |
--------------------------------------------------------------------------------
/HZH_Controls/Test/UC/UCTestConduit.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.ComponentModel;
4 | using System.Drawing;
5 | using System.Data;
6 | using System.Linq;
7 | using System.Text;
8 | using System.Windows.Forms;
9 |
10 | namespace Test.UC
11 | {
12 | [ToolboxItem(false)]
13 | public partial class UCTestConduit : UserControl
14 | {
15 | public UCTestConduit()
16 | {
17 | InitializeComponent();
18 | }
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/HZH_Controls/Test/UC/UCTestContextMenu.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.ComponentModel;
4 | using System.Drawing;
5 | using System.Data;
6 | using System.Linq;
7 | using System.Text;
8 | using System.Windows.Forms;
9 |
10 | namespace Test.UC
11 | {
12 | public partial class UCTestContextMenu : UserControl
13 | {
14 | public UCTestContextMenu()
15 | {
16 | InitializeComponent();
17 | //HZH_Controls.Controls.ToolStripColorTable这里面有好多颜色 自己可以改
18 | ToolStripManager.Renderer = new HZH_Controls.Controls.ProfessionalToolStripRendererEx();
19 |
20 | }
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/HZH_Controls/Test/UC/UCTestConveyor.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.ComponentModel;
4 | using System.Drawing;
5 | using System.Data;
6 | using System.Linq;
7 | using System.Text;
8 | using System.Windows.Forms;
9 |
10 | namespace Test.UC
11 | {
12 | [ToolboxItem(false)]
13 | public partial class UCTestConveyor : UserControl
14 | {
15 | public UCTestConveyor()
16 | {
17 | InitializeComponent();
18 | }
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/HZH_Controls/Test/UC/UCTestDialAisle.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.ComponentModel;
4 | using System.Drawing;
5 | using System.Data;
6 | using System.Linq;
7 | using System.Text;
8 | using System.Windows.Forms;
9 |
10 | namespace Test.UC
11 | {
12 | public partial class UCTestDialAisle : UserControl
13 | {
14 | public UCTestDialAisle()
15 | {
16 | InitializeComponent();
17 | }
18 |
19 | private void ucBtnExt1_BtnClick(object sender, EventArgs e)
20 | {
21 | this.ucDialAisle1.AddLink(new Random().Next(0, 10));
22 | }
23 |
24 | private void ucBtnExt2_BtnClick(object sender, EventArgs e)
25 | {
26 | this.ucDialAisle1.ClearAllLink();
27 | }
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/HZH_Controls/Test/UC/UCTestFunnelChart.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.ComponentModel;
4 | using System.Drawing;
5 | using System.Data;
6 | using System.Linq;
7 | using System.Text;
8 | using System.Windows.Forms;
9 |
10 | namespace Test.UC
11 | {
12 | [ToolboxItem(false)]
13 | public partial class UCTestFunnelChart : UserControl
14 | {
15 | public UCTestFunnelChart()
16 | {
17 | InitializeComponent();
18 | }
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/HZH_Controls/Test/UC/UCTestGraphicalOverlay.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.ComponentModel;
4 | using System.Drawing;
5 | using System.Data;
6 | using System.Linq;
7 | using System.Text;
8 | using System.Windows.Forms;
9 | using HZH_Controls;
10 |
11 | namespace Test.UC
12 | {
13 | [ToolboxItem(false)]
14 | public partial class UCTestGraphicalOverlay : UserControl
15 | {
16 | Random r = new Random();
17 | bool blnColor = true;
18 | public UCTestGraphicalOverlay()
19 | {
20 | InitializeComponent();
21 | this.Paint += UCTestGraphicalOverlay_Paint;
22 | }
23 |
24 | void UCTestGraphicalOverlay_Paint(object sender, PaintEventArgs e)
25 | {
26 |
27 | }
28 |
29 | private void graphicalOverlay1_Paint(object sender, PaintEventArgs e)
30 | {
31 | e.Graphics.SetGDIHigh();
32 | if (blnColor)
33 | {
34 | foreach (Control item in this.Controls)
35 | {
36 | e.Graphics.FillRectangle(new SolidBrush(Color.FromArgb(100, r.Next(0, 255), r.Next(0, 255), r.Next(0, 255))), item.Bounds);
37 | }
38 |
39 | }
40 | }
41 |
42 | private void button2_Click(object sender, EventArgs e)
43 | {
44 | Button btn = new Button();
45 | btn.Text = "随机按钮";
46 | btn.Location = new Point(r.Next(0, this.Width - btn.Width), r.Next(0, this.Height - btn.Height));
47 | this.Controls.Add(btn);
48 | }
49 |
50 | private void button1_Click(object sender, EventArgs e)
51 | {
52 | blnColor = !blnColor;
53 | this.Invalidate(true);
54 | }
55 |
56 | private void button3_Click(object sender, EventArgs e)
57 | {
58 | Label lbl = new Label();
59 | lbl.Text = "随机标签";
60 | lbl.Location = new Point(r.Next(0, this.Width - lbl.Width), r.Next(0, this.Height - lbl.Height));
61 | this.Controls.Add(lbl);
62 | }
63 | }
64 | }
65 |
--------------------------------------------------------------------------------
/HZH_Controls/Test/UC/UCTestGridTable_CustomCell.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.ComponentModel;
4 | using System.Drawing;
5 | using System.Data;
6 | using System.Linq;
7 | using System.Text;
8 | using System.Windows.Forms;
9 |
10 | namespace Test.UC
11 | {
12 | public partial class UCTestGridTable_CustomCell : UserControl, HZH_Controls.Controls.IDataGridViewCustomCell
13 | {
14 | public event HZH_Controls.Controls.DataGridViewRowCustomEventHandler RowCustomEvent;
15 | private TestGridModel m_object = null;
16 | public object DataSource
17 | {
18 | get
19 | {
20 | return m_object;
21 | }
22 | }
23 | public UCTestGridTable_CustomCell()
24 | {
25 | InitializeComponent();
26 | }
27 |
28 | public void SetBindSource(object obj)
29 | {
30 | if (obj is TestGridModel)
31 | m_object = (TestGridModel)obj;
32 | }
33 |
34 | private void ucBtnExt1_BtnClick(object sender, EventArgs e)
35 | {
36 | if (RowCustomEvent != null)
37 | {
38 | RowCustomEvent(this, new HZH_Controls.Controls.DataGridViewRowCustomEventArgs() { EventName = "Modify" });
39 | }
40 | //if (m_object != null)
41 | //{
42 | // HZH_Controls.Forms.FrmTips.ShowTipsSuccess(this.FindForm(),"修改:"+m_object.Name);
43 | //}
44 | }
45 |
46 | private void ucBtnExt2_BtnClick(object sender, EventArgs e)
47 | {
48 | if (RowCustomEvent != null)
49 | {
50 | RowCustomEvent(this, new HZH_Controls.Controls.DataGridViewRowCustomEventArgs() { EventName = "Delete" });
51 | }
52 | //if (m_object != null)
53 | //{
54 | // HZH_Controls.Forms.FrmTips.ShowTipsSuccess(this.FindForm(), "删除:" + m_object.Name);
55 | //}
56 | }
57 |
58 |
59 |
60 |
61 |
62 |
63 | }
64 | }
65 |
--------------------------------------------------------------------------------
/HZH_Controls/Test/UC/UCTestGridTable_CustomCellIcon.Designer.cs:
--------------------------------------------------------------------------------
1 | namespace Test.UC
2 | {
3 | partial class UCTestGridTable_CustomCellIcon
4 | {
5 | ///
6 | /// 必需的设计器变量。
7 | ///
8 | private System.ComponentModel.IContainer components = null;
9 |
10 | ///
11 | /// 清理所有正在使用的资源。
12 | ///
13 | /// 如果应释放托管资源,为 true;否则为 false。
14 | protected override void Dispose(bool disposing)
15 | {
16 | if (disposing && (components != null))
17 | {
18 | components.Dispose();
19 | }
20 | base.Dispose(disposing);
21 | }
22 |
23 | #region 组件设计器生成的代码
24 |
25 | ///
26 | /// 设计器支持所需的方法 - 不要
27 | /// 使用代码编辑器修改此方法的内容。
28 | ///
29 | private void InitializeComponent()
30 | {
31 | this.SuspendLayout();
32 | //
33 | // UCTestGridTable_CustomCellIcon
34 | //
35 | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
36 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
37 | this.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
38 | this.Name = "UCTestGridTable_CustomCellIcon";
39 | this.Size = new System.Drawing.Size(28, 28);
40 | this.ResumeLayout(false);
41 |
42 | }
43 |
44 | #endregion
45 | }
46 | }
47 |
--------------------------------------------------------------------------------
/HZH_Controls/Test/UC/UCTestGridTable_CustomCellIcon.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.ComponentModel;
4 | using System.Drawing;
5 | using System.Data;
6 | using System.Linq;
7 | using System.Text;
8 | using System.Windows.Forms;
9 |
10 | namespace Test.UC
11 | {
12 | public partial class UCTestGridTable_CustomCellIcon : UserControl, HZH_Controls.Controls.IDataGridViewCustomCell
13 | {
14 | public UCTestGridTable_CustomCellIcon()
15 | {
16 | InitializeComponent();
17 | }
18 | private TestGridModel m_object = null;
19 | public object DataSource
20 | {
21 | get
22 | {
23 | return m_object;
24 | }
25 | }
26 | public void SetBindSource(object obj)
27 | {
28 | if (obj is TestGridModel)
29 | {
30 | m_object = (TestGridModel)obj;
31 | this.BackgroundImage = Properties.Resources.rowicon;
32 | }
33 | }
34 |
35 |
36 | public event HZH_Controls.Controls.DataGridViewRowCustomEventHandler RowCustomEvent;
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/HZH_Controls/Test/UC/UCTestHorizontalList.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.ComponentModel;
4 | using System.Drawing;
5 | using System.Data;
6 | using System.Linq;
7 | using System.Text;
8 | using System.Windows.Forms;
9 |
10 | namespace Test.UC
11 | {
12 | [ToolboxItem(false)]
13 | public partial class UCTestHorizontalList : UserControl
14 | {
15 | public UCTestHorizontalList()
16 | {
17 | InitializeComponent();
18 | }
19 |
20 | private void UCTestHorizontalList_Load(object sender, EventArgs e)
21 | {
22 | List> lstHL = new List>();
23 | for (int i = 0; i < 30; i++)
24 | {
25 | lstHL.Add(new KeyValuePair(i.ToString(), "选项" + i));
26 | }
27 |
28 | this.ucHorizontalList1.DataSource = lstHL;
29 | this.ucHorizontalList2.DataSource = lstHL;
30 | }
31 | }
32 | }
33 |
--------------------------------------------------------------------------------
/HZH_Controls/Test/UC/UCTestLED.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.ComponentModel;
4 | using System.Drawing;
5 | using System.Data;
6 | using System.Linq;
7 | using System.Text;
8 | using System.Windows.Forms;
9 |
10 | namespace Test.UC
11 | {
12 | [ToolboxItem(false)]
13 | public partial class UCTestLED : UserControl
14 | {
15 | public UCTestLED()
16 | {
17 | InitializeComponent();
18 | }
19 |
20 | private void timer1_Tick(object sender, EventArgs e)
21 | {
22 | ucledDataTime1.Value = DateTime.Now;
23 | ucledTime2.Value = DateTime.Now;
24 | Random r = new Random();
25 | int i = r.Next(1, 10000);
26 | double dbl = ((double)i) / 100.0000;
27 | string str = dbl.ToString("0.000");
28 | this.ucledNums1.Value = str;
29 | this.ucledNums2.Value = str;
30 | }
31 |
32 | }
33 | }
34 |
--------------------------------------------------------------------------------
/HZH_Controls/Test/UC/UCTestList.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.ComponentModel;
4 | using System.Drawing;
5 | using System.Data;
6 | using System.Linq;
7 | using System.Text;
8 | using System.Windows.Forms;
9 | using HZH_Controls.Controls;
10 |
11 | namespace Test.UC
12 | {
13 | [ToolboxItem(false)]
14 | public partial class UCTestList : UserControl
15 | {
16 | public UCTestList()
17 | {
18 | InitializeComponent();
19 | this.ucListExt2.SplitColor = Color.FromArgb(57,61,73);
20 | }
21 |
22 | private void UCTestList_Load(object sender, EventArgs e)
23 | {
24 | List lst = new List();
25 | for (int i = 0; i < 5; i++)
26 | {
27 | lst.Add(new ListEntity()
28 | {
29 | ID = i.ToString(),
30 | Title = "选项" + i,
31 | ShowMoreBtn = i % 2 == 1,
32 | Source = i
33 | });
34 | }
35 | this.ucListExt1.SetList(lst);
36 |
37 | List lst2 = new List();
38 | for (int i = 0; i < 5; i++)
39 | {
40 | lst2.Add(new ListEntity()
41 | {
42 | ID = i.ToString(),
43 | Title = "标题" + i,
44 | ShowMoreBtn = i % 2 == 1,
45 | Source = i,
46 | Title2 = "副标题"
47 | });
48 | }
49 | this.ucListExt2.SetList(lst2);
50 | }
51 | }
52 | }
53 |
--------------------------------------------------------------------------------
/HZH_Controls/Test/UC/UCTestListView.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.ComponentModel;
4 | using System.Drawing;
5 | using System.Data;
6 | using System.Linq;
7 | using System.Text;
8 | using System.Windows.Forms;
9 | using HZH_Controls.Controls;
10 |
11 | namespace Test.UC
12 | {
13 | [ToolboxItem(false)]
14 | public partial class UCTestListView : UserControl
15 | {
16 | public UCTestListView()
17 | {
18 | InitializeComponent();
19 | this.ucListView1.SizeChanged += ucListView1_SizeChanged;
20 | }
21 |
22 | void ucListView1_SizeChanged(object sender, EventArgs e)
23 | {
24 | if (this.ucListView1.Page != null)
25 | {
26 | this.ucListView1.DataSource = this.ucListView1.Page.GetCurrentSource();
27 | }
28 | }
29 |
30 | private void UCTestListView_Load(object sender, EventArgs e)
31 | {
32 | List