program 21 C# C# Program TO Show Image using File Dialog - TopicsExpress



          

program 21 C# C# Program TO Show Image using File Dialog box using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using System.Drawing.Imaging; namespace ImageInC { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void button1_Click(object sender, EventArgs e) { OpenFileDialog open = new OpenFileDialog(); if(open.ShowDialog()==System.Windows.Forms.DialogResult.OK) pictureBox1.ImageLocation = open.FileName; } } }
Posted on: Tue, 30 Jul 2013 19:44:36 +0000

Trending Topics



Recently Viewed Topics




© 2015