private void desktopicons_Click(object sender, EventArgs e) { Point objDrawingPoint = desktopicons.PointToClient(Cursor.Position); ListViewItem objListViewItem; if (objDrawingPoint != null) { objListViewItem = desktopicons.GetItemAt(objDrawingPoint.X, objDrawingPoint.Y); if (objListViewItem != null) { if (objListViewItem.Text == "Internet Explorer") { WinClassicIE4 ie = new WinClassicIE4(); Engine.Template.WinClassic app = wm.startWin95(ie, "Internet Explorer 4", null, true, true); app.BringToFront(); startmenu.Hide(); } else if (objListViewItem.Text == "Web Chat Setup") { WinClassicInstaller inst = new WinClassicInstaller(); inst.installname.Text = "Web Chat 1998"; Engine.Template.WinClassic app = wm.startWin95(inst, "Web Chat Setup", null, true, true); app.BringToFront(); startmenu.Hide(); } } } }
private void InternetExplorerToolStripMenuItem_Click(object sender, EventArgs e) { WinClassicIE4 ie = new WinClassicIE4(); Engine.Template.WinClassic app = wm.startWin95(ie, "Internet Explorer 4", null, true, true); app.BringToFront(); startmenu.Hide(); }
private void classicLabel22_Click(object sender, EventArgs e) { WinClassicIE4.GoToPage("www.12padams.com"); }