图像上传和图像滑块 [英] Image Upload and Image Slider

查看:119
本文介绍了图像上传和图像滑块的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

- 在我的C#WPF窗口应用程序中我想创建一个类似于Web应用程序中的文件上传的控件...当然在Windows应用程序中不会有服务器来保存上传的图像

- 我使用了文本框和2个按钮(浏览)和(上传):

- 我想按下(浏览)按钮...打开文件对话框在我的电脑中搜索我的图像

- 当我选择图像时...它的路径出现在文本框中

- 当我按下(上传)按钮时..image保存在我的数据库中并显示在图像中滑块

- 我也询问如何制作图像滑块

- 如果我在同一窗口中有3个上传控件但每个都与某些内容相关..并且由3个上传控件上传的所有图像都显示在图像滑块中。当我尝试预览我的工作摘要时,我可以将每个图像链接到自己的内容吗?

- 注意:我找了很多这里的问题与我想要的相关......但是没有明确的答案和正确的代码..so我希望你能帮助我..谢谢你

这里有一张图片来解释我想要的东西

http://www.4shared.com/photo/43SyyVYf/q_online.html

解决方案

您可以关注此链接点击

- In my C# WPF windows Application I want to create a control similar to File-Upload in web applications ... of course there won''t be server in windows application to save uploaded images
- I used Text Box and 2 buttons (Browse) and (Upload):
- I want when I press (Browse) button ...open file dialogue to search for my images in my computer
- when I choose image ... its path appear in text box
- when I press (Upload) button ..image is saved in my database and shown in an Images slider
- also I ask about how to make that Image slider
- if I have 3 upload controls in the same window but every one is related to certain content .. and all images uploaded by 3 upload controls are shown in image slider .. can I Link each image with its own content when I try to preview a summary for my work??
- Note: I looked for many questions here related to what I want .. but there is no clear answer with correct code ..so I wish you can help me ..thank you
here is a picture to explain what i want
http://www.4shared.com/photo/43SyyVYf/q_online.html

解决方案

you may follow this link click


这篇关于图像上传和图像滑块的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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