using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace 图片浏览器
{
public partial class MainForm : Form
{
public MainForm()
{
InitializeComponent();
}
int currentPictureIndex;
Point oldPosition = new Point();
private void btnSelectPicture_Click(object sender, EventArgs e)
{
if (ofdSelectPicture.ShowDialog() == DialogResult.OK)
{
picShowPicture.Image = Image.FromFile(ofdSelectPicture.FileNames[0]);
currentPictureIndex = 0;
}
}
private void btnQuit_Click(object sender, EventArgs e)
{
本内容试读结束,登录后可阅读更多
下载后可阅读完整内容,剩余4页未读,立即下载