Example #1
0
        /* 2017.06.08
         * private void btnSelectPath_Click(object sender, EventArgs e)
         * {
         *  FolderBrowserDialog dlg = new FolderBrowserDialog();
         *  if (dlg.ShowDialog(this) == DialogResult.OK)
         *  {
         *      AVisionProBuild.m_strResultPath = dlg.SelectedPath;
         *      txtPath.Text = AVisionProBuild.m_strResultPath;
         *  }
         * }
         *
         * private void btnSavePath_Click(object sender, EventArgs e)
         * {
         *  // 2011.04.21
         *  AVisionProBuild.m_strResultPath = txtPath.Text;
         *  AUtil.WritePrivateProfileString("PATH", "ResultPath", txtPath.Text, ASDef._INI_FILE);
         * }
         */

        // 2011.06.23
        private void btnLoadVpp_Click(object sender, EventArgs e)
        {
            OpenFileDialog dlg = new OpenFileDialog();

            dlg.Filter = "Vpp Files(*.vpp)|*.vpp";
            // 2015.03.18
            if (dlg.ShowDialog(this) == DialogResult.OK)
            {
                AVisionProBuild.LoadVpp(dlg.FileName);
                AFrmCogToolGroup frm = new AFrmCogToolGroup(AVisionProBuild.m_cogtgTmp);
                // 2015.03.20
                frm.Show(this);
            }
        }