Exemplo n.º 1
0
 private void duplikujToolStripMenuItem_Click(object sender, EventArgs e)
 {
     ImagePreview imageForm = new ImagePreview(((ImagePreview)ActiveMdiChild).Image);
     imageForm.MdiParent = this;
     imageForm.Show();
 }
Exemplo n.º 2
0
        private void otwórzToolStripMenuItem_Click(object sender, EventArgs e)
        {
            //wyświetl okno wyboru obrazu do otworzenia
            openImg.ShowDialog();

            try
            {
                ImagePreview imageForm = new ImagePreview(openImg.FileName);
                imageForm.MdiParent = this;
                imageForm.Show();
            }
            catch
            {
            }
        }
Exemplo n.º 3
0
 private void buttonOK_Click(object sender, EventArgs e)
 {
     ImagePreview imagePrev = new ImagePreview(bmpModified);
     imagePrev.MdiParent = this.MdiParent;
     imagePrev.Show();
 }