Example #1
0
        private void button2_Click(object sender, EventArgs e)
        {
            PackageForm form = new PackageForm(PackName, apps, IsSystem);

            if (form.ShowDialog() == DialogResult.OK)
            {
                apps        = form.apps;
                label1.Text = form.PackName;
            }
        }
Example #2
0
        private void imageButton1_Click(object sender, EventArgs e)
        {
            PackageForm form = new PackageForm("", new List <ImageApp>(), false);

            if (form.ShowDialog() == DialogResult.OK)
            {
                int        i    = appPackPanel.Controls.Count;
                AppPackage pack = new AppPackage(form.PackName, form.apps, this.androidDevicesPanel, false);
                pack.Location = new Point(10 + i * 180, 9);
                appPackPanel.Controls.Add(pack);
            }
        }