如何写Win 7 Paint? [英] How Can I Write Win 7 Paint?

查看:80
本文介绍了如何写Win 7 Paint?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想编写一个类似于windows paint的程序。我应该从哪里开始?

例如我们在绘制笔或用于绘图的工作表。

I want to write a program just like windows paint .from where i should start?
for example we have in paint the pen or a sheet for drawing .

推荐答案

所有你需要的是



All you need is



  1. WPF项目
  2. 画布控制
  3. 可选)添加逻辑的一些常识

  1. WPF project
  2. Canvas control
  3. (Optional) some common sense to add logic





这是一个示例项目文章 [ ^ ]用于使用WPF框架和Canvas控件创建简单的类似绘画的应用程序。谷歌可以提供其他令人惊叹的工具和项目。



在Windows窗体上,您可以使用Graphics对象并在应用程序的用户界面上绘制对象。同一主题的另一个好主题是这个 [ ^ ]。



为了使它看起来像Windows 7 Paint应用程序,你需要添加控件和其他样式,使你的应用程序看起来像上一个。



Here is a sample project article[^] which is used to create simple paint-like application using WPF framework and Canvas control. You can Google for such other stunning tools and projects.

On Windows Forms, you can use Graphics object and draw objects on application's user interface. Another good thread for the same subject is this[^].

To make it look like Windows 7 Paint application, you are required to add controls and other styles that would make your application look like the previous one.


你好,



同样的问题已经回答:

在wpf平台上绘制应用程序 [ ^ ]



Valery。
Hello,

Same question already answered:
paint application in wpf platform[^]

Valery.


这篇关于如何写Win 7 Paint?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