winform 仪表盘相关下载链接://download.csdn.net/download/floweroflvoe/10432601?utm_source=bbsseo

控件首次拖拽上来是这样的:        Demo中美化之后是这样的:      这是修改demo后的成果:

        

其中颜色是一点一点配出来的,线条与色块是一个一个Range调整大小与位置得到的,最后的指针颜色本是没有和谐的颜色,通过修改源代码添加了合适的颜色。

样式是通过属性编辑器添加修改的,最后生成的设计器具体代码如下:

//
// aGauge1
//
this.aGauge1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)()))), ((int)(((byte)()))), ((int)(((byte)()))));
this.aGauge1.BaseArcColor = System.Drawing.Color.FromArgb(((int)(((byte)()))), ((int)(((byte)()))), ((int)(((byte)()))));
this.aGauge1.BaseArcRadius = ;
this.aGauge1.BaseArcStart = ;
this.aGauge1.BaseArcSweep = ;
this.aGauge1.BaseArcWidth = ;
this.aGauge1.Dock = System.Windows.Forms.DockStyle.Fill;
this.aGauge1.GaugeAutoSize = true;
aGaugeLabel1.Color = System.Drawing.Color.White;
aGaugeLabel1.Font = new System.Drawing.Font("Verdana", 9.75F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)()));
aGaugeLabel1.Name = "GaugeLabel1";
aGaugeLabel1.Position = new System.Drawing.Point(, );
aGaugeLabel1.Text = "";
this.aGauge1.GaugeLabels.Add(aGaugeLabel1);
aGaugeRange1.Color = System.Drawing.Color.FromArgb(((int)(((byte)()))), ((int)(((byte)()))), ((int)(((byte)()))));
aGaugeRange1.EndValue = 6.8F;
aGaugeRange1.InnerRadius = ;
aGaugeRange1.InRange = false;
aGaugeRange1.Name = "ShortRange";
aGaugeRange1.OuterRadius = ;
aGaugeRange1.StartValue = 1.8F;
aGaugeRange2.Color = System.Drawing.Color.FromArgb(((int)(((byte)()))), ((int)(((byte)()))), ((int)(((byte)()))));
aGaugeRange2.EndValue = 1.7F;
aGaugeRange2.InnerRadius = ;
aGaugeRange2.InRange = false;
aGaugeRange2.Name = "GaugeRange3";
aGaugeRange2.OuterRadius = ;
aGaugeRange2.StartValue = 1.2F;
aGaugeRange3.Color = System.Drawing.Color.FromArgb(((int)(((byte)()))), ((int)(((byte)()))), ((int)(((byte)()))));
aGaugeRange3.EndValue = 1F;
aGaugeRange3.InnerRadius = ;
aGaugeRange3.InRange = false;
aGaugeRange3.Name = "GaugeRange2";
aGaugeRange3.OuterRadius = ;
aGaugeRange3.StartValue = 0.5F;
aGaugeRange4.Color = System.Drawing.Color.FromArgb(((int)(((byte)()))), ((int)(((byte)()))), ((int)(((byte)()))));
aGaugeRange4.EndValue = 0.3F;
aGaugeRange4.InnerRadius = ;
aGaugeRange4.InRange = false;
aGaugeRange4.Name = "GaugeRange1";
aGaugeRange4.OuterRadius = ;
aGaugeRange4.StartValue = -0.2F;
aGaugeRange5.Color = System.Drawing.Color.FromArgb(((int)(((byte)()))), ((int)(((byte)()))), ((int)(((byte)()))));
aGaugeRange5.EndValue = 2.4F;
aGaugeRange5.InnerRadius = ;
aGaugeRange5.InRange = false;
aGaugeRange5.Name = "GaugeRange4";
aGaugeRange5.OuterRadius = ;
aGaugeRange5.StartValue = 1.9F;
aGaugeRange6.Color = System.Drawing.Color.FromArgb(((int)(((byte)()))), ((int)(((byte)()))), ((int)(((byte)()))));
aGaugeRange6.EndValue = 3.1F;
aGaugeRange6.InnerRadius = ;
aGaugeRange6.InRange = false;
aGaugeRange6.Name = "GaugeRange5";
aGaugeRange6.OuterRadius = ;
aGaugeRange6.StartValue = 2.6F;
aGaugeRange7.Color = System.Drawing.Color.FromArgb(((int)(((byte)()))), ((int)(((byte)()))), ((int)(((byte)()))));
aGaugeRange7.EndValue = 3.8F;
aGaugeRange7.InnerRadius = ;
aGaugeRange7.InRange = false;
aGaugeRange7.Name = "GaugeRange6";
aGaugeRange7.OuterRadius = ;
aGaugeRange7.StartValue = 3.3F;
aGaugeRange8.Color = System.Drawing.Color.FromArgb(((int)(((byte)()))), ((int)(((byte)()))), ((int)(((byte)()))));
aGaugeRange8.EndValue = 4.5F;
aGaugeRange8.InnerRadius = ;
aGaugeRange8.InRange = false;
aGaugeRange8.Name = "GaugeRange7";
aGaugeRange8.OuterRadius = ;
aGaugeRange8.StartValue = 4F;
aGaugeRange9.Color = System.Drawing.Color.FromArgb(((int)(((byte)()))), ((int)(((byte)()))), ((int)(((byte)()))));
aGaugeRange9.EndValue = 5.2F;
aGaugeRange9.InnerRadius = ;
aGaugeRange9.InRange = false;
aGaugeRange9.Name = "GaugeRange8";
aGaugeRange9.OuterRadius = ;
aGaugeRange9.StartValue = 4.7F;
aGaugeRange10.Color = System.Drawing.Color.FromArgb(((int)(((byte)()))), ((int)(((byte)()))), ((int)(((byte)()))));
aGaugeRange10.EndValue = 5.9F;
aGaugeRange10.InnerRadius = ;
aGaugeRange10.InRange = false;
aGaugeRange10.Name = "GaugeRange9";
aGaugeRange10.OuterRadius = ;
aGaugeRange10.StartValue = 5.4F;
aGaugeRange11.Color = System.Drawing.Color.FromArgb(((int)(((byte)()))), ((int)(((byte)()))), ((int)(((byte)()))));
aGaugeRange11.EndValue = 6.6F;
aGaugeRange11.InnerRadius = ;
aGaugeRange11.InRange = false;
aGaugeRange11.Name = "GaugeRange10";
aGaugeRange11.OuterRadius = ;
aGaugeRange11.StartValue = 6.1F;
aGaugeRange12.Color = System.Drawing.Color.FromArgb(((int)(((byte)()))), ((int)(((byte)()))), ((int)(((byte)()))));
aGaugeRange12.EndValue = 7.3F;
aGaugeRange12.InnerRadius = ;
aGaugeRange12.InRange = false;
aGaugeRange12.Name = "GaugeRange11";
aGaugeRange12.OuterRadius = ;
aGaugeRange12.StartValue = 6.8F;
aGaugeRange13.Color = System.Drawing.Color.FromArgb(((int)(((byte)()))), ((int)(((byte)()))), ((int)(((byte)()))));
aGaugeRange13.EndValue = 8F;
aGaugeRange13.InnerRadius = ;
aGaugeRange13.InRange = false;
aGaugeRange13.Name = "GaugeRange12";
aGaugeRange13.OuterRadius = ;
aGaugeRange13.StartValue = 7.5F;
aGaugeRange14.Color = System.Drawing.Color.FromArgb(((int)(((byte)()))), ((int)(((byte)()))), ((int)(((byte)()))));
aGaugeRange14.EndValue = 8.7F;
aGaugeRange14.InnerRadius = ;
aGaugeRange14.InRange = false;
aGaugeRange14.Name = "GaugeRange13";
aGaugeRange14.OuterRadius = ;
aGaugeRange14.StartValue = 8.2F;
aGaugeRange15.Color = System.Drawing.Color.FromArgb(((int)(((byte)()))), ((int)(((byte)()))), ((int)(((byte)()))));
aGaugeRange15.EndValue = 9.4F;
aGaugeRange15.InnerRadius = ;
aGaugeRange15.InRange = false;
aGaugeRange15.Name = "GaugeRange14";
aGaugeRange15.OuterRadius = ;
aGaugeRange15.StartValue = 8.9F;
aGaugeRange16.Color = System.Drawing.Color.FromArgb(((int)(((byte)()))), ((int)(((byte)()))), ((int)(((byte)()))));
aGaugeRange16.EndValue = 10.1F;
aGaugeRange16.InnerRadius = ;
aGaugeRange16.InRange = false;
aGaugeRange16.Name = "GaugeRange15";
aGaugeRange16.OuterRadius = ;
aGaugeRange16.StartValue = 9.6F;
aGaugeRange17.Color = System.Drawing.Color.FromArgb(((int)(((byte)()))), ((int)(((byte)()))), ((int)(((byte)()))));
aGaugeRange17.EndValue = 10.8F;
aGaugeRange17.InnerRadius = ;
aGaugeRange17.InRange = false;
aGaugeRange17.Name = "GaugeRange16";
aGaugeRange17.OuterRadius = ;
aGaugeRange17.StartValue = 10.3F;
aGaugeRange18.Color = System.Drawing.Color.FromArgb(((int)(((byte)()))), ((int)(((byte)()))), ((int)(((byte)()))));
aGaugeRange18.EndValue = 11.5F;
aGaugeRange18.InnerRadius = ;
aGaugeRange18.InRange = false;
aGaugeRange18.Name = "GaugeRange17";
aGaugeRange18.OuterRadius = ;
aGaugeRange18.StartValue = 11F;
aGaugeRange19.Color = System.Drawing.Color.FromArgb(((int)(((byte)()))), ((int)(((byte)()))), ((int)(((byte)()))));
aGaugeRange19.EndValue = 12.2F;
aGaugeRange19.InnerRadius = ;
aGaugeRange19.InRange = false;
aGaugeRange19.Name = "GaugeRange18";
aGaugeRange19.OuterRadius = ;
aGaugeRange19.StartValue = 11.7F;
aGaugeRange20.Color = System.Drawing.Color.FromArgb(((int)(((byte)()))), ((int)(((byte)()))), ((int)(((byte)()))));
aGaugeRange20.EndValue = 12.9F;
aGaugeRange20.InnerRadius = ;
aGaugeRange20.InRange = false;
aGaugeRange20.Name = "GaugeRange19";
aGaugeRange20.OuterRadius = ;
aGaugeRange20.StartValue = 12.4F;
aGaugeRange21.Color = System.Drawing.Color.FromArgb(((int)(((byte)()))), ((int)(((byte)()))), ((int)(((byte)()))));
aGaugeRange21.EndValue = 13.6F;
aGaugeRange21.InnerRadius = ;
aGaugeRange21.InRange = false;
aGaugeRange21.Name = "GaugeRange20";
aGaugeRange21.OuterRadius = ;
aGaugeRange21.StartValue = 13.1F;
aGaugeRange22.Color = System.Drawing.Color.FromArgb(((int)(((byte)()))), ((int)(((byte)()))), ((int)(((byte)()))));
aGaugeRange22.EndValue = 14.3F;
aGaugeRange22.InnerRadius = ;
aGaugeRange22.InRange = false;
aGaugeRange22.Name = "GaugeRange21";
aGaugeRange22.OuterRadius = ;
aGaugeRange22.StartValue = 13.8F;
aGaugeRange23.Color = System.Drawing.Color.FromArgb(((int)(((byte)()))), ((int)(((byte)()))), ((int)(((byte)()))));
aGaugeRange23.EndValue = 15F;
aGaugeRange23.InnerRadius = ;
aGaugeRange23.InRange = false;
aGaugeRange23.Name = "GaugeRange22";
aGaugeRange23.OuterRadius = ;
aGaugeRange23.StartValue = 14.5F;
aGaugeRange24.Color = System.Drawing.Color.FromArgb(((int)(((byte)()))), ((int)(((byte)()))), ((int)(((byte)()))));
aGaugeRange24.EndValue = 15.5F;
aGaugeRange24.InnerRadius = ;
aGaugeRange24.InRange = false;
aGaugeRange24.Name = "SingleGaugeRange";
aGaugeRange24.OuterRadius = ;
aGaugeRange24.StartValue = -0.5F;
this.aGauge1.GaugeRanges.Add(aGaugeRange1);
this.aGauge1.GaugeRanges.Add(aGaugeRange2);
this.aGauge1.GaugeRanges.Add(aGaugeRange3);
this.aGauge1.GaugeRanges.Add(aGaugeRange4);
this.aGauge1.GaugeRanges.Add(aGaugeRange5);
this.aGauge1.GaugeRanges.Add(aGaugeRange6);
this.aGauge1.GaugeRanges.Add(aGaugeRange7);
this.aGauge1.GaugeRanges.Add(aGaugeRange8);
this.aGauge1.GaugeRanges.Add(aGaugeRange9);
this.aGauge1.GaugeRanges.Add(aGaugeRange10);
this.aGauge1.GaugeRanges.Add(aGaugeRange11);
this.aGauge1.GaugeRanges.Add(aGaugeRange12);
this.aGauge1.GaugeRanges.Add(aGaugeRange13);
this.aGauge1.GaugeRanges.Add(aGaugeRange14);
this.aGauge1.GaugeRanges.Add(aGaugeRange15);
this.aGauge1.GaugeRanges.Add(aGaugeRange16);
this.aGauge1.GaugeRanges.Add(aGaugeRange17);
this.aGauge1.GaugeRanges.Add(aGaugeRange18);
this.aGauge1.GaugeRanges.Add(aGaugeRange19);
this.aGauge1.GaugeRanges.Add(aGaugeRange20);
this.aGauge1.GaugeRanges.Add(aGaugeRange21);
this.aGauge1.GaugeRanges.Add(aGaugeRange22);
this.aGauge1.GaugeRanges.Add(aGaugeRange23);
this.aGauge1.GaugeRanges.Add(aGaugeRange24);
this.aGauge1.Location = new System.Drawing.Point(, );
this.aGauge1.MaxValue = 16F;
this.aGauge1.MinValue = -1F;
this.aGauge1.Name = "aGauge1";
this.aGauge1.NeedleColor1 = System.Windows.Forms.AGaugeNeedleColor.MyColor;
this.aGauge1.NeedleColor2 = System.Drawing.Color.Lavender;
this.aGauge1.NeedleRadius = ;
this.aGauge1.NeedleType = System.Windows.Forms.NeedleType.Advance;
this.aGauge1.NeedleWidth = ;
this.aGauge1.ScaleLinesInterColor = System.Drawing.Color.Transparent;
this.aGauge1.ScaleLinesInterInnerRadius = ;
this.aGauge1.ScaleLinesInterOuterRadius = ;
this.aGauge1.ScaleLinesInterWidth = ;
this.aGauge1.ScaleLinesMajorColor = System.Drawing.Color.FromArgb(((int)(((byte)()))), ((int)(((byte)()))), ((int)(((byte)()))));
this.aGauge1.ScaleLinesMajorInnerRadius = ;
this.aGauge1.ScaleLinesMajorOuterRadius = ;
this.aGauge1.ScaleLinesMajorStepValue = 1F;
this.aGauge1.ScaleLinesMajorWidth = ;
this.aGauge1.ScaleLinesMinorColor = System.Drawing.Color.FromArgb(((int)(((byte)()))), ((int)(((byte)()))), ((int)(((byte)()))));
this.aGauge1.ScaleLinesMinorInnerRadius = ;
this.aGauge1.ScaleLinesMinorOuterRadius = ;
this.aGauge1.ScaleLinesMinorTicks = ;
this.aGauge1.ScaleLinesMinorWidth = ;
this.aGauge1.ScaleNumbersColor = System.Drawing.Color.FromArgb(((int)(((byte)()))), ((int)(((byte)()))), ((int)(((byte)()))));
this.aGauge1.ScaleNumbersFormat = null;
this.aGauge1.ScaleNumbersRadius = ;
this.aGauge1.ScaleNumbersRotation = ;
this.aGauge1.ScaleNumbersStartScaleLine = ;
this.aGauge1.ScaleNumbersStepScaleLines = ;
this.aGauge1.Size = new System.Drawing.Size(, );
this.aGauge1.TabIndex = ;
this.aGauge1.Text = "aGauge1";
this.aGauge1.Value = 0F;
this.aGauge1.ValueChanged += new System.EventHandler(this.aGauge1_ValueChanged);
this.aGauge1.ValueInRangeChanged += new System.EventHandler<System.Windows.Forms.ValueInRangeChangedEventArgs>(this.aGauge1_ValueInRangeChanged);
System.Windows.Forms.AGaugeLabel aGaugeLabel1 = new System.Windows.Forms.AGaugeLabel();
System.Windows.Forms.AGaugeRange aGaugeRange1 = new System.Windows.Forms.AGaugeRange();
System.Windows.Forms.AGaugeRange aGaugeRange2 = new System.Windows.Forms.AGaugeRange();
System.Windows.Forms.AGaugeRange aGaugeRange3 = new System.Windows.Forms.AGaugeRange();
System.Windows.Forms.AGaugeRange aGaugeRange4 = new System.Windows.Forms.AGaugeRange();
System.Windows.Forms.AGaugeRange aGaugeRange5 = new System.Windows.Forms.AGaugeRange();
System.Windows.Forms.AGaugeRange aGaugeRange6 = new System.Windows.Forms.AGaugeRange();
System.Windows.Forms.AGaugeRange aGaugeRange7 = new System.Windows.Forms.AGaugeRange();
System.Windows.Forms.AGaugeRange aGaugeRange8 = new System.Windows.Forms.AGaugeRange();
System.Windows.Forms.AGaugeRange aGaugeRange9 = new System.Windows.Forms.AGaugeRange();
System.Windows.Forms.AGaugeRange aGaugeRange10 = new System.Windows.Forms.AGaugeRange();
System.Windows.Forms.AGaugeRange aGaugeRange11 = new System.Windows.Forms.AGaugeRange();
System.Windows.Forms.AGaugeRange aGaugeRange12 = new System.Windows.Forms.AGaugeRange();
System.Windows.Forms.AGaugeRange aGaugeRange13 = new System.Windows.Forms.AGaugeRange();
System.Windows.Forms.AGaugeRange aGaugeRange14 = new System.Windows.Forms.AGaugeRange();
System.Windows.Forms.AGaugeRange aGaugeRange15 = new System.Windows.Forms.AGaugeRange();
System.Windows.Forms.AGaugeRange aGaugeRange16 = new System.Windows.Forms.AGaugeRange();
System.Windows.Forms.AGaugeRange aGaugeRange17 = new System.Windows.Forms.AGaugeRange();
System.Windows.Forms.AGaugeRange aGaugeRange18 = new System.Windows.Forms.AGaugeRange();
System.Windows.Forms.AGaugeRange aGaugeRange19 = new System.Windows.Forms.AGaugeRange();
System.Windows.Forms.AGaugeRange aGaugeRange20 = new System.Windows.Forms.AGaugeRange();
System.Windows.Forms.AGaugeRange aGaugeRange21 = new System.Windows.Forms.AGaugeRange();
System.Windows.Forms.AGaugeRange aGaugeRange22 = new System.Windows.Forms.AGaugeRange();
System.Windows.Forms.AGaugeRange aGaugeRange23 = new System.Windows.Forms.AGaugeRange();
System.Windows.Forms.AGaugeRange aGaugeRange24 = new System.Windows.Forms.AGaugeRange();
private System.Windows.Forms.AGauge aGauge1;

