-
C# 设置应用程序背景颜色
C# 设置应用程序背景颜色,通过调用Windows调色板,来选取颜色,然后程序将颜色值赋值给窗口,此盒子可设置斜体的颜色值,运行效果如参考截图所示,核心代码请看以下代码片段:
private void Form1_Load(object sender, EventArgs e)
{//显示应用程序背景颜色
//先打开“Properties”,添加一个System.Drawing.Color类型的变量MyBackColor
this.BackColor = Properties.Settings.Default.MyBackColor;
}
private void button1_Click(object sender, EventArgs e)
{//设置应用程序背景颜色(在运行时编写用户设置)
if(this.colorDialog1.ShowDialog()==DialogResult.OK)
{
Properties.Settings.Default.MyBackColor = this.colorDialog1.Color;
Properties.Settings.Default.Save();
this.BackColor = Properties.Settings.Default.MyBackColor;
}
}
- 2022-06-22 05:36:16下载
- 积分:1
-
una-implementacion
Implemtenacion de estructura FIFO
- 2014-07-08 13:51:10下载
- 积分:1
-
002
指纹图像因设备、图像增强处理等原因造成的纹线断裂会产生伪特征点,会对指纹识别产生负面影响。在结
合传统方法优点的同时,针对间距大、方向偏移小和间距大、方向偏移大的断裂情况,本文设计出窗口制约法和改进的
窗口制约法2 种不同的修复方法。实验结果表明,该方法使修复更加全面、完整,提高了伪特征点去除率,易于编程实
现,对细化指纹图像的断裂有很好的修复效果。(The broken ridge fingerprint image processing equipment, image enhancement and other causes will generate pseudo-feature points to be a negative impact on fingerprint identification. While combining the traditional method has the advantage, for the spacing, direction offset small spacing, direction offset large fracture situation, this design window constraints window method and the improved two kinds of constraints, different repair methods. Experimental results show the method to fix a more comprehensive and complete removal of pseudo-feature points, easy to program, well thinned fingerprint image fracture repair.)
- 2013-03-17 22:06:01下载
- 积分:1
-
QtExcel
实现Qt程序对excel表格数据的快速读写,适用于数百条以上的数据记录。(Realize Qt program fast reading and writing of excel table data, suitable for more than hundreds of data records.)
- 2020-06-20 17:00:01下载
- 积分:1
-
agentga
关于多智能体遗传算法优化神经网络的MATLAB程序(On multi-agent genetic algorithm to optimize the MATLAB neural network program)
- 2010-06-17 09:07:38下载
- 积分:1
-
51_C
将百个原创51单片机C程序,提供给那些在校的大学生及单片机初学的朋友作为参考。(The one hundred original 51 single C program, available to college students and those in the microcontroller beginner friends as a reference.)
- 2013-07-09 02:57:28下载
- 积分:1
-
定时器操作
STM32 的定时器功能十分强大,有 TIME1 和 TIME8 等高级定时器,也有 TIME2~TIME5 等通用定时器,还有 TIME6 和TIME7 等基本定时器。在本章中,我们将利用 TIM3 的定时器中断来控制 DS1 的翻转,在主函数用 DS0 的翻转来提示程序正在运行。选择难度适中的通用定时器来介绍。
- 2022-12-27 19:00:09下载
- 积分:1
-
CANOpenMaster_FreeRTOS_STM32F1_Demo
canopen+freertos 心跳例程(canopen+freertos Heart)
- 2019-01-23 14:28:24下载
- 积分:1
-
inverse.tar
通过对图像进行逆透视变化,得到图像的俯视图,即鸟瞰图(Through the inverse perspective change of the image, we can get the top view of the image, that is aerial view.)
- 2018-05-23 16:01:03下载
- 积分:1
-
cpp_200715
说明: 通过一个C++例子,来学习C++的重载。这里面包括几个重载的例子(Through a C + + example, to learn C + + overload. There are several examples of overloading)
- 2020-08-03 15:14:16下载
- 积分:1