private void HandlePictureBoxRightClick(PictureBox pictureBox) { //int imageID; //String tag = pictureBox.Tag.ToString(); //int.TryParse(tag.Substring(tag.Length - 12, 8), out imageID); groupBoxImages.Controls.Remove(pictureBox); frmLabelRotation frm = new frmLabelRotation(); frm.SingleImageFileName = pictureBox.Tag.ToString(); frm.Show(); }
private void cmdLabelRotation_Click(object sender, EventArgs e) { frmLabelRotation frm = new frmLabelRotation(); frm.Show(); }