示例#1
0
        private void statusStrip1_DoubleClick(object sender, EventArgs e)
        {
            AFrmCogToolGroup frm = new AFrmCogToolGroup(m_aPoint.m_cogtgPoint);

            // 2015.03.18
            frm.Show(this);
        }
示例#2
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);
            }
        }
示例#3
0
        private void btnViewVpp_Click(object sender, EventArgs e)
        {
            if (lstvwType.FocusedItem == null)
            {
                //MessageBox.Show("Type이 선택되지 않았습니다. Type을 선택 하세요!");
                // 2013.12.02
                MessageBox.Show(AUtil.GetXmlLanguage("Type_Not_Select"));
                return;
            }

            int              nType = lstvwType.FocusedItem.Index;
            AType            aType = AVisionProBuild.GetType(nType);
            AFrmCogToolGroup frm   = new AFrmCogToolGroup(aType.m_cogtgType);

            // 2015.03.20
            frm.Show(this);
        }