示例#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;
            }
        }
示例#2
0
文件: Form1.cs 项目: rajeshwarn/racer
        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);
            }
        }