关于修改的指针颜色代码:AGauge.cs中修改AGaugeNeedleColor

public enum AGaugeNeedleColor
{
Gray = ,
Red = ,
Green = ,
Blue = ,
Yellow = ,
Violet = ,
Magenta = ,
MyColor= //新添加的颜色
};
 switch (m_NeedleColor1)
{
case AGaugeNeedleColor.MyColor: // 新添加的颜色设置
clr1 = Color.FromArgb( + subcol, + subcol, + subcol);
clr2 = Color.FromArgb( - subcol, - subcol, - subcol);
clr3 = Color.FromArgb( + subcol2, + subcol2, + subcol2);
clr4 = Color.FromArgb( - subcol2, - subcol2, - subcol2);
e.Graphics.DrawEllipse(Pens.BlueViolet, center.X - needleWidth * , center.Y - needleWidth * , needleWidth * , needleWidth * );
break;
case AGaugeNeedleColor.Gray:
clr1 = Color.FromArgb( + subcol, + subcol, + subcol);
clr2 = Color.FromArgb( - subcol, - subcol, - subcol);
clr3 = Color.FromArgb( + subcol2, + subcol2, + subcol2);
clr4 = Color.FromArgb( - subcol2, - subcol2, - subcol2);
e.Graphics.DrawEllipse(Pens.Gray, center.X - needleWidth * , center.Y - needleWidth * , needleWidth * , needleWidth * );
break;

重新加载之后属性中就会出现自己新加的颜色:

C# Winform 仪表盘的更多相关文章

  1. c# Winform Chart入门

    额外参考链接:http://www.cnblogs.com/greenerycn/archive/2008/10/27/microsoft-chart.html winform 仪表盘相关下载链接:/ ...

  2. 在Winform中怎么实现图片的旋转,比如说实现仪表盘功能,看代码吧,看太不懂的欢迎问

    ; //旋转的角度 //Timer定时器 private void timer1_Tick(object sender, EventArgs e) { timer1.Enabled = false; ...

  3. (五十四)c#Winform自定义控件-仪表盘

    前提 入行已经7,8年了,一直想做一套漂亮点的自定义控件,于是就有了本系列文章. GitHub:https://github.com/kwwwvagaa/NetWinformControl 码云:ht ...

  4. C# 时间控件 竖直进度条 饼图显示 仪表盘 按钮基础控件库

    Prepare 本文将使用一个NuGet公开的组件来实现一些特殊的控件显示,方便大家进行快速的开发系统. 在Visual Studio 中的NuGet管理器中可以下载安装,也可以直接在NuGet控制台 ...

  5. c#Winform程序调用app.config文件配置数据库连接字符串 SQL Server文章目录 浅谈SQL Server中统计对于查询的影响 有关索引的DMV SQL Server中的执行引擎入门 【译】表变量和临时表的比较 对于表列数据类型选择的一点思考 SQL Server复制入门(一)----复制简介 操作系统中的进程与线程

    c#Winform程序调用app.config文件配置数据库连接字符串 你新建winform项目的时候,会有一个app.config的配置文件,写在里面的<connectionStrings n ...

  6. winform 自定义控件(高手)

    高手推荐:https://www.cnblogs.com/bfyx/p/11364884.html   c#Winform自定义控件-目录   前提 入行已经7,8年了,一直想做一套漂亮点的自定义控件 ...

  7. 使用 .NET WinForm 开发所见即所得的 IDE 开发环境,实现不写代码直接生成应用程序

    直接切入正题,这是我09年到11年左右业余时间编写的项目,最初的想法很简单,做一个能拖拖拽拽就直接生成应用程序的工具,不用写代码,把能想到的业务操作全部封装起来,通过配置的方式把这些业务操作组织起来运 ...

  8. 逆天通用水印支持Winform,WPF,Web,WP,Win10。支持位置选择(9个位置 ==》[X])

    常用技能:http://www.cnblogs.com/dunitian/p/4822808.html#skill 逆天博客:http://dnt.dkil.net 逆天通用水印扩展篇~新增剪贴板系列 ...

  9. 【基于WinForm+Access局域网共享数据库的项目总结】之篇一:WinForm开发总体概述与技术实现

    篇一:WinForm开发总体概述与技术实现 篇二:WinForm开发扇形图统计和Excel数据导出 篇三:Access远程连接数据库和窗体打包部署 [小记]:最近基于WinForm+Access数据库 ...

随机推荐

  1. 小米系统获取root权限的完整教程

    小米系统通过什么方法拥有root超级权限?我们都清楚,安卓机器有root超级权限,如果手机拥有root相关权限,能够实现更好的功能,打个比方我们企业的营销部门的同事,使用大多数营销应用都需要在root ...

  2. Spring的事务

    事务:事务指的是逻辑上的一组操作,这组操作要么都成功,要么都失败. Transaction事务的四大特性ACID: 1.Atomicity原子性 事务的操作要么都成功,要么都不做,只要有一个失败,就会 ...

  3. 在java中如何处理日期格式问题

    1.最简洁的办法就是在对应的对象中加注解 如下一个例子: @DateTimeFormat(pattern="yyyy-MM-dd") @JsonFormat(pattern=&qu ...

  4. vue的三种通信方式

    一 确定组件关系二 使用第一步确定的组件关系在下面找到使用方法 1 父子通信(子组件使用父组件数据渲染) a) 在 子组件 中添加props props: [自定义prop名字] b) 在子组件中把自 ...

  5. MySQL文档翻译(八)附英文原文---性能优化概览

    优化概述 数据库性能表现依赖于数据库级别的几个因素,比如表,查询和配置设置.这些软件在硬件级别通过CPU和IO操作构筑结果,你需要尽可能的使用最少的资源达到最大的效果.当你专注于数据库的性能表现时,你 ...

  6. 安卓测试工具uiautomator无法打开失败报错解决方案

    我们在测试过程中经常会遇到uiautomator报错,识别不了 先用 adb shell ps |grep uiautomator 查看这个进程,一般性都是因为已经有一个进程占用引起的. 所以是被占用 ...

  7. MySql中not in的优化

    最近项目上用select查询时使用到了not in来排除用不到的主键id一开始使用的sql如下: select s.SORT_ID, s.SORT_NAME, s.SORT_STATUS, s.SOR ...

  8. 多邻国学英语 tips

    来源: https://www.cnblogs.com/daysme整理了一分多邻国学英语中的相关语法文档. 地方 null 现在完成时 null 反身代词 浓缩的精华:反身代词就是 “XX 自己” ...

  9. bug日记之-------java.io.IOException: Server returned HTTP response code: 400 for URL

    报的错误 出事代码 出事原因 解决方案 总结 多看源码, 我上面的实现方式并不好, 如果返回的响应编码为400以下却又不是200的情况下getErrorStream会返回null, 所以具体完美的解决 ...

  10. R-画图

    1.par(mar=c(8,5.2,8,5.2),new=TRUE,cex=1.5,mfrow=c(2,2))   (参考:http://blog.sina.com.cn/s/blog_6caea8b ...