Esempio n. 1
0
        private void pictureEdit1_DoubleClick(object sender, EventArgs e)
        {
            if (pictureEdit1.EditValue != null)
            {
                string fileName = gridView1.GetFocusedRowCellDisplayText(_coImage);
                //try
                //{
                //    if (fileName != "" && !BasicClass.BasicFile.FileExists(fileName))
                //        BasicClass.FileUpDown.DownLoad(fileName, "234.jpg");
                //}
                //catch { }
                Form fr = new ShowPic(fileName);

                fr.ShowDialog();
            }
        }
Esempio n. 2
0
        private void pictureEdit1_DoubleClick(object sender, EventArgs e)
        {
            if (pictureEdit1.EditValue != null)
            {
                try
                {
                    if (!BasicClass.BasicFile.FileExists(fileName))
                    {
                        BasicClass.FileUpDown.DownLoad(fileName, BasicClass.BasicFile.Dir + fileName);
                    }
                }
                catch { }
                Form fr = new ShowPic(fileName);

                fr.ShowDialog();
            }
        }
Esempio n. 3
0
        private void pictureEdit1_DoubleClick(object sender, EventArgs e)
        {
            if (pictureEdit1.EditValue != null)
            {
                string fileName = gridView1.GetFocusedRowCellDisplayText(_coImage);
                try
                {
                    if (!BasicClass.BasicFile.FileExists(fileName))
                    {
                        BasicClass.FileUpDown.DownLoad(fileName, BasicClass.BasicFile.Dir + fileName);
                    }
                }
                catch { }
                Form fr = new ShowPic(fileName);

                fr.ShowDialog();
            }
        }