菜单
  
    摘要:随着用户界面的需求日益翻新,再加上图形与媒体的广泛应用,为了使开发人员和设计人员可以创建更好的视觉效果,真正做到分离界面设计人员与开发人员的工作,微软公司发布了一款用于Windows的现代图形显示系统工具——WPF(Windows Presentation Foundation)用来编写应用程序的表示层。本设计就是基于WPF和C#程序设计语言,在Visual Studio 2010集成开发环境中通过用XAML语言对用户界面进行描述,同时运用C#语言进行开发——在WPF中自定义元素,定义依赖项属性及路由事件,运用数据绑定功能,设计一个自定义颜色拾取器控件,并封装成类库,实现获取与设置颜色的全部功能。本颜色拾取器允许用户通过单击颜色梯度中的某个位置或分别指定红、绿和蓝三元色成分以及透明度来设定颜色,同时能够获取以16进制表示的颜色值。35353
    毕业论文关键词: XAML;C#;数据绑定;依赖属性;路由事件
    The realization of color picker based on WPF
    Abstract:  With the growing demand for refurbished user interface, widely used graphics and media, in order to enable developers and designers to create a better visual effect, which can truly separate interface designers and developers, Microsoft released a modern graphics display system tools(WPF) for Windows to write application presentation layer. The design is based on WPF and C# programming language in Visual Studio 2010. By the use of XAML language to describe user interface, while using C# language to develop the design. By means of the function of custom element, dependency property, routed event and data binding, I designed a custom color picker control and packaged it into a library, which can realize the full function of getting and setting color. It allows the user to click the color gradient in a location or specify the red, green, and blue components of the three primary colors and transparency to set the color, while it has the function of getting color value by hexadecimal.
    Keywords: XAML; C#; data binding; dependency property; routed event
    目  录
    1    绪论    1
    1.1    课题的目的和意义    1
    1.2    国内外研究现状和水平    1
    1.3    发展趋势    2
    1.4    课题的内容分析    3
    2    简介    5
    2.1    WPF简介    5
    2.1.1    WPF简介    5
    2.1.2    WPF特点    5
    2.1.3    WPF体系结构    6
    2.1.4    WPF类层次结构    7
    2.2    Visual Studio 2010简介    8
    2.3    XAML简介    9
    2.4    C#简介    10
    3    设计及分析    11
    3.1    自定义元素    11
    3.2    依赖属性    11
    3.3    路由事件    12
    3.4    数据绑定    12
    3.5    分析    13
    3.6    运行结果    19
    4    结论    22
    致谢    23
    参考文献    24
    1    绪论
        微软Windows操作系统成功推出已有十多年,在Windows系统平台上从事图形用户界面(Graphic User Interface,GUI)程序开发的程序员数不胜数。从2007年开始,微软推出了它的新一代GUI开发工具Windows Presentation Foundation(直译为Windows表示基础,WPF),并且把WPF定为未来十年Windows平台GUI开发的主要技术。时至今日,微软中的大多系统已经无缝集成了WPF,连Visual Studio 2010等重要产品也已使用WPF进行开发。本课题就是在Visual Studio 2010集成开发环境下,基于WPF和C#语言设计一个自定义颜色拾取器控件。
  1. 上一篇:MATLAB基于DSP的数据采集程序设计
  2. 下一篇:直方图均衡化彩色图像增强算法研究
  1. FHA和PHA的交叉验证技术在...

  2. HFSS法拉第笼对频率选择表面性能的影响

  3. 小波分析用于图像增强的研究MATLAB仿真

  4. 灰色建模技术的通信运行指标预测

  5. 基于多指标决策的通信网...

  6. Verilog的汉明码(15,11)编解码器的设计与仿真

  7. AT89C51单片机IIC总线的监控...

  8. 中国传统元素在游戏角色...

  9. 上市公司股权结构对经营绩效的影响研究

  10. 江苏省某高中学生体质现状的调查研究

  11. C++最短路径算法研究和程序设计

  12. 浅析中国古代宗法制度

  13. g-C3N4光催化剂的制备和光催化性能研究

  14. 现代简约美式风格在室内家装中的运用

  15. 高警觉工作人群的元情绪...

  16. NFC协议物理层的软件实现+文献综述

  17. 巴金《激流三部曲》高觉新的悲剧命运

  

About

优尔论文网手机版...

主页:http://www.youerw.com

关闭返回