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); }
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); } }
private void funcClickApk() { mThread.startCmdInstallThread(mOption.path[0], mBar); }