├── .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 lstSource = new List(); 33 | for (int i = 0; i < 200; i++) 34 | { 35 | lstSource.Add("项-" + i); 36 | } 37 | 38 | #region 使用分页控件 English:Using Paging Control 39 | var page = new UCPagerControl2(); 40 | this.ucListView1.Page = page; 41 | page.DataSource = lstSource; 42 | #endregion 43 | 44 | #region 不使用分页控件 English:Do not use paging controls 45 | //this.ucListView1.DataSource = lstSource; 46 | #endregion 47 | } 48 | } 49 | } 50 | -------------------------------------------------------------------------------- /HZH_Controls/Test/UC/UCTestLiveCharts/Cartesian/Basic Stacked Bar/BasicStackedColumnExample.cs: -------------------------------------------------------------------------------- 1 | using System.Windows.Forms; 2 | using LiveCharts; 3 | using LiveCharts.Wpf; 4 | 5 | namespace Test.UC 6 | { 7 | public partial class BasicStackedColumnExample : Form 8 | { 9 | public BasicStackedColumnExample() 10 | { 11 | InitializeComponent(); 12 | 13 | cartesianChart1.Series = new SeriesCollection 14 | { 15 | new StackedColumnSeries 16 | { 17 | Values = new ChartValues {4, 5, 6, 8}, 18 | StackMode = StackMode.Values, // this is not necessary, values is the default stack mode 19 | DataLabels = true 20 | }, 21 | new StackedColumnSeries 22 | { 23 | Values = new ChartValues {2, 5, 6, 7}, 24 | StackMode = StackMode.Values, 25 | DataLabels = true 26 | } 27 | }; 28 | 29 | //adding series updates and animates the chart 30 | cartesianChart1.Series.Add(new StackedColumnSeries 31 | { 32 | Values = new ChartValues {6, 2, 7}, 33 | StackMode = StackMode.Values 34 | }); 35 | 36 | //adding values also updates and animates 37 | cartesianChart1.Series[2].Values.Add(4d); 38 | 39 | cartesianChart1.AxisX.Add(new Axis 40 | { 41 | Title = "Browser", 42 | Labels = new[] {"Chrome", "Mozilla", "Opera", "IE"}, 43 | Separator = DefaultAxes.CleanSeparator 44 | }); 45 | 46 | cartesianChart1.AxisY.Add(new Axis 47 | { 48 | Title = "Usage", 49 | LabelFormatter = value => value + " Mill" 50 | }); 51 | 52 | } 53 | } 54 | } 55 | -------------------------------------------------------------------------------- /HZH_Controls/Test/UC/UCTestLiveCharts/Cartesian/Basic Stacked Bar/BasicsStackedRowExample.cs: -------------------------------------------------------------------------------- 1 | using System.Windows.Forms; 2 | using LiveCharts; 3 | using LiveCharts.Wpf; 4 | 5 | namespace Test.UC 6 | { 7 | public partial class BasicsStackedRowExample : Form 8 | { 9 | public BasicsStackedRowExample() 10 | { 11 | InitializeComponent(); 12 | 13 | cartesianChart1.Series = new SeriesCollection 14 | { 15 | new StackedRowSeries 16 | { 17 | Values = new ChartValues {4, 5, 6, 8}, 18 | StackMode = StackMode.Percentage, 19 | DataLabels = true, 20 | LabelPoint = p => p.X.ToString() 21 | }, 22 | new StackedRowSeries 23 | { 24 | Values = new ChartValues {2, 5, 6, 7}, 25 | StackMode = StackMode.Percentage, 26 | DataLabels = true, 27 | LabelPoint = p => p.X.ToString() 28 | } 29 | }; 30 | 31 | //adding series updates and animates the chart 32 | cartesianChart1.Series.Add(new StackedRowSeries 33 | { 34 | Values = new ChartValues { 6, 2, 7 }, 35 | StackMode = StackMode.Percentage, 36 | DataLabels = true, 37 | LabelPoint = p => p.X.ToString() 38 | }); 39 | 40 | //adding values also updates and animates 41 | cartesianChart1.Series[2].Values.Add(4d); 42 | 43 | cartesianChart1.AxisY.Add(new Axis 44 | { 45 | Title = "Browser", 46 | Labels = new[] {"Chrome", "Mozilla", "Opera", "IE"} 47 | }); 48 | cartesianChart1.AxisX.Add(new Axis 49 | { 50 | LabelFormatter = val => val.ToString("P") 51 | }); 52 | 53 | var tooltip = new DefaultTooltip {SelectionMode = TooltipSelectionMode.SharedYValues}; 54 | 55 | cartesianChart1.DataTooltip = tooltip; 56 | 57 | } 58 | } 59 | } 60 | -------------------------------------------------------------------------------- /HZH_Controls/Test/UC/UCTestLiveCharts/Cartesian/BasicBar/BasicColumnExample.cs: -------------------------------------------------------------------------------- 1 | using System.Windows.Forms; 2 | using LiveCharts; 3 | using LiveCharts.Wpf; 4 | 5 | namespace Test.UC 6 | { 7 | public partial class BasicColumnExample : Form 8 | { 9 | public BasicColumnExample() 10 | { 11 | InitializeComponent(); 12 | 13 | cartesianChart1.Series = new SeriesCollection 14 | { 15 | new ColumnSeries 16 | { 17 | Title = "2015", 18 | Values = new ChartValues { 10, 50, 39, 50 } 19 | } 20 | }; 21 | 22 | //adding series will update and animate the chart automatically 23 | cartesianChart1.Series.Add(new ColumnSeries 24 | { 25 | Title = "2016", 26 | Values = new ChartValues { 11, 56, 42 } 27 | }); 28 | 29 | //also adding values updates and animates the chart automatically 30 | cartesianChart1.Series[1].Values.Add(48d); 31 | 32 | cartesianChart1.AxisX.Add(new Axis 33 | { 34 | Title = "Sales Man", 35 | Labels = new[] {"Maria", "Susan", "Charles", "Frida"} 36 | }); 37 | 38 | cartesianChart1.AxisY.Add(new Axis 39 | { 40 | Title = "Sold Apps", 41 | LabelFormatter = value => value.ToString("N") 42 | }); 43 | 44 | } 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /HZH_Controls/Test/UC/UCTestLiveCharts/Cartesian/BasicBar/BasicRowExample.cs: -------------------------------------------------------------------------------- 1 | using System.Windows.Forms; 2 | using LiveCharts; 3 | using LiveCharts.Wpf; 4 | 5 | namespace Test.UC 6 | { 7 | public partial class BasicRowExample : Form 8 | { 9 | public BasicRowExample() 10 | { 11 | InitializeComponent(); 12 | 13 | cartesianChart1.Series = new SeriesCollection 14 | { 15 | new RowSeries 16 | { 17 | Title = "2015", 18 | Values = new ChartValues { 10, 50, 39, 50 } 19 | } 20 | }; 21 | 22 | //adding series will update and animate the chart automatically 23 | cartesianChart1.Series.Add(new RowSeries 24 | { 25 | Title = "2016", 26 | Values = new ChartValues { 11, 56, 42 } 27 | }); 28 | 29 | //also adding values updates and animates the chart automatically 30 | cartesianChart1.Series[1].Values.Add(48d); 31 | 32 | cartesianChart1.AxisY.Add(new Axis 33 | { 34 | Labels = new[] { "Maria", "Susan", "Charles", "Frida" } 35 | }); 36 | 37 | cartesianChart1.AxisX.Add(new Axis 38 | { 39 | LabelFormatter = value => value.ToString("N") 40 | }); 41 | 42 | var tooltip = new DefaultTooltip 43 | { 44 | SelectionMode = TooltipSelectionMode.SharedYValues 45 | }; 46 | 47 | cartesianChart1.DataTooltip = tooltip; 48 | 49 | } 50 | } 51 | } 52 | -------------------------------------------------------------------------------- /HZH_Controls/Test/UC/UCTestLiveCharts/Cartesian/BasicBubbles/BasicBubblesExample.cs: -------------------------------------------------------------------------------- 1 | using System.Windows.Forms; 2 | using LiveCharts; 3 | using LiveCharts.Defaults; 4 | using LiveCharts.Wpf; 5 | 6 | namespace Test.UC 7 | { 8 | public partial class BasicBubblesExample : Form 9 | { 10 | public BasicBubblesExample() 11 | { 12 | InitializeComponent(); 13 | 14 | cartesianChart1.Series = new SeriesCollection 15 | { 16 | new ScatterSeries 17 | { 18 | Values = new ChartValues 19 | { 20 | //X Y W 21 | new ScatterPoint(5, 5, 20), 22 | new ScatterPoint(3, 4, 80), 23 | new ScatterPoint(7, 2, 20), 24 | new ScatterPoint(2, 6, 60), 25 | new ScatterPoint(8, 2, 70) 26 | }, 27 | MinPointShapeDiameter = 15, 28 | MaxPointShapeDiameter = 45 29 | }, 30 | new ScatterSeries 31 | { 32 | Values = new ChartValues 33 | { 34 | new ScatterPoint(7, 5, 1), 35 | new ScatterPoint(2, 2, 1), 36 | new ScatterPoint(1, 1, 1), 37 | new ScatterPoint(6, 3, 1), 38 | new ScatterPoint(8, 8, 1) 39 | }, 40 | PointGeometry = DefaultGeometries.Triangle, 41 | MinPointShapeDiameter = 15, 42 | MaxPointShapeDiameter = 45 43 | } 44 | }; 45 | 46 | } 47 | } 48 | } 49 | -------------------------------------------------------------------------------- /HZH_Controls/Test/UC/UCTestLiveCharts/Cartesian/ConstantChanges/MeasureModel.cs: -------------------------------------------------------------------------------- 1 | namespace Test.UC 2 | { 3 | public class MeasureModel 4 | { 5 | public System.DateTime DateTime { get; set; } 6 | public double Value { get; set; } 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /HZH_Controls/Test/UC/UCTestLiveCharts/Cartesian/DataPagination/DataPaginationExample.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Windows.Forms; 3 | using LiveCharts; 4 | using LiveCharts.Wpf; 5 | 6 | namespace Test.UC 7 | { 8 | public partial class DataPaginationExample : Form 9 | { 10 | public DataPaginationExample() 11 | { 12 | InitializeComponent(); 13 | 14 | var values = new ChartValues(); 15 | 16 | var r = new Random(); 17 | for (var i = 0; i < 100; i++) 18 | { 19 | values.Add(r.Next(0, 10)); 20 | } 21 | 22 | cartesianChart1.Series.Add(new LineSeries 23 | { 24 | Values = values 25 | }); 26 | 27 | cartesianChart1.AxisX.Add(new Axis 28 | { 29 | MinValue = 0, 30 | MaxValue = 25 31 | }); 32 | } 33 | 34 | private void PreviousOnClick(object sender, EventArgs e) 35 | { 36 | cartesianChart1.AxisX[0].MinValue -= 25; 37 | cartesianChart1.AxisX[0].MaxValue -= 25; 38 | } 39 | 40 | private void NextOnClick(object sender, EventArgs e) 41 | { 42 | cartesianChart1.AxisX[0].MinValue += 25; 43 | cartesianChart1.AxisX[0].MaxValue += 25; 44 | } 45 | 46 | private void CustomZoomOnClick(object sender, EventArgs e) 47 | { 48 | cartesianChart1.AxisX[0].MinValue = 5; 49 | cartesianChart1.AxisX[0].MaxValue = 10; 50 | } 51 | } 52 | } 53 | -------------------------------------------------------------------------------- /HZH_Controls/Test/UC/UCTestLiveCharts/Cartesian/DynamicVisibility/DynamicVisibiltyExample.cs: -------------------------------------------------------------------------------- 1 | using System.Windows; 2 | using System.Windows.Forms; 3 | using LiveCharts; 4 | using LiveCharts.Wpf; 5 | 6 | namespace Test.UC 7 | { 8 | public partial class DynamicVisibiltyExample : Form 9 | { 10 | public DynamicVisibiltyExample() 11 | { 12 | InitializeComponent(); 13 | 14 | MariaSeries = new LineSeries 15 | { 16 | Values = new ChartValues {4, 6, 2, 7, 6} 17 | }; 18 | CharlesSeries = new LineSeries 19 | { 20 | Values = new ChartValues {6, 2, 8, 3, 5} 21 | }; 22 | JohnSeries = new LineSeries 23 | { 24 | Values = new ChartValues {8, 2, 4, 7, 2} 25 | }; 26 | 27 | cartesianChart1.Series = new SeriesCollection 28 | { 29 | MariaSeries, 30 | CharlesSeries, 31 | JohnSeries 32 | }; 33 | 34 | } 35 | 36 | public LineSeries MariaSeries { get; set; } 37 | public LineSeries CharlesSeries { get; set; } 38 | public LineSeries JohnSeries { get; set; } 39 | 40 | private void ToggleMariaSeries(object sender, System.EventArgs e) 41 | { 42 | MariaSeries.Visibility = MariaSeries.Visibility == Visibility.Visible 43 | ? Visibility.Hidden 44 | : Visibility.Visible; 45 | } 46 | 47 | private void ToggleCharlesSeries(object sender, System.EventArgs e) 48 | { 49 | CharlesSeries.Visibility = CharlesSeries.Visibility == Visibility.Visible 50 | ? Visibility.Hidden 51 | : Visibility.Visible; 52 | } 53 | 54 | private void ToggleJohnSeries(object sender, System.EventArgs e) 55 | { 56 | JohnSeries.Visibility = JohnSeries.Visibility == Visibility.Visible 57 | ? Visibility.Hidden 58 | : Visibility.Visible; 59 | } 60 | } 61 | } 62 | -------------------------------------------------------------------------------- /HZH_Controls/Test/UC/UCTestLiveCharts/Cartesian/Events/EventsExample.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Windows.Media; 3 | using System.Windows.Forms; 4 | using LiveCharts; 5 | using LiveCharts.Events; 6 | using LiveCharts.Wpf; 7 | 8 | namespace Test.UC 9 | { 10 | public partial class EventsExample : Form 11 | { 12 | public EventsExample() 13 | { 14 | InitializeComponent(); 15 | 16 | cartesianChart1.Series.Add(new LineSeries 17 | { 18 | Values = new ChartValues { 4, 6, 5, 3, 5 }, 19 | Fill = Brushes.Transparent, 20 | StrokeThickness = 4, 21 | PointGeometrySize = 25 22 | }); 23 | 24 | var ax = new Axis(); 25 | ax.RangeChanged += AxOnRangeChanged; 26 | 27 | cartesianChart1.AxisX.Add(ax); 28 | } 29 | 30 | private void ChartOnDataClick(object sender, ChartPoint p) 31 | { 32 | var asPixels = cartesianChart1.Base.ConvertToPixels(p.AsPoint()); 33 | Console.WriteLine("[EVENT] You clicked (" + p.X + ", " + p.Y + ") in pixels (" + 34 | asPixels.X + ", " + asPixels.Y + ")"); 35 | } 36 | 37 | private void Chart_OnDataHover(object sender, ChartPoint p) 38 | { 39 | Console.WriteLine("[EVENT] you hovered over " + p.X + ", " + p.Y); 40 | } 41 | 42 | private void ChartOnUpdaterTick(object sender) 43 | { 44 | Console.WriteLine("[EVENT] chart was updated"); 45 | } 46 | 47 | private void AxOnRangeChanged(RangeChangedEventArgs eventArgs) 48 | { 49 | Console.WriteLine("[EVENT] axis range changed"); 50 | } 51 | } 52 | } 53 | -------------------------------------------------------------------------------- /HZH_Controls/Test/UC/UCTestLiveCharts/Cartesian/Financial/FinancialExample.cs: -------------------------------------------------------------------------------- 1 | using System.Windows.Forms; 2 | using LiveCharts; 3 | using LiveCharts.Defaults; 4 | using LiveCharts.Wpf; 5 | 6 | namespace Test.UC 7 | { 8 | public partial class FinancialExample : Form 9 | { 10 | public FinancialExample() 11 | { 12 | InitializeComponent(); 13 | 14 | cartesianChart1.Series = new SeriesCollection 15 | { 16 | new OhlcSeries 17 | { 18 | Values = new ChartValues 19 | { 20 | new OhlcPoint(32, 35, 30, 32), 21 | new OhlcPoint(33, 38, 31, 37), 22 | new OhlcPoint(35, 42, 30, 40), 23 | new OhlcPoint(37, 40, 35, 38), 24 | new OhlcPoint(35, 38, 32, 33) 25 | } 26 | }, 27 | new LineSeries 28 | { 29 | Values = new ChartValues {30, 32, 35, 30, 28}, 30 | Fill = System.Windows.Media.Brushes.Transparent 31 | } 32 | }; 33 | 34 | //based on https://github.com/beto-rodriguez/Live-Charts/issues/166 35 | //The Ohcl point X property is zero based indexed. 36 | //this means the first point is 0, second 1, third 2.... and so on 37 | //then you can use the Axis.Labels properties to map the chart X with a label in the array. 38 | //for more info see (mapped labels section) 39 | //http://lvcharts.net/#/examples/v1/labels-wpf?path=WPF-Components-Labels 40 | 41 | cartesianChart1.AxisX.Add(new Axis 42 | { 43 | Labels = new[] 44 | { 45 | System.DateTime.Now.ToString("dd MMM"), 46 | System.DateTime.Now.AddDays(1).ToString("dd MMM"), 47 | System.DateTime.Now.AddDays(2).ToString("dd MMM"), 48 | System.DateTime.Now.AddDays(3).ToString("dd MMM"), 49 | System.DateTime.Now.AddDays(4).ToString("dd MMM") 50 | } 51 | }); 52 | 53 | } 54 | } 55 | } 56 | -------------------------------------------------------------------------------- /HZH_Controls/Test/UC/UCTestLiveCharts/Cartesian/FullyResponsive/FullyResponsive.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Windows.Forms; 3 | using LiveCharts; 4 | using LiveCharts.Defaults; 5 | using LiveCharts.Wpf; 6 | 7 | namespace Test.UC 8 | { 9 | public partial class FullyResponsive : Form 10 | { 11 | public FullyResponsive() 12 | { 13 | InitializeComponent(); 14 | 15 | Values = new ChartValues 16 | { 17 | new ObservableValue(3), 18 | new ObservableValue(6), 19 | new ObservableValue(7), 20 | new ObservableValue(4), 21 | new ObservableValue(2) 22 | }; 23 | 24 | cartesianChart1.LegendLocation = LegendLocation.Right; 25 | } 26 | 27 | public ChartValues Values { get; set; } 28 | 29 | private void FullyResponsive_Load(object sender, EventArgs e) 30 | { 31 | cartesianChart1.Series.Add(new LineSeries 32 | { 33 | Values = Values, 34 | StrokeThickness = 4, 35 | PointGeometrySize = 0, 36 | DataLabels = true 37 | }); 38 | } 39 | 40 | private void AddButtonOnClick(object sender, EventArgs e) 41 | { 42 | var r = new Random(); 43 | Values.Add(new ObservableValue(r.Next(-20, 20))); 44 | } 45 | 46 | private void InsertButtonOnClick(object sender, EventArgs e) 47 | { 48 | var r = new Random(); 49 | if (Values.Count > 3) 50 | Values.Insert(2, new ObservableValue(r.Next(-20, 20))); 51 | } 52 | 53 | private void button3_Click(object sender, EventArgs e) 54 | { 55 | Values.RemoveAt(0); 56 | } 57 | 58 | private void button4_Click(object sender, EventArgs e) 59 | { 60 | var r = new Random(); 61 | foreach (var observable in Values) 62 | { 63 | observable.Value = r.Next(-20, 20); 64 | } 65 | } 66 | } 67 | } 68 | -------------------------------------------------------------------------------- /HZH_Controls/Test/UC/UCTestLiveCharts/Cartesian/FunnelChart/Resources/fingerprint.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kwwwvagaa/NetWinformControl/745462d1c740922257bef8bbdcccbdd2a8a0351d/HZH_Controls/Test/UC/UCTestLiveCharts/Cartesian/FunnelChart/Resources/fingerprint.png -------------------------------------------------------------------------------- /HZH_Controls/Test/UC/UCTestLiveCharts/Cartesian/FunnelChart/Resources/user.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kwwwvagaa/NetWinformControl/745462d1c740922257bef8bbdcccbdd2a8a0351d/HZH_Controls/Test/UC/UCTestLiveCharts/Cartesian/FunnelChart/Resources/user.png -------------------------------------------------------------------------------- /HZH_Controls/Test/UC/UCTestLiveCharts/Cartesian/FunnelChart/Resources/view.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kwwwvagaa/NetWinformControl/745462d1c740922257bef8bbdcccbdd2a8a0351d/HZH_Controls/Test/UC/UCTestLiveCharts/Cartesian/FunnelChart/Resources/view.png -------------------------------------------------------------------------------- /HZH_Controls/Test/UC/UCTestLiveCharts/Cartesian/Inverted Series/InvertedSeries.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Windows.Forms; 3 | using LiveCharts; 4 | using LiveCharts.Wpf; 5 | 6 | namespace Test.UC 7 | { 8 | public partial class InvertedSeries : Form 9 | { 10 | public InvertedSeries() 11 | { 12 | InitializeComponent(); 13 | 14 | cartesianChart1.Series.Add(new VerticalLineSeries 15 | { 16 | Values = new ChartValues { 3, 5, 2, 6, 2, 7, 1 } 17 | }); 18 | 19 | cartesianChart1.Series.Add(new RowSeries 20 | { 21 | Values = new ChartValues {6, 2, 6, 3, 2, 7, 2} 22 | }); 23 | 24 | cartesianChart1.AxisY.Add(new Axis 25 | { 26 | Separator = new Separator { Step = 1} 27 | }); 28 | 29 | cartesianChart1.AxisX.Add(new Axis 30 | { 31 | MinValue = 0 32 | }); 33 | 34 | var tooltip = new DefaultTooltip 35 | { 36 | SelectionMode = TooltipSelectionMode.SharedYValues 37 | }; 38 | 39 | cartesianChart1.DataTooltip = tooltip; 40 | } 41 | 42 | private void InvertedSeries_Load(object sender, EventArgs e) 43 | { 44 | 45 | } 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /HZH_Controls/Test/UC/UCTestLiveCharts/Cartesian/Irregular Intervals/IrregularIntervalsExample.cs: -------------------------------------------------------------------------------- 1 | using System.Windows.Forms; 2 | using LiveCharts; 3 | using LiveCharts.Defaults; 4 | using LiveCharts.Wpf; 5 | 6 | namespace Test.UC 7 | { 8 | public partial class IrregularIntervalsExample : Form 9 | { 10 | public IrregularIntervalsExample() 11 | { 12 | InitializeComponent(); 13 | 14 | cartesianChart1.Series = new SeriesCollection 15 | { 16 | new LineSeries 17 | { 18 | Values = new ChartValues 19 | { 20 | new ObservablePoint(0, 10), 21 | new ObservablePoint(4, 7), 22 | new ObservablePoint(5, 3), 23 | new ObservablePoint(7, 6), 24 | new ObservablePoint(10, 8) 25 | }, 26 | PointGeometrySize = 15 27 | }, 28 | new LineSeries 29 | { 30 | Values = new ChartValues 31 | { 32 | new ObservablePoint(0, 2), 33 | new ObservablePoint(2, 5), 34 | new ObservablePoint(3, 6), 35 | new ObservablePoint(6, 8), 36 | new ObservablePoint(10, 5) 37 | }, 38 | PointGeometrySize = 15 39 | }, 40 | new LineSeries 41 | { 42 | Values = new ChartValues 43 | { 44 | new ObservablePoint(0, 4), 45 | new ObservablePoint(5, 5), 46 | new ObservablePoint(7, 7), 47 | new ObservablePoint(9, 10), 48 | new ObservablePoint(10, 9) 49 | }, 50 | PointGeometrySize = 15 51 | } 52 | }; 53 | } 54 | } 55 | } 56 | -------------------------------------------------------------------------------- /HZH_Controls/Test/UC/UCTestLiveCharts/Cartesian/Labels/Labels.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Windows.Forms; 3 | using LiveCharts; 4 | using LiveCharts.Defaults; 5 | using LiveCharts.Wpf; 6 | 7 | namespace Test.UC 8 | { 9 | public partial class Labels : Form 10 | { 11 | public Labels() 12 | { 13 | InitializeComponent(); 14 | } 15 | 16 | private void Labels_Load(object sender, EventArgs e) 17 | { 18 | cartesianChart1.Series.Add(new ColumnSeries 19 | { 20 | Values = new ChartValues 21 | { 22 | new ObservableValue(4), 23 | new ObservableValue(2), 24 | new ObservableValue(8), 25 | new ObservableValue(2), 26 | new ObservableValue(3), 27 | new ObservableValue(0), 28 | new ObservableValue(1), 29 | }, 30 | DataLabels = true, 31 | LabelPoint = point => point.Y + "K" 32 | }); 33 | 34 | cartesianChart1.AxisX.Add(new Axis 35 | { 36 | Labels = new[] 37 | { 38 | "Shea Ferriera", 39 | "Maurita Powel", 40 | "Scottie Brogdon", 41 | "Teresa Kerman", 42 | "Nell Venuti", 43 | "Anibal Brothers", 44 | "Anderson Dillman" 45 | }, 46 | Separator = new Separator // force the separator step to 1, so it always display all labels 47 | { 48 | Step = 1, 49 | IsEnabled = false //disable it to make it invisible. 50 | }, 51 | LabelsRotation = 15 52 | }); 53 | 54 | cartesianChart1.AxisY.Add(new Axis 55 | { 56 | LabelFormatter = value => value + ".00K items", 57 | Separator = new Separator() 58 | }); 59 | 60 | } 61 | } 62 | } 63 | -------------------------------------------------------------------------------- /HZH_Controls/Test/UC/UCTestLiveCharts/Cartesian/Linq/City.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace Test.UC 4 | { 5 | public class City 6 | { 7 | public Guid Id { get; set; } 8 | public string Name { get; set; } 9 | public double Population { get; set; } 10 | public double Area { get; set; } 11 | public string Country { get; set; } 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /HZH_Controls/Test/UC/UCTestLiveCharts/Cartesian/Linq/DataBase.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | using System.Globalization; 3 | using System.IO; 4 | 5 | namespace Test.UC 6 | { 7 | public static class DataBase 8 | { 9 | static DataBase() 10 | { 11 | var reader = new StreamReader(File.OpenRead(System.Windows.Forms.Application.StartupPath+ @"\UC\UCTestLiveCharts\Cartesian\Linqcities.csv")); 12 | 13 | var read = new List(); 14 | 15 | while (!reader.EndOfStream) 16 | { 17 | var line = reader.ReadLine(); 18 | if (line != null) 19 | { 20 | var values = line.Split(','); 21 | 22 | read.Add(new City 23 | { 24 | Name = values[0], 25 | Population = double.Parse(values[1], CultureInfo.InvariantCulture), 26 | Area = double.Parse(values[2], CultureInfo.InvariantCulture), 27 | Country = values[3] 28 | }); 29 | } 30 | } 31 | 32 | Cities = read.ToArray(); 33 | } 34 | 35 | public static City[] Cities { get; private set; } 36 | 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /HZH_Controls/Test/UC/UCTestLiveCharts/Cartesian/LogarithmScale/LogarithmSacale.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Windows.Forms; 3 | using System.Windows.Media; 4 | using LiveCharts; 5 | using LiveCharts.Configurations; 6 | using LiveCharts.Defaults; 7 | using LiveCharts.Wpf; 8 | 9 | namespace Test.UC 10 | { 11 | public partial class LogarithmSacale : Form 12 | { 13 | public LogarithmSacale() 14 | { 15 | InitializeComponent(); 16 | 17 | cartesianChart1.Series = new SeriesCollection(Mappers.Xy() 18 | .X(point => Math.Log10(point.X)) 19 | .Y(point => point.Y)) 20 | { 21 | new LineSeries 22 | { 23 | Values = new ChartValues 24 | { 25 | new ObservablePoint(1, 5), 26 | new ObservablePoint(10, 6), 27 | new ObservablePoint(100, 4), 28 | new ObservablePoint(1000, 2), 29 | new ObservablePoint(10000, 8), 30 | new ObservablePoint(100000, 2), 31 | new ObservablePoint(1000000, 9), 32 | new ObservablePoint(10000000, 8) 33 | } 34 | } 35 | }; 36 | 37 | cartesianChart1.AxisX.Add(new LogarithmicAxis 38 | { 39 | LabelFormatter = value => Math.Pow(10, value).ToString("N"), 40 | Base = 10, 41 | Separator = new Separator 42 | { 43 | Stroke = Brushes.LightGray 44 | } 45 | }); 46 | 47 | } 48 | } 49 | } 50 | -------------------------------------------------------------------------------- /HZH_Controls/Test/UC/UCTestLiveCharts/Cartesian/MissingPoints/MissingPoint.cs: -------------------------------------------------------------------------------- 1 | using System.Windows.Forms; 2 | using LiveCharts; 3 | using LiveCharts.Wpf; 4 | 5 | namespace Test.UC 6 | { 7 | public partial class MissingPoint : Form 8 | { 9 | public MissingPoint() 10 | { 11 | InitializeComponent(); 12 | 13 | cartesianChart1.Series.Add(new LineSeries 14 | { 15 | Values = new ChartValues 16 | { 17 | 4, 18 | 5, 19 | 7, 20 | 8, 21 | double.NaN, 22 | 5, 23 | 2, 24 | 8, 25 | double.NaN, 26 | 6, 27 | 2 28 | } 29 | }); 30 | 31 | } 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /HZH_Controls/Test/UC/UCTestLiveCharts/Cartesian/MultiAxes/MultipleAxesExample.cs: -------------------------------------------------------------------------------- 1 | using System.Windows.Forms; 2 | using LiveCharts; 3 | using LiveCharts.Wpf; 4 | 5 | namespace Test.UC 6 | { 7 | public partial class MultipleAxesExample : Form 8 | { 9 | public MultipleAxesExample() 10 | { 11 | InitializeComponent(); 12 | 13 | cartesianChart1.Series.Add(new LineSeries 14 | { 15 | Values = new ChartValues {1, 5, 3, 5, 3}, 16 | ScalesYAt = 0 17 | }); 18 | cartesianChart1.Series.Add(new LineSeries 19 | { 20 | Values = new ChartValues { 20, 30, 70, 20, 10 }, 21 | ScalesYAt = 1 22 | }); 23 | cartesianChart1.Series.Add(new LineSeries 24 | { 25 | Values = new ChartValues { 600, 300, 200, 600, 800 }, 26 | ScalesYAt = 2 27 | }); 28 | 29 | //now we add the 3 axes 30 | 31 | cartesianChart1.AxisY.Add(new Axis 32 | { 33 | Foreground = System.Windows.Media.Brushes.DodgerBlue, 34 | Title = "Blue Axis" 35 | }); 36 | cartesianChart1.AxisY.Add(new Axis 37 | { 38 | Foreground = System.Windows.Media.Brushes.IndianRed, 39 | Title = "Red Axis", 40 | Position = AxisPosition.RightTop 41 | }); 42 | cartesianChart1.AxisY.Add(new Axis 43 | { 44 | Foreground = System.Windows.Media.Brushes.DarkOliveGreen, 45 | Title = "Green Axis", 46 | Position = AxisPosition.RightTop 47 | }); 48 | } 49 | } 50 | } 51 | -------------------------------------------------------------------------------- /HZH_Controls/Test/UC/UCTestLiveCharts/Cartesian/NegativeStackedRow/NegativeStackedRow.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Windows.Forms; 3 | using LiveCharts; 4 | using LiveCharts.Wpf; 5 | 6 | namespace Test.UC 7 | { 8 | public partial class NegativeStackedRow : Form 9 | { 10 | public NegativeStackedRow() 11 | { 12 | InitializeComponent(); 13 | 14 | cartesianChart1.Series = new SeriesCollection 15 | { 16 | new StackedRowSeries 17 | { 18 | Title = "Male", 19 | Values = new ChartValues {.5, .7, .8, .8, .6, .2, .6} 20 | }, 21 | new StackedRowSeries 22 | { 23 | Title = "Female", 24 | Values = new ChartValues {-.5, -.7, -.8, -.8, -.6, -.2, -.6} 25 | } 26 | }; 27 | 28 | cartesianChart1.AxisX.Add(new Axis 29 | { 30 | Title = "Age Range", 31 | Labels = new[] {"0-20", "20-35", "35-45", "45-55", "55-65", "65-70", ">70"} 32 | }); 33 | 34 | cartesianChart1.AxisY.Add(new Axis 35 | { 36 | LabelFormatter = value => Math.Abs(value).ToString("P") 37 | }); 38 | 39 | var tooltip = new DefaultTooltip 40 | { 41 | SelectionMode = TooltipSelectionMode.SharedYValues 42 | }; 43 | 44 | cartesianChart1.DataTooltip = tooltip; 45 | 46 | } 47 | } 48 | } 49 | -------------------------------------------------------------------------------- /HZH_Controls/Test/UC/UCTestLiveCharts/Cartesian/PointState/PointState.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Windows.Forms; 3 | using System.Windows.Media; 4 | using LiveCharts; 5 | using LiveCharts.Configurations; 6 | using LiveCharts.Defaults; 7 | using LiveCharts.Wpf; 8 | 9 | namespace Test.UC 10 | { 11 | public partial class PointState : Form 12 | { 13 | private ChartValues _values; 14 | 15 | public PointState() 16 | { 17 | InitializeComponent(); 18 | 19 | var r = new Random(); 20 | _values = new ChartValues 21 | { 22 | new ObservableValue(r.Next(10, 400)), 23 | new ObservableValue(r.Next(10, 400)), 24 | new ObservableValue(r.Next(10, 400)), 25 | new ObservableValue(r.Next(10, 400)), 26 | new ObservableValue(r.Next(10, 400)), 27 | new ObservableValue(r.Next(10, 400)) 28 | }; 29 | 30 | var dangerBrush = new SolidColorBrush(Color.FromRgb(238, 83, 80)); 31 | 32 | //Lets define a custom mapper, to set fill and stroke 33 | //according to chart values... 34 | var mapper = Mappers.Xy() 35 | .X((item, index) => index) 36 | .Y(item => item.Value) 37 | .Fill(item => item.Value > 200 ? dangerBrush : null) 38 | .Stroke(item => item.Value > 200 ? dangerBrush : null); 39 | 40 | cartesianChart1.Series.Add(new LineSeries 41 | { 42 | Configuration = mapper, 43 | Values = _values, 44 | PointGeometrySize = 20, 45 | PointForeground = Brushes.White 46 | }); 47 | 48 | cartesianChart1.AxisY.Add(new Axis 49 | { 50 | LabelFormatter = x => x + " ms" 51 | }); 52 | } 53 | 54 | private void button1_Click(object sender, EventArgs e) 55 | { 56 | var r = new Random(); 57 | foreach (var observable in _values) 58 | { 59 | observable.Value = r.Next(10, 400); 60 | } 61 | } 62 | } 63 | } 64 | -------------------------------------------------------------------------------- /HZH_Controls/Test/UC/UCTestLiveCharts/Cartesian/StepLine/StepLineExample.cs: -------------------------------------------------------------------------------- 1 | using System.Windows.Forms; 2 | using System.Windows.Media; 3 | using LiveCharts; 4 | using LiveCharts.Wpf; 5 | 6 | namespace Test.UC 7 | { 8 | public partial class StepLineExample : Form 9 | { 10 | public StepLineExample() 11 | { 12 | InitializeComponent(); 13 | 14 | cartesianChart1.Series.Add(new StepLineSeries 15 | { 16 | Values = new ChartValues { 9, 6, 5, 7, 8, 9, 7, 6, 7, 5 } 17 | }); 18 | 19 | cartesianChart1.Series.Add(new StepLineSeries 20 | { 21 | Values = new ChartValues {1, 4, 3, 1, 4, 2, 1, 2, 3, 5}, 22 | AlternativeStroke = Brushes.Transparent, 23 | StrokeThickness = 3, 24 | PointGeometry = null 25 | }); 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /HZH_Controls/Test/UC/UCTestLiveCharts/Cartesian/UielementsExample/warning.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kwwwvagaa/NetWinformControl/745462d1c740922257bef8bbdcccbdd2a8a0351d/HZH_Controls/Test/UC/UCTestLiveCharts/Cartesian/UielementsExample/warning.png -------------------------------------------------------------------------------- /HZH_Controls/Test/UC/UCTestLiveCharts/Gauge/AngularGauge/AngularGugeForm.cs: -------------------------------------------------------------------------------- 1 | using System.Windows; 2 | using System.Windows.Forms; 3 | using System.Windows.Media; 4 | using LiveCharts.Wpf; 5 | using Brushes = System.Windows.Media.Brushes; 6 | 7 | namespace Test.UC 8 | { 9 | public partial class AngularGugeForm : Form 10 | { 11 | public AngularGugeForm() 12 | { 13 | InitializeComponent(); 14 | 15 | angularGauge1.Value = 160; 16 | angularGauge1.FromValue = 50; 17 | angularGauge1.ToValue = 250; 18 | angularGauge1.TicksForeground = Brushes.White; 19 | angularGauge1.Base.Foreground = Brushes.White; 20 | angularGauge1.Base.FontWeight = FontWeights.Bold; 21 | angularGauge1.Base.FontSize = 16; 22 | angularGauge1.SectionsInnerRadius = 0.5; 23 | 24 | angularGauge1.Sections.Add(new AngularSection 25 | { 26 | FromValue = 50, 27 | ToValue = 200, 28 | Fill = new SolidColorBrush(Color.FromRgb(247,166,37)) 29 | }); 30 | angularGauge1.Sections.Add(new AngularSection 31 | { 32 | FromValue = 200, 33 | ToValue = 250, 34 | Fill = new SolidColorBrush(Color.FromRgb(254, 57, 57)) 35 | }); 36 | } 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /HZH_Controls/Test/UC/UCTestLiveCharts/Maps/GeoMapExample.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.Threading.Tasks; 9 | using System.Windows.Forms; 10 | 11 | namespace Test.UC 12 | { 13 | public partial class GeoMapExample : Form 14 | { 15 | public GeoMapExample() 16 | { 17 | InitializeComponent(); 18 | 19 | var r = new Random(); 20 | 21 | var values = new Dictionary(); 22 | 23 | values["MX"] = r.Next(0, 100); 24 | values["CA"] = r.Next(0, 100); 25 | values["US"] = r.Next(0, 100); 26 | values["IN"] = r.Next(0, 100); 27 | values["CN"] = r.Next(0, 100); 28 | values["JP"] = r.Next(0, 100); 29 | values["BR"] = r.Next(0, 100); 30 | values["DE"] = r.Next(0, 100); 31 | values["FR"] = r.Next(0, 100); 32 | values["GB"] = r.Next(0, 100); 33 | 34 | var lang = new Dictionary(); 35 | lang["MX"] = "México"; // change the language if necessary 36 | 37 | geoMap1.HeatMap = values; 38 | geoMap1.LanguagePack = lang; 39 | geoMap1.Source = Application.StartupPath + @"\UC\UCTestLiveCharts\Maps\World.xml"; 40 | } 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /HZH_Controls/Test/UC/UCTestLiveCharts/PieChart/DoughnutExample.cs: -------------------------------------------------------------------------------- 1 | using System.Windows.Forms; 2 | using LiveCharts; 3 | using LiveCharts.Wpf; 4 | 5 | namespace Test.UC 6 | { 7 | public partial class DoughnutExample : Form 8 | { 9 | public DoughnutExample() 10 | { 11 | InitializeComponent(); 12 | 13 | pieChart1.InnerRadius = 100; 14 | pieChart1.LegendLocation = LegendLocation.Right; 15 | 16 | pieChart1.Series = new SeriesCollection 17 | { 18 | new PieSeries 19 | { 20 | Title = "Chrome", 21 | Values = new ChartValues {8}, 22 | PushOut = 15, 23 | DataLabels = true 24 | }, 25 | new PieSeries 26 | { 27 | Title = "Mozilla", 28 | Values = new ChartValues {6}, 29 | DataLabels = true 30 | }, 31 | new PieSeries 32 | { 33 | Title = "Opera", 34 | Values = new ChartValues {10}, 35 | DataLabels = true 36 | }, 37 | new PieSeries 38 | { 39 | Title = "Explorer", 40 | Values = new ChartValues {4}, 41 | DataLabels = true 42 | } 43 | }; 44 | } 45 | 46 | private void DoughnutExample_Load(object sender, System.EventArgs e) 47 | { 48 | 49 | } 50 | } 51 | } 52 | -------------------------------------------------------------------------------- /HZH_Controls/Test/UC/UCTestLiveCharts/PieChart/PieChartExample.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Windows.Forms; 3 | using LiveCharts; 4 | using LiveCharts.Wpf; 5 | 6 | namespace Test.UC 7 | { 8 | public partial class PieChartExample : Form 9 | { 10 | public PieChartExample() 11 | { 12 | InitializeComponent(); 13 | 14 | Func labelPoint = chartPoint => 15 | string.Format("{0} ({1:P})", chartPoint.Y, chartPoint.Participation); 16 | 17 | pieChart1.Series = new SeriesCollection 18 | { 19 | new PieSeries 20 | { 21 | Title = "Maria", 22 | Values = new ChartValues {3}, 23 | PushOut = 15, 24 | DataLabels = true, 25 | LabelPoint = labelPoint 26 | }, 27 | new PieSeries 28 | { 29 | Title = "Charles", 30 | Values = new ChartValues {4}, 31 | DataLabels = true, 32 | LabelPoint = labelPoint 33 | }, 34 | new PieSeries 35 | { 36 | Title = "Frida", 37 | Values = new ChartValues {6}, 38 | DataLabels = true, 39 | LabelPoint = labelPoint 40 | }, 41 | new PieSeries 42 | { 43 | Title = "Frederic", 44 | Values = new ChartValues {2}, 45 | DataLabels = true, 46 | LabelPoint = labelPoint 47 | } 48 | }; 49 | 50 | pieChart1.LegendLocation = LegendLocation.Bottom; 51 | } 52 | 53 | private void PieChartExample_Load(object sender, EventArgs e) 54 | { 55 | 56 | } 57 | } 58 | } 59 | -------------------------------------------------------------------------------- /HZH_Controls/Test/UC/UCTestMenu.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 UCTestMenu : UserControl 15 | { 16 | public UCTestMenu() 17 | { 18 | InitializeComponent(); 19 | } 20 | 21 | private void UCTestMenu_Load(object sender, EventArgs e) 22 | { 23 | List lstMenu1 = new List(); 24 | for (int i = 0; i < 2; i++) 25 | { 26 | MenuItemEntity item = new MenuItemEntity() 27 | { 28 | Key = "p" + i.ToString(), 29 | Text = "菜单项" + i, 30 | DataSource = "这里编写一些自定义的数据源,用于扩展" 31 | }; 32 | item.Childrens = new List(); 33 | for (int j = 0; j < 5; j++) 34 | { 35 | MenuItemEntity item2 = new MenuItemEntity() 36 | { 37 | Key = "c" + i.ToString(), 38 | Text = "菜单子项" + i + "-" + j, 39 | DataSource = "这里编写一些自定义的数据源,用于扩展" 40 | }; 41 | item.Childrens.Add(item2); 42 | } 43 | lstMenu1.Add(item); 44 | } 45 | for (int i = 2; i < 4; i++) 46 | { 47 | MenuItemEntity item = new MenuItemEntity() 48 | { 49 | Key = "p" + i.ToString(), 50 | Text = "菜单项" + i, 51 | DataSource = "这里编写一些自定义的数据源,用于扩展" 52 | }; 53 | lstMenu1.Add(item); 54 | } 55 | this.ucMenu1.DataSource = lstMenu1; 56 | 57 | this.ucMenu2.DataSource = lstMenu1; 58 | } 59 | } 60 | } 61 | -------------------------------------------------------------------------------- /HZH_Controls/Test/UC/UCTestMeter.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 UCTestMeter : UserControl 14 | { 15 | public UCTestMeter() 16 | { 17 | InitializeComponent(); 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /HZH_Controls/Test/UC/UCTestNavigation.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 UCTestNavigation : UserControl 14 | { 15 | public UCTestNavigation() 16 | { 17 | InitializeComponent(); 18 | } 19 | 20 | private void ucCrumbNavigation3_ClickItemed(object sender, HZH_Controls.Controls.CrumbNavigationClickEventArgs e) 21 | { 22 | for (int i = 0; i < ucCrumbNavigation3.Items.Length; i++) 23 | { 24 | if (i > e.Index) 25 | ucCrumbNavigation3.Items[i].ItemColor = Color.Gray; 26 | else 27 | ucCrumbNavigation3.Items[i].ItemColor = null; 28 | } 29 | ucCrumbNavigation3.Invalidate(); 30 | } 31 | 32 | private void ucCrumbNavigation4_ClickItemed(object sender, HZH_Controls.Controls.CrumbNavigationClickEventArgs e) 33 | { 34 | for (int i = 0; i < ucCrumbNavigation4.Items.Length; i++) 35 | { 36 | if (i > e.Index) 37 | ucCrumbNavigation4.Items[i].ItemColor = Color.Gray; 38 | else 39 | ucCrumbNavigation4.Items[i].ItemColor = null; 40 | } 41 | ucCrumbNavigation4.Invalidate(); 42 | } 43 | 44 | private void ucCrumbNavigation1_ClickItemed(object sender, HZH_Controls.Controls.CrumbNavigationClickEventArgs e) 45 | { 46 | HZH_Controls.Forms.FrmTips.ShowTipsSuccess(this.FindForm(), e.Item.Text); 47 | } 48 | 49 | private void ucCrumbNavigation2_ClickItemed(object sender, HZH_Controls.Controls.CrumbNavigationClickEventArgs e) 50 | { 51 | HZH_Controls.Forms.FrmTips.ShowTipsSuccess(this.FindForm(), e.Item.Text); 52 | } 53 | } 54 | } 55 | -------------------------------------------------------------------------------- /HZH_Controls/Test/UC/UCTestNavigationMenu.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 UCTestNavigationMenu : UserControl 14 | { 15 | public UCTestNavigationMenu() 16 | { 17 | InitializeComponent(); 18 | } 19 | 20 | private void UCTestNavigationMenu_Load(object sender, EventArgs e) 21 | { 22 | 23 | } 24 | 25 | private void ucNavigationMenu1_ClickItemed(object sender, EventArgs e) 26 | { 27 | if (ucNavigationMenu1.SelectItem != null) 28 | { 29 | HZH_Controls.Forms.FrmTips.ShowTipsSuccess(this.FindForm(), "点击了:" + ucNavigationMenu1.SelectItem.Text); 30 | } 31 | } 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /HZH_Controls/Test/UC/UCTestNavigationMenuOffice.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 | public partial class UCTestNavigationMenuOffice : UserControl 14 | { 15 | public UCTestNavigationMenuOffice() 16 | { 17 | InitializeComponent(); 18 | } 19 | 20 | private void UCTestNavigationMenuOffice_Load(object sender, EventArgs e) 21 | { 22 | foreach (NavigationMenuItemExt item in this.ucNavigationMenuOffice1.Items) 23 | { 24 | Control panel1 =new UCTestNavigationMenuOfficeItem( item.Text); 25 | item.ShowControl = panel1; 26 | } 27 | this.ucNavigationMenuOffice1.ResetChildControl(); 28 | 29 | foreach (NavigationMenuItemExt item in this.ucNavigationMenuOffice2.Items) 30 | { 31 | Control panel1 = new UCTestNavigationMenuOfficeItem(item.Text); 32 | item.ShowControl = panel1; 33 | } 34 | this.ucNavigationMenuOffice2.ResetChildControl(); 35 | 36 | foreach (NavigationMenuItemExt item in this.ucNavigationMenuOffice3.Items) 37 | { 38 | Control panel1 = new UCTestNavigationMenuOfficeItem(item.Text); 39 | item.ShowControl = panel1; 40 | } 41 | this.ucNavigationMenuOffice3.ResetChildControl(); 42 | 43 | foreach (NavigationMenuItemExt item in this.ucNavigationMenuOffice4.Items) 44 | { 45 | Control panel1 = new UCTestNavigationMenuOfficeItem(item.Text); 46 | item.ShowControl = panel1; 47 | } 48 | this.ucNavigationMenuOffice4.ResetChildControl(); 49 | } 50 | 51 | 52 | } 53 | } 54 | -------------------------------------------------------------------------------- /HZH_Controls/Test/UC/UCTestNavigationMenuOfficeItem.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 UCTestNavigationMenuOfficeItem : UserControl 13 | { 14 | public UCTestNavigationMenuOfficeItem(string str) 15 | { 16 | InitializeComponent(); 17 | label1.Text = str; 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /HZH_Controls/Test/UC/UCTestPage.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 UCTestPage : UserControl 14 | { 15 | public UCTestPage() 16 | { 17 | InitializeComponent(); 18 | } 19 | 20 | private void UCTestPage_Load(object sender, EventArgs e) 21 | { 22 | List lstPage2 = new List(); 23 | for (int i = 0; i < 1000; i++) 24 | { 25 | lstPage2.Add(i); 26 | } 27 | ucPagerControl21.PageSize = 10; 28 | ucPagerControl21.DataSource = lstPage2; 29 | 30 | this.ucPagerControl1.PageSize = 10; 31 | this.ucPagerControl1.StartIndex = 0; 32 | ucPagerControl1.DataSource = lstPage2; 33 | this.ucPagerControl1.FirstPage(); 34 | 35 | 36 | ucPagerControl22.PageCount = 10; 37 | ucPagerControl22.PageIndex = 1; 38 | 39 | ucPagerControl2.PageCount = 10; 40 | ucPagerControl2.PageIndex = 1; 41 | } 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /HZH_Controls/Test/UC/UCTestPanelQuote.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 UCTestPanelQuote : UserControl 13 | { 14 | public UCTestPanelQuote() 15 | { 16 | InitializeComponent(); 17 | } 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /HZH_Controls/Test/UC/UCTestPanelTitle.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 UCTestPanelTitle : UserControl 14 | { 15 | public UCTestPanelTitle() 16 | { 17 | InitializeComponent(); 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /HZH_Controls/Test/UC/UCTestRadarChart.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 UCTestRadarChart : UserControl 14 | { 15 | public UCTestRadarChart() 16 | { 17 | InitializeComponent(); 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /HZH_Controls/Test/UC/UCTestRollText.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 UCTestRollText : UserControl 14 | { 15 | public UCTestRollText() 16 | { 17 | InitializeComponent(); 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /HZH_Controls/Test/UC/UCTestRotor.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 UCTestRotor : UserControl 13 | { 14 | public UCTestRotor() 15 | { 16 | InitializeComponent(); 17 | } 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /HZH_Controls/Test/UC/UCTestSampling.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 UCTestSampling : UserControl 15 | { 16 | public UCTestSampling() 17 | { 18 | InitializeComponent(); 19 | } 20 | bool blnIn = false; 21 | private void ucSampling10_MouseEnter(object sender, EventArgs e) 22 | { 23 | blnIn = true; 24 | UCSampling uc = (UCSampling)sender; 25 | uc.Invalidate(); 26 | } 27 | 28 | private void ucSampling10_MouseLeave(object sender, EventArgs e) 29 | { 30 | blnIn = false; 31 | UCSampling uc = (UCSampling)sender; 32 | uc.Invalidate(); 33 | } 34 | 35 | private void ucSampling10_Paint(object sender, PaintEventArgs e) 36 | { 37 | if (blnIn) 38 | { 39 | UCSampling uc = (UCSampling)sender; 40 | e.Graphics.FillPath(new SolidBrush(Color.FromArgb(50, Color.White)), uc.BorderPath); 41 | } 42 | } 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /HZH_Controls/Test/UC/UCTestScrollbar.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 UCTestScrollbar : UserControl 14 | { 15 | Point pt; 16 | public UCTestScrollbar() 17 | { 18 | InitializeComponent(); 19 | DataTable dt = new DataTable(); 20 | for (int i = 0; i < 10; i++) 21 | { 22 | dt.Columns.Add(i.ToString()); 23 | } 24 | for (int i = 0; i < 50; i++) 25 | { 26 | DataRow dr = dt.NewRow(); 27 | for (int j = 0; j < 10; j++) 28 | { 29 | dr[j] =i+""+ j; 30 | } 31 | dt.Rows.Add(dr); 32 | } 33 | this.dataGridView1.DataSource = dt; 34 | } 35 | 36 | private void UCTestScrollbar_Load(object sender, EventArgs e) 37 | { 38 | 39 | } 40 | 41 | private void panel1_VisibleChanged(object sender, EventArgs e) 42 | { 43 | 44 | } 45 | 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /HZH_Controls/Test/UC/UCTestShadow.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 UCTestShadow : UserControl 14 | { 15 | public UCTestShadow() 16 | { 17 | InitializeComponent(); 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /HZH_Controls/Test/UC/UCTestSignalLamp.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 UCTestSignalLamp : UserControl 14 | { 15 | public UCTestSignalLamp() 16 | { 17 | InitializeComponent(); 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /HZH_Controls/Test/UC/UCTestSplitLabel.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 UCTestSplitLabel : UserControl 14 | { 15 | public UCTestSplitLabel() 16 | { 17 | InitializeComponent(); 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /HZH_Controls/Test/UC/UCTestStep.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 UCTestStep : UserControl 14 | { 15 | public UCTestStep() 16 | { 17 | InitializeComponent(); 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /HZH_Controls/Test/UC/UCTestSyringe.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 UCTestSyringe : UserControl 13 | { 14 | public UCTestSyringe() 15 | { 16 | InitializeComponent(); 17 | } 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /HZH_Controls/Test/UC/UCTestTab.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 UCTestTab : UserControl 14 | { 15 | public UCTestTab() 16 | { 17 | InitializeComponent(); 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /HZH_Controls/Test/UC/UCTestThermometer.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 UCTestThermometer : UserControl 14 | { 15 | public UCTestThermometer() 16 | { 17 | InitializeComponent(); 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /HZH_Controls/Test/UC/UCTestTimeLine.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 UCTestTimeLine : UserControl 13 | { 14 | public UCTestTimeLine() 15 | { 16 | InitializeComponent(); 17 | } 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /HZH_Controls/Test/UC/UCTestTips.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.Forms; 10 | 11 | namespace Test.UC 12 | { 13 | [ToolboxItem(false)] 14 | public partial class UCTestTips : UserControl 15 | { 16 | public UCTestTips() 17 | { 18 | InitializeComponent(); 19 | } 20 | 21 | private void ucBtnExt1_BtnClick(object sender, EventArgs e) 22 | { 23 | ShowTips(sender as HZH_Controls.Controls.UCBtnExt); 24 | } 25 | 26 | private void ShowTips(HZH_Controls.Controls.UCBtnExt ucBtnExt1) 27 | { 28 | HZH_Controls.Forms.FrmAnchorTips.ShowTips(ucBtnExt1, "测试提示信息\nLEFT", AnchorTipsLocation.LEFT, ucBtnExt1.FillColor); 29 | HZH_Controls.Forms.FrmAnchorTips.ShowTips(ucBtnExt1, "测试提示信息\nRIGHT", AnchorTipsLocation.RIGHT, ucBtnExt1.FillColor); 30 | HZH_Controls.Forms.FrmAnchorTips.ShowTips(ucBtnExt1, "测试提示信息\nTOP", AnchorTipsLocation.TOP, ucBtnExt1.FillColor); 31 | HZH_Controls.Forms.FrmAnchorTips.ShowTips(ucBtnExt1, "测试提示信息\nBOTTOM", AnchorTipsLocation.BOTTOM, ucBtnExt1.FillColor); 32 | } 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /HZH_Controls/Test/UC/UCTestTrackbar.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 UCTestTrackbar : UserControl 14 | { 15 | public UCTestTrackbar() 16 | { 17 | InitializeComponent(); 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /HZH_Controls/Test/UC/UCTestTransfer.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 UCTestTransfer : UserControl 15 | { 16 | public UCTestTransfer() 17 | { 18 | InitializeComponent(); 19 | } 20 | 21 | private void UCTestTransfer_Load(object sender, EventArgs e) 22 | { 23 | DataGridViewColumnEntity[] lstLeftCulumns = new DataGridViewColumnEntity[1]; 24 | lstLeftCulumns[0] = new DataGridViewColumnEntity() { DataField = "Value", HeadText = "列表一", TextAlign= ContentAlignment.MiddleLeft }; 25 | 26 | DataGridViewColumnEntity[] lstRightCulumns = new DataGridViewColumnEntity[1]; 27 | lstRightCulumns[0] = new DataGridViewColumnEntity() { DataField = "Value", HeadText = "列表二", TextAlign = ContentAlignment.MiddleLeft }; 28 | 29 | this.ucTransfer1.LeftColumns = lstLeftCulumns; 30 | this.ucTransfer1.RightColumns = lstRightCulumns; 31 | 32 | var lstItems = new TestModel[5]; 33 | for (int i = 0; i < 5; i++) 34 | { 35 | lstItems[i] = new TestModel() { Key = i, Value = "选择项" + i }; 36 | } 37 | 38 | this.ucTransfer1.LeftDataSource = lstItems; 39 | this.ucTransfer1.RightDataSource = new TestModel[0]; 40 | 41 | } 42 | 43 | private class TestModel 44 | { 45 | public int Key { get; set; } 46 | public string Value { get; set; } 47 | } 48 | } 49 | } 50 | -------------------------------------------------------------------------------- /HZH_Controls/Test/UC/UCTestTurntable.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 | public partial class UCTestTurntable : UserControl 14 | { 15 | public UCTestTurntable() 16 | { 17 | InitializeComponent(); 18 | } 19 | 20 | private void UCTestTurntable_Load(object sender, EventArgs e) 21 | { 22 | Dictionary lst = new Dictionary(); 23 | for (int i = 0; i < 5; i++) 24 | { 25 | lst[i] = new UCBottle() { Direction = Direction.Up, NO = "#" + i }; 26 | } 27 | this.ucTurntable1.SetItems(lst); 28 | } 29 | 30 | private void ucBtnExt1_BtnClick(object sender, EventArgs e) 31 | { 32 | this.ucTurntable1.LeftItem(); 33 | } 34 | 35 | private void ucBtnExt2_BtnClick(object sender, EventArgs e) 36 | { 37 | this.ucTurntable1.RightItem(); 38 | } 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /HZH_Controls/Test/UC/UCTestUCEllipseDialAisle.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 UCTestUCEllipseDialAisle : UserControl 13 | { 14 | public UCTestUCEllipseDialAisle() 15 | { 16 | InitializeComponent(); 17 | } 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /HZH_Controls/Test/UC/UCTestValve.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 UCTestValve : UserControl 14 | { 15 | public UCTestValve() 16 | { 17 | InitializeComponent(); 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /HZH_Controls/Test/UC/UCTestWave.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 UCTestWave : UserControl 14 | { 15 | public UCTestWave() 16 | { 17 | InitializeComponent(); 18 | } 19 | 20 | private void ucTrackBar1_ValueChanged(object sender, EventArgs e) 21 | { 22 | this.ucWave1.WaveSleep = (int)ucTrackBar1.Value; 23 | this.ucWave2.WaveSleep = (int)ucTrackBar1.Value; 24 | } 25 | 26 | private void ucTrackBar2_ValueChanged(object sender, EventArgs e) 27 | { 28 | this.ucWave1.WaveHeight = (int)ucTrackBar2.Value; 29 | this.ucWave2.WaveHeight = (int)ucTrackBar2.Value; 30 | } 31 | 32 | private void ucTrackBar3_ValueChanged(object sender, EventArgs e) 33 | { 34 | this.ucWave1.WaveWidth = (int)ucTrackBar3.Value; 35 | this.ucWave2.WaveWidth = (int)ucTrackBar3.Value; 36 | } 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /HZH_Controls/Test/UC/UCTestWaveChart.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 UCTestWaveChart : UserControl 14 | { 15 | public UCTestWaveChart() 16 | { 17 | InitializeComponent(); 18 | } 19 | 20 | private void timer1_Tick(object sender, EventArgs e) 21 | { 22 | Random r = new Random(); 23 | int i = r.Next(100, 200); 24 | this.ucWaveChart1.AddSource(i.ToString(), i); 25 | this.ucWaveChart2.AddSource(i.ToString(), i); 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /HZH_Controls/Test/UCShouQuan.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 System.Diagnostics; 10 | 11 | namespace Test 12 | { 13 | public partial class UCShouQuan : UserControl 14 | { 15 | public UCShouQuan() 16 | { 17 | InitializeComponent(); 18 | } 19 | 20 | private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) 21 | { 22 | Process.Start("https://shang.qq.com/wpa/qunwpa?idkey=6e08741ef16fe53bf0314c1c9e336c4f626047943a8b76bac062361bab6b4f8d"); 23 | } 24 | 25 | private void linkLabel2_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) 26 | { 27 | Process.Start("tencent://AddContact/?fromId=45&fromSubId=1&subcmd=all&uin=623128629"); 28 | } 29 | 30 | private void linkLabel3_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) 31 | { 32 | Process.Start(linkLabel3.Text); 33 | } 34 | 35 | private void linkLabel4_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) 36 | { 37 | Process.Start(linkLabel4.Text); 38 | } 39 | 40 | private void linkLabel5_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) 41 | { 42 | Process.Start(linkLabel5.Text); 43 | } 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /HZH_Controls/Test/log.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kwwwvagaa/NetWinformControl/745462d1c740922257bef8bbdcccbdd2a8a0351d/HZH_Controls/Test/log.ico -------------------------------------------------------------------------------- /HZH_Controls/Test/logo.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kwwwvagaa/NetWinformControl/745462d1c740922257bef8bbdcccbdd2a8a0351d/HZH_Controls/Test/logo.ico -------------------------------------------------------------------------------- /HZH_Controls/Test/packages.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /HZH_Controls/packages/LiveCharts.0.9.7/LiveCharts.0.9.7.nupkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kwwwvagaa/NetWinformControl/745462d1c740922257bef8bbdcccbdd2a8a0351d/HZH_Controls/packages/LiveCharts.0.9.7/LiveCharts.0.9.7.nupkg -------------------------------------------------------------------------------- /HZH_Controls/packages/LiveCharts.0.9.7/lib/net40/LiveCharts.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kwwwvagaa/NetWinformControl/745462d1c740922257bef8bbdcccbdd2a8a0351d/HZH_Controls/packages/LiveCharts.0.9.7/lib/net40/LiveCharts.dll -------------------------------------------------------------------------------- /HZH_Controls/packages/LiveCharts.0.9.7/lib/net40/LiveCharts.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kwwwvagaa/NetWinformControl/745462d1c740922257bef8bbdcccbdd2a8a0351d/HZH_Controls/packages/LiveCharts.0.9.7/lib/net40/LiveCharts.pdb -------------------------------------------------------------------------------- /HZH_Controls/packages/LiveCharts.0.9.7/lib/net45/LiveCharts.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kwwwvagaa/NetWinformControl/745462d1c740922257bef8bbdcccbdd2a8a0351d/HZH_Controls/packages/LiveCharts.0.9.7/lib/net45/LiveCharts.dll -------------------------------------------------------------------------------- /HZH_Controls/packages/LiveCharts.0.9.7/lib/net45/LiveCharts.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kwwwvagaa/NetWinformControl/745462d1c740922257bef8bbdcccbdd2a8a0351d/HZH_Controls/packages/LiveCharts.0.9.7/lib/net45/LiveCharts.pdb -------------------------------------------------------------------------------- /HZH_Controls/packages/LiveCharts.0.9.7/lib/portable-net45+win8+wp8/LiveCharts.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kwwwvagaa/NetWinformControl/745462d1c740922257bef8bbdcccbdd2a8a0351d/HZH_Controls/packages/LiveCharts.0.9.7/lib/portable-net45+win8+wp8/LiveCharts.dll -------------------------------------------------------------------------------- /HZH_Controls/packages/LiveCharts.0.9.7/lib/portable-net45+win8+wp8/LiveCharts.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kwwwvagaa/NetWinformControl/745462d1c740922257bef8bbdcccbdd2a8a0351d/HZH_Controls/packages/LiveCharts.0.9.7/lib/portable-net45+win8+wp8/LiveCharts.pdb -------------------------------------------------------------------------------- /HZH_Controls/packages/LiveCharts.0.9.7/readme.txt: -------------------------------------------------------------------------------- 1 | ================================== 2 | <<<<<<<<<<< IMPORTANT >>>>>>>>>>>> 3 | ================================== 4 | 5 | LiveCharts is now multipatform (at least the design). 6 | 7 | So this package contains nothing but the core of the library, 8 | you might also need to install the desired platform. 9 | 10 | For example if using wpf you must also install the wpf package. 11 | 12 | ------------------------------------ 13 | > Install-Package LiveCharts.Wpf 14 | ------------------------------------ 15 | 16 | For future updates, you will only need to update LiveCharts.Wpf (or any other platform) 17 | forget about the core, all the platforms packages will have a dependency to core. 18 | 19 | ------------------------------------ 20 | > Update-Package LiveCharts.Wpf 21 | ------------------------------------ 22 | 23 | Happy coding! -------------------------------------------------------------------------------- /HZH_Controls/packages/LiveCharts.WinForms.0.9.7.1/LiveCharts.WinForms.0.9.7.1.nupkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kwwwvagaa/NetWinformControl/745462d1c740922257bef8bbdcccbdd2a8a0351d/HZH_Controls/packages/LiveCharts.WinForms.0.9.7.1/LiveCharts.WinForms.0.9.7.1.nupkg -------------------------------------------------------------------------------- /HZH_Controls/packages/LiveCharts.WinForms.0.9.7.1/lib/net40/LiveCharts.WinForms.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kwwwvagaa/NetWinformControl/745462d1c740922257bef8bbdcccbdd2a8a0351d/HZH_Controls/packages/LiveCharts.WinForms.0.9.7.1/lib/net40/LiveCharts.WinForms.dll -------------------------------------------------------------------------------- /HZH_Controls/packages/LiveCharts.WinForms.0.9.7.1/lib/net40/LiveCharts.WinForms.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kwwwvagaa/NetWinformControl/745462d1c740922257bef8bbdcccbdd2a8a0351d/HZH_Controls/packages/LiveCharts.WinForms.0.9.7.1/lib/net40/LiveCharts.WinForms.pdb -------------------------------------------------------------------------------- /HZH_Controls/packages/LiveCharts.WinForms.0.9.7.1/lib/net45/LiveCharts.WinForms.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kwwwvagaa/NetWinformControl/745462d1c740922257bef8bbdcccbdd2a8a0351d/HZH_Controls/packages/LiveCharts.WinForms.0.9.7.1/lib/net45/LiveCharts.WinForms.dll -------------------------------------------------------------------------------- /HZH_Controls/packages/LiveCharts.WinForms.0.9.7.1/lib/net45/LiveCharts.WinForms.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kwwwvagaa/NetWinformControl/745462d1c740922257bef8bbdcccbdd2a8a0351d/HZH_Controls/packages/LiveCharts.WinForms.0.9.7.1/lib/net45/LiveCharts.WinForms.pdb -------------------------------------------------------------------------------- /HZH_Controls/packages/LiveCharts.WinForms.0.9.7.1/tools/install.ps1: -------------------------------------------------------------------------------- 1 | param($installPath, $toolsPath, $package, $project) 2 | 3 | $DTE.ItemOperations.Navigate("https://lvcharts.net/thanks/wpf") -------------------------------------------------------------------------------- /HZH_Controls/packages/LiveCharts.Wpf.0.9.7/LiveCharts.Wpf.0.9.7.nupkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kwwwvagaa/NetWinformControl/745462d1c740922257bef8bbdcccbdd2a8a0351d/HZH_Controls/packages/LiveCharts.Wpf.0.9.7/LiveCharts.Wpf.0.9.7.nupkg -------------------------------------------------------------------------------- /HZH_Controls/packages/LiveCharts.Wpf.0.9.7/lib/net40/LiveCharts.Wpf.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kwwwvagaa/NetWinformControl/745462d1c740922257bef8bbdcccbdd2a8a0351d/HZH_Controls/packages/LiveCharts.Wpf.0.9.7/lib/net40/LiveCharts.Wpf.dll -------------------------------------------------------------------------------- /HZH_Controls/packages/LiveCharts.Wpf.0.9.7/lib/net40/LiveCharts.Wpf.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kwwwvagaa/NetWinformControl/745462d1c740922257bef8bbdcccbdd2a8a0351d/HZH_Controls/packages/LiveCharts.Wpf.0.9.7/lib/net40/LiveCharts.Wpf.pdb -------------------------------------------------------------------------------- /HZH_Controls/packages/LiveCharts.Wpf.0.9.7/lib/net45/LiveCharts.Wpf.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kwwwvagaa/NetWinformControl/745462d1c740922257bef8bbdcccbdd2a8a0351d/HZH_Controls/packages/LiveCharts.Wpf.0.9.7/lib/net45/LiveCharts.Wpf.dll -------------------------------------------------------------------------------- /HZH_Controls/packages/LiveCharts.Wpf.0.9.7/lib/net45/LiveCharts.Wpf.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kwwwvagaa/NetWinformControl/745462d1c740922257bef8bbdcccbdd2a8a0351d/HZH_Controls/packages/LiveCharts.Wpf.0.9.7/lib/net45/LiveCharts.Wpf.pdb -------------------------------------------------------------------------------- /HZH_Controls/packages/LiveCharts.Wpf.0.9.7/tools/install.ps1: -------------------------------------------------------------------------------- 1 | param($installPath, $toolsPath, $package, $project) 2 | 3 | $DTE.ItemOperations.Navigate("https://lvcharts.net/thanks/wpf") -------------------------------------------------------------------------------- /HZH_Controls/packages/repositories.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | -------------------------------------------------------------------------------- /logo.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kwwwvagaa/NetWinformControl/745462d1c740922257bef8bbdcccbdd2a8a0351d/logo.ico --------------------------------------------------------------------------------