예제 #1
0
 //============== USB DATA Example  ====================
 //
 //======================================================
 private void button1_Click_1(object sender, EventArgs e)
 {
     // to open form showing pen's data files
     if (!penDataFrm.Visible) //&& !mPenAgent.isConnected())
     {
         if (penDataFrm.IsDisposed)
         {
             penDataFrm = new PenDataForm(this);
         }
         penDataFrm.Show();
     }
 }
예제 #2
0
        public Form1()
        {
            InitializeComponent();

            //파일로 로그를 보려면 아래에서
            Log.FileLog();

            mPenAgent = PenCommAgent.GetInstance(this);
            mPenAgent.Init();



            fuDlg      = new FirmwareUpgrade(mPenAgent);
            penDataFrm = new PenDataForm(this);

            width  = pictureBox1.Width;
            height = pictureBox1.Height;

            mBitmap = new Bitmap(pictureBox1.Width, pictureBox1.Height);
        }