Exemplo n.º 1
0
        private void Form1_Load(object sender, EventArgs e)
        {
            string sid = "Test";
            int    num = this.AxJVLink1.JVInit(sid);

            if (num != 0)
            {
                MessageBox.Show("JVInit エラー コード:" + num + ":", "エラー",
                                MessageBoxButtons.OK, MessageBoxIcon.Hand);
                this.Cursor = Cursors.Default;
            }
            this.objCodeConv          = new clsCodeConv();
            this.objCodeConv.FileName = System.Windows.Forms.Application.StartupPath + "\\CodeTable.csv";

            cOperateForm = new OperateForm(this);
        }
Exemplo n.º 2
0
 public clsTrain(Form1 form1)
 {
     _form1       = form1;
     cOperateForm = new OperateForm(form1);
 }