コード例 #1
0
ファイル: IDDDetectorEdit.cs プロジェクト: tempbottle/INCC6
 private void AddDetectorButton_Click(object sender, EventArgs e)
 {
     IDDDetectorAdd f = new IDDDetectorAdd();
     if (f.ShowDialog() == System.Windows.Forms.DialogResult.OK)
     {
         // a new detector has been born!
     }
 }
コード例 #2
0
        private void AddDetectorButton_Click(object sender, EventArgs e)
        {
            IDDDetectorAdd f = new IDDDetectorAdd();

            if (f.ShowDialog() == System.Windows.Forms.DialogResult.OK)
            {
                // a new detector has been born!
            }
        }