Example #1
0
        private void button_PackageAll_Click(object sender, EventArgs e)
        {
            PrefsManager.GetInstance().SetPrefString("ZipPackagingMode", "All");

            if (zipWindow == null || zipWindow.IsDisposed)
                zipWindow = new Form_ZipPackaging();
            zipWindow.Show();
            zipWindow.OnPageShow();
        }
 private void button_sendWithAdb_Click(object sender, EventArgs e)
 {
     PrefsManager.GetInstance().SetPrefString("AdbMode", "push");
     PrefsManager.GetInstance().SetPrefString("AdbFileMode", "Partial");
     if (adbWindow == null || adbWindow.IsDisposed)
         adbWindow = new Form_AdbFileWindow();
     adbWindow.Show();
     adbWindow.OnPageShow();
 }
Example #3
0
 private bool ChangeForm(int page)
 {
     if (page < forms.Count && page > -1)
     {
         if (currentForm != null) currentForm.OnPageClose();
         NewForm newForm = forms[page];
         newForm.SetButtonStatus = ChangeButtonStatus;
         newForm.TopLevel = false;
         newForm.Visible = true;
         newForm.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
         newForm.OnPageShow();
         panel.Controls.Clear();
         panel.Controls.Add(newForm);
         currentForm = newForm;
         return true;
     }
     return false;
 }