private void uninstallProgramToolStripMenuItem_Click(object sender, EventArgs e) { FormRemovePrograms choseComp = new FormRemovePrograms(this); this.Visible = false; choseComp.Visible = true; }
private void btnRemoteUninstaller_Click(object sender, EventArgs e) { FormRemovePrograms remoteUninstaller = new FormRemovePrograms(this); this.Visible = false; remoteUninstaller.Visible = true; }
//string admin; //string password; //string domain; //bool isSoftList = false; //public ChoseItem(FormChoseComp parrent, string admin, string password, string domain) //{ // InitializeComponent(); // formChoseComp = parrent; // this.admin = admin; // this.password = password; // this.domain = domain; // setComputers(); // lbItems.Sorted = true; //} public ChoseItem(FormRemovePrograms parrent) { InitializeComponent(); formChoseComp = parrent; setSoft(); lbItems.Sorted = true; //isSoftList = true; }