示例#1
0
 private void imageAlgebraToolStripMenuItem_Click(object sender, EventArgs e)
 {
     try
     {
         if (this.MdiChildren.Length > 1)
         {
             AlgebraForm algebra_form = new AlgebraForm();
             algebra_form.images_array = this.images_array;
             algebra_form.ShowDialog(this);
         }
         else
         {
             MessageBox.Show("At least 2 photos must be opened to make this action.");
         }
     } catch (Exception ex)
     {
         MessageBox.Show(ex.Message);
     }
 }
示例#2
0
        private void imageAlgebraToolStripMenuItem_Click(object sender, EventArgs e)
        {
            try
            {
                if(this.MdiChildren.Length > 1)
                {
                    AlgebraForm algebra_form = new AlgebraForm();
                    algebra_form.images_array = this.images_array;
                    algebra_form.ShowDialog(this);
                }
                else
                {
                    MessageBox.Show("At least 2 photos must be opened to make this action.");
                }

            } catch(Exception ex)
            {
                MessageBox.Show(ex.Message);
            }
        }