Esempio n. 1
0
 private void imageEdgeCuttingToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (FrmImageEdgeCut == null)
     {
         FrmImageEdgeCut                 = new frmImageEdgeCut();
         FrmImageEdgeCut.MdiParent       = this;
         FrmImageEdgeCut.ClientSize      = new System.Drawing.Size(2000, 800);
         this.WindowState                = FormWindowState.Maximized;
         FrmImageEdgeCut.FormBorderStyle = FormBorderStyle.None;
         FrmImageEdgeCut.ControlBox      = false;
         FrmImageEdgeCut.MaximizeBox     = false;
         FrmImageEdgeCut.MinimizeBox     = false;
         FrmImageEdgeCut.ShowIcon        = false;
         FrmImageEdgeCut.FormClosed     += FrmImageEdgeCut_FormClosed;
         FrmImageEdgeCut.Dock            = DockStyle.Fill;
         FrmImageEdgeCut.Show();
     }
     else
     {
         FrmImageEdgeCut.Activate();
     }
 }
Esempio n. 2
0
 private void FrmImageEdgeCut_FormClosed(object sender, FormClosedEventArgs e)
 {
     FrmImageEdgeCut = null;
 }