예제 #1
0
        private void buttonExDisplay_Click(object sender, EventArgs e)
        {
            bool adbState = mCmd.excuteCmdGetAdbState();

            if (!adbState)
            {
                MessageBox.Show(Enums.Error.ADB, Enums.Title.ERROR);
                return;
            }


            mThreadCmd.startCmdInstallThread(PATH_SRC + Enums.ThirdAppFileName.DISPLAY, mProgressBarApp);
        }
예제 #2
0
        private void buttonExAppMore_Click(object sender, EventArgs e)
        {
            bool adbState = mCmd.excuteCmdGetAdbState();

            if (!adbState)
            {
                MessageBox.Show(Enums.Error.ADB, Enums.Title.ERROR);
                return;
            }

            OpenFileDialog dialog = new OpenFileDialog();

            dialog.InitialDirectory = "c:\\";
            if (dialog.ShowDialog() == DialogResult.OK)
            {
                mThreadCmd.startCmdInstallThread(dialog.FileName, mProgressBarApp);
            }
        }
예제 #3
0
 private void funcClickApk()
 {
     mThread.startCmdInstallThread(mOption.path[0], mBar);
 }