Пример #1
0
 private void TsbPushCode_Click(object sender, EventArgs e)
 {
     PushButtonsEnabled = false;
     TogglePushButton(sender);
     tabControl.SaveTabs();
     ADBWorker.Push(new DirectoryInfo(Project.CodePath), "dev/");
 }
Пример #2
0
        private void PushChosen(bool forceWindow = false)
        {
            FChooseFiles form = new FChooseFiles();

            if (form.ShowDialog(forceWindow) == DialogResult.OK)
            {
                PushButtonsEnabled = false;
                TogglePushButton(tsbPushFiles);
                tabControl.SaveTabs();
                ADBWorker.Push(form.Files, Project.PushPath);
            }
        }
Пример #3
0
 private void btnStopLog_Click(object sender, EventArgs e)
 {
     ADBWorker.StopLog();
 }
Пример #4
0
 private void fMain_FormClosed(object sender, FormClosedEventArgs e)
 {
     ADBWorker.Kill();
     Environment.Exit(0);
 }