📄 form1.cs
字号:
this.Brush_PathGradientBrush_Star2,
this.Brush_Using_MorePathGradientBrush,
this.Brush_PathGradientBrush_WrapMode,
this.Brush_PathGradientBrush_CenterPoint,
this.Brush_PathGradientBrush_InterpolationColors,
this.Brsuh_PathGradietBrush_Focus,
this.Brush_PathGradientBrush_Transform});
this.menuItem4.Text = "路径渐变画刷";
//
// Brush_PathGradientBrush_Star
//
this.Brush_PathGradientBrush_Star.Index = 0;
this.Brush_PathGradientBrush_Star.Text = "构造五星";
this.Brush_PathGradientBrush_Star.Click += new System.EventHandler(this.Brush_PathGradientBrush_Star_Click);
//
// Brush_PathGradientBrush_Star2
//
this.Brush_PathGradientBrush_Star2.Index = 1;
this.Brush_PathGradientBrush_Star2.Text = "构造五星(2)";
this.Brush_PathGradientBrush_Star2.Click += new System.EventHandler(this.Brush_PathGradientBrush_Star2_Click);
//
// Brush_Using_MorePathGradientBrush
//
this.Brush_Using_MorePathGradientBrush.Index = 2;
this.Brush_Using_MorePathGradientBrush.Text = "使用不同的路径渐变画刷";
this.Brush_Using_MorePathGradientBrush.Click += new System.EventHandler(this.Brush_Using_MorePathGradientBrush_Click);
//
// Brush_PathGradientBrush_WrapMode
//
this.Brush_PathGradientBrush_WrapMode.Index = 3;
this.Brush_PathGradientBrush_WrapMode.Text = "路径渐变画刷的排列方式";
this.Brush_PathGradientBrush_WrapMode.Click += new System.EventHandler(this.Brush_PathGradientBrush_WrapMode_Click);
//
// Brush_PathGradientBrush_CenterPoint
//
this.Brush_PathGradientBrush_CenterPoint.Index = 4;
this.Brush_PathGradientBrush_CenterPoint.Text = "更改路径渐变画刷的中心点";
this.Brush_PathGradientBrush_CenterPoint.Click += new System.EventHandler(this.Brush_PathGradientBrush_CenterPoint_Click);
//
// Brush_PathGradientBrush_InterpolationColors
//
this.Brush_PathGradientBrush_InterpolationColors.Index = 5;
this.Brush_PathGradientBrush_InterpolationColors.Text = "使用多色渐变";
this.Brush_PathGradientBrush_InterpolationColors.Click += new System.EventHandler(this.Brush_PathGradientBrush_InterpolationColors_Click);
//
// Brsuh_PathGradietBrush_Focus
//
this.Brsuh_PathGradietBrush_Focus.Index = 6;
this.Brsuh_PathGradietBrush_Focus.Text = "更改画刷的焦点缩放比例";
this.Brsuh_PathGradietBrush_Focus.Click += new System.EventHandler(this.Brsuh_PathGradietBrush_Focus_Click);
//
// Brush_PathGradientBrush_Transform
//
this.Brush_PathGradientBrush_Transform.Index = 7;
this.Brush_PathGradientBrush_Transform.Text = "路径渐变画刷的变换";
this.Brush_PathGradientBrush_Transform.Click += new System.EventHandler(this.Brush_PathGradientBrush_Transform_Click);
//
// menuItem8
//
this.menuItem8.Index = 2;
this.menuItem8.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
this.Font_UsingFontInGDIPlus,
this.Font_EnumAllFonts,
this.Font_EnhanceFontDialog,
this.Font_UsingTextRenderHint,
this.Font_Privatefontcollection,
this.Font_Privatefontcollection2,
this.Font_IsStyleAvailable,
this.Font_Size,
this.Font_BaseLine,
this.Font_DrawString,
this.Font_MeasureString,
this.Font_MeasureString2,
this.Font_ColumnTextOut,
this.Font_StirngTrimming,
this.Font_TextOutClip,
this.Font_MeasureCharacterRanges,
this.Font_TextoutDirection,
this.Font_TextAlignment,
this.Font_TextAlignment2,
this.Font_TextoutUsingTabs,
this.Font_UsingTabs,
this.Font_TextoutHotkeyPrefix,
this.Font_TextoutShadow,
this.Font_TextoutHashline,
this.Font_TextoutTexture,
this.Font_TextoutGradient});
this.menuItem8.Text = "文本与字体";
//
// Font_UsingFontInGDIPlus
//
this.Font_UsingFontInGDIPlus.Index = 0;
this.Font_UsingFontInGDIPlus.Text = "在GDI+中使用字体(&A)";
this.Font_UsingFontInGDIPlus.Click += new System.EventHandler(this.Font_UsingFontInGDIPlus_Click);
//
// Font_EnumAllFonts
//
this.Font_EnumAllFonts.Index = 1;
this.Font_EnumAllFonts.Text = "获取已安装的字体";
this.Font_EnumAllFonts.Click += new System.EventHandler(this.Font_EnumAllFonts_Click);
//
// Font_EnhanceFontDialog
//
this.Font_EnhanceFontDialog.Index = 2;
this.Font_EnhanceFontDialog.Text = "增强型字体选择对话框";
this.Font_EnhanceFontDialog.Click += new System.EventHandler(this.Font_EnhanceFontDialog_Click);
//
// Font_UsingTextRenderHint
//
this.Font_UsingTextRenderHint.Index = 3;
this.Font_UsingTextRenderHint.Text = "设置字体的边缘处理方式";
this.Font_UsingTextRenderHint.Click += new System.EventHandler(this.Font_UsingTextRenderHint_Click);
//
// Font_Privatefontcollection
//
this.Font_Privatefontcollection.Index = 4;
this.Font_Privatefontcollection.Text = "使用私有字体集合";
this.Font_Privatefontcollection.Click += new System.EventHandler(this.Font_Privatefontcollection_Click);
//
// Font_Privatefontcollection2
//
this.Font_Privatefontcollection2.Index = 5;
this.Font_Privatefontcollection2.Text = "在私有字体集合中使用多个字体";
this.Font_Privatefontcollection2.Click += new System.EventHandler(this.Font_Privatefontcollection2_Click);
//
// Font_IsStyleAvailable
//
this.Font_IsStyleAvailable.Index = 6;
this.Font_IsStyleAvailable.Text = "在私有字体集合中检查字体信息的可用性";
this.Font_IsStyleAvailable.Click += new System.EventHandler(this.Font_IsStyleAvailable_Click);
//
// Font_Size
//
this.Font_Size.Index = 7;
this.Font_Size.Text = "在程序中访问字体(系列)的大小信息";
this.Font_Size.Click += new System.EventHandler(this.Font_Size_Click);
//
// Font_BaseLine
//
this.Font_BaseLine.Index = 8;
this.Font_BaseLine.Text = "设置文本输出的基线";
this.Font_BaseLine.Click += new System.EventHandler(this.Font_BaseLine_Click);
//
// Font_DrawString
//
this.Font_DrawString.Index = 9;
this.Font_DrawString.Text = "使用GDI+绘制文本";
this.Font_DrawString.Click += new System.EventHandler(this.Font_DrawString_Click);
//
// Font_MeasureString
//
this.Font_MeasureString.Index = 10;
this.Font_MeasureString.Text = "测量文本";
this.Font_MeasureString.Click += new System.EventHandler(this.Font_MeasureString_Click);
//
// Font_MeasureString2
//
this.Font_MeasureString2.Index = 11;
this.Font_MeasureString2.Text = "计算指定区域中能够显示的字符总数及行数";
this.Font_MeasureString2.Click += new System.EventHandler(this.Font_MeasureString2_Click);
//
// Font_ColumnTextOut
//
this.Font_ColumnTextOut.Index = 12;
this.Font_ColumnTextOut.Text = "实现文件的分栏显示";
this.Font_ColumnTextOut.Click += new System.EventHandler(this.Font_ColumnTextOut_Click);
//
// Font_StirngTrimming
//
this.Font_StirngTrimming.Index = 13;
this.Font_StirngTrimming.Text = "字符串的去尾";
this.Font_StirngTrimming.Click += new System.EventHandler(this.Font_StirngTrimming_Click);
//
// Font_TextOutClip
//
this.Font_TextOutClip.Index = 14;
this.Font_TextOutClip.Text = "文本输出的剪裁修正";
this.Font_TextOutClip.Click += new System.EventHandler(this.Font_TextOutClip_Click);
//
// Font_MeasureCharacterRanges
//
this.Font_MeasureCharacterRanges.Index = 15;
this.Font_MeasureCharacterRanges.Text = "测量文本的局部输出区域";
this.Font_MeasureCharacterRanges.Click += new System.EventHandler(this.Font_MeasureCharacterRanges_Click);
//
// Font_TextoutDirection
//
this.Font_TextoutDirection.Index = 16;
this.Font_TextoutDirection.Text = "控制文本输出方向";
this.Font_TextoutDirection.Click += new System.EventHandler(this.Font_TextoutDirection_Click);
//
// Font_TextAlignment
//
this.Font_TextAlignment.Index = 17;
this.Font_TextAlignment.Text = "设置文本对齐方式";
this.Font_TextAlignment.Click += new System.EventHandler(this.Font_TextAlignment_Click);
//
// Font_TextAlignment2
//
this.Font_TextAlignment2.Index = 18;
this.Font_TextAlignment2.Text = "设置文本对齐方式(2)";
this.Font_TextAlignment2.Click += new System.EventHandler(this.Font_TextAlignment2_Click);
//
// Font_TextoutUsingTabs
//
this.Font_TextoutUsingTabs.Index = 19;
this.Font_TextoutUsingTabs.Text = "设置和获取制表符信息";
this.Font_TextoutUsingTabs.Click += new System.EventHandler(this.Font_TextoutUsingTabs_Click);
//
// Font_UsingTabs
//
this.Font_UsingTabs.Index = 20;
this.Font_UsingTabs.Text = "使用制表位进行表格输出";
this.Font_UsingTabs.Click += new System.EventHandler(this.Font_UsingTabs_Click);
//
// Font_TextoutHotkeyPrefix
//
this.Font_TextoutHotkeyPrefix.Index = 21;
this.Font_TextoutHotkeyPrefix.Text = "快捷键前导字符显示";
this.Font_TextoutHotkeyPrefix.Click += new System.EventHandler(this.Font_TextoutHotkeyPrefix_Click);
//
// Font_TextoutShadow
//
this.Font_TextoutShadow.Index = 22;
this.Font_TextoutShadow.Text = "阴影字特效";
this.Font_TextoutShadow.Click += new System.EventHandler(this.Font_TextoutShadow_Click);
//
// Font_TextoutHashline
//
this.Font_TextoutHashline.Index = 23;
this.Font_TextoutHashline.Text = "使用影线画刷绘制文本";
this.Font_TextoutHashline.Click += new System.EventHandler(this.Font_TextoutHashline_Click);
//
// Font_TextoutTexture
//
this.Font_TextoutTexture.Index = 24;
this.Font_TextoutTexture.Text = "绘制纹理字";
this.Font_TextoutTexture.Click += new System.EventHandler(this.Font_TextoutTexture_Click);
//
// Font_TextoutGradient
//
this.Font_TextoutGradient.Index = 25;
this.Font_TextoutGradient.Text = "使用渐变画刷绘制文本";
this.Font_TextoutGradient.Click += new System.EventHandler(this.Font_TextoutGradient_Click);
//
// menuItem9
//
this.menuItem9.Index = 3;
this.menuItem9.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
this.Path_Construct,
this.Path_AddLines,
this.Path_CloseFigure,
this.Path_FillPath,
this.Path_AddSubPath,
this.Path_GetSubPath,
this.Path_GetPoints,
this.Path_PathData,
this.Path_ViewPointFLAG,
this.Path_SubPathRange,
this.Path_Flatten,
this.Path_Warp,
this.Path_Transform,
this.Path_Widen,
this.Path_WidenDemo,
this.Region_FromPath,
this.Region_Calculate,
this.Region_GetRects});
this.menuItem9.Text = "路径和区域";
this.menuItem9.Click += new System.EventHandler(this.menuItem9_Click);
//
// Path_Construct
//
this.Path_Construct.Index = 0;
this.Path_Construct.Text = "构造路径";
this.Path_Construct.Click += new System.EventHandler(this.Path_Construct_Click);
//
// Path_AddLines
//
this.Path_AddLines.Index = 1;
this.Path_AddLines.Text = "在路径中添加多条线段";
this.Path_AddLines.Click += new System.EventHandler(this.Path_AddLines_Click);
//
// Path_CloseFigure
//
this.Path_CloseFigure.Index = 2;
this.Path_CloseFigure.Text = "封闭图形";
this.Path_CloseFigure.Click += new System.EventHandler(this.Path_CloseFigure_Click);
//
// Path_FillPath
//
this.Path_FillPath.Index = 3;
this.Path_FillPath.Text = "路径的填充";
this.Path_FillPath.Click += new System.EventHandler(this.Path_FillPath_Click);
//
// Path_AddSubPath
//
this.Path_AddSubPath.Index = 4;
this.Path_AddSubPath.Text = "添加子路径";
this.Path_AddSubPath.Click += new System.EventHandler(this.Path_AddSubPath_Click);
//
// Path_GetSubPath
//
this.Path_GetSubPath.Index = 5;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -