示例#1
0
        private void LoadImage(string path)
        {
            Image img = Image.FromFile(path);

            img.Tag = Path.GetFileName(path);

            ImageForm imgForm = new ImageForm(img, this);

            imgForm.MdiParent = this;
            imgForm.Show();
        }