コード例 #1
0
ファイル: frmMain.cs プロジェクト: 7ASecond-Net/Imogen
        private void identifyIndividualsToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (identifyIndividualsToolStripMenuItem.Checked)
            {
                Log("Closing Individual's Identification Window");
                frmId.Close();
            }
            else
            {
                Log("Opening Individual's Identification");
                if (frmId == null || frmId.IsDisposed)
                {
                    frmId = new FrmIndividualsIdentificationExtraction();
                }
                frmId.LoadImage(CurrentInternalReport.ImagePath);
                frmId.Show(dockPanel, DockState.Float);
            }
            identifyIndividualsToolStripMenuItem.Checked = !identifyIndividualsToolStripMenuItem.Checked; // Toggle the check state in the menu on click


            // Get the Investigator to extract the faces from the file and add basic identification information with supporting evidence where required
        }
コード例 #2
0
ファイル: frmMain.cs プロジェクト: 7ASecond-Net/Imogen
        private void identifyIndividualsToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (identifyIndividualsToolStripMenuItem.Checked)
            {
                Log("Closing Individual's Identification Window");
                frmId.Close();
            }
            else
            {
                Log("Opening Individual's Identification");
                if (frmId == null || frmId.IsDisposed) frmId = new FrmIndividualsIdentificationExtraction();
                frmId.LoadImage(CurrentInternalReport.ImagePath);
                frmId.Show(dockPanel, DockState.Float);
            }
            identifyIndividualsToolStripMenuItem.Checked = !identifyIndividualsToolStripMenuItem.Checked; // Toggle the check state in the menu on click

            // Get the Investigator to extract the faces from the file and add basic identification information with supporting evidence where required
        }