ASP-код:
Form1:
using System; System. Drawing; System. Collections; System.componentModel; System. Windows. Forms; System. Data; Kursovoi
{
///
///Summary description for Form1.
/// class Form1: System. Windows. Forms. Form
{System. Windows. Forms. Button button1; System. Windows. Forms. Button button2; System. Windows. Forms. Button button3;
///
///Required designer variable.
/// System.componentModel. Container components = null; Form1 ()
{
//
// Required for Windows Form Designer support
// ();
//
// TODO: Add any constructor code after InitializeComponent call
//
}
///
///Clean up any resources being used.
/// override void Dispose (bool disposing)
{(disposing)
{(components! = null)
{. Dispose ();
}
}. Dispose (disposing);
}
///
///The main entry point for the application.
///
[STAThread] void Main ()
{. run (new Form1 ());
} void button1_Click (object sender, System. EventArgs e)
{f2 = new Form2 ();. ShowDialog ();. Dispose ();
} void button3_Click (object sender, System. EventArgs e)
{f4 = new Form4 ();. ShowDialog ();. Dispose ();
} void button2_Click (object sender, System. EventArgs e)
{f3 = new Form3 ();. ShowDialog ();. Dispose ();
} void Form1_Load (object sender, System. EventArgs e)
{
}
}
}
Form2:
using System; System. Drawing; System. Collections; System.componentModel; System. Windows. Forms; System. Data; Kursovoi
{
///
///Summary description for Form2.
/// class Form2: System. Windows. Forms. Form
{System. Windows. Forms. TabControl tabControl1; System. Windows. Forms. TabPage tabPage1; System. Windows. Forms. TabPage tabPage2; System. Windows. Forms. T...