Exemple #1
0
 public static PictureShow Create(string picurl)
 {
     PicUrl = picurl;
     if (spbh == null)
     {
         spbh = new PictureShow();
     }
     return(spbh);
 }
Exemple #2
0
        private void dataGridView2_DoubleClick(object sender, EventArgs e)
        {
            int index = dataGridView2.SelectedRows[0].Index;

            if (index >= 0)
            {
                string      path = dataGridView2.Rows[index].Cells["jcImgUrl1"].Value.ToString();
                PictureShow from = PictureShow.Create(path);
                from.Focus();
                from.Show();
            }
        }
Exemple #3
0
 private void PictureShow_FormClosing(object sender, FormClosingEventArgs e)
 {
     spbh = null;
 }