Esempio n. 1
0
 private void Form20_FormClosing(object sender, FormClosingEventArgs e)
 {
     if (this.DialogResult != DialogResult.OK)
     {
         return;
     }
     if (DDX(false) == false)
     {
         e.Cancel = true;
     }
     else if (!System.IO.Directory.Exists(m_ss.PLM_AUT_FOLD))
     {
         G.mlog("指定されたフォルダは存在しません.\r\r" + m_ss.PLM_AUT_FOLD);
         e.Cancel = true;
     }
     else
     {
         if (this.comboBox3.Text == "-")
         {
             G.mlog("有効な測定モードを選択してください.");
             this.comboBox3.Focus();
             e.Cancel = true;
             return;
         }
         G.SS = (G.SYSSET)m_ss.Clone();
     }
 }
Esempio n. 2
0
 private void Form27_FormClosing(object sender, FormClosingEventArgs e)
 {
     if (this.DialogResult == DialogResult.Cancel)
     {
         return;
     }
     if (DDX(false) == false)
     {
         e.Cancel = true;
     }
     else
     {
         G.SS = (G.SYSSET)m_ss.Clone();
     }
 }
Esempio n. 3
0
        private void Form22_FormClosing(object sender, FormClosingEventArgs e)
        {
            if (this.DialogResult != DialogResult.OK)
            {
                return;
            }
            if (DDX(false) == false)
            {
                e.Cancel = true;
            }
#if true//2019.01.05(キューティクル検出欠損修正)
            else if (!System.IO.Directory.Exists(m_ss.PLM_AUT_FOLD))
            {
                G.mlog("指定されたフォルダは存在しません.\r\r" + m_ss.PLM_AUT_FOLD);
                e.Cancel = true;
            }
#endif
            else
            {
                G.SS = (G.SYSSET)m_ss.Clone();
            }
        }