Exemplo n.º 1
0
 static void Main()
 {
     Application.EnableVisualStyles();
     Application.SetCompatibleTextRenderingDefault(false);
     startForm = new StartForm();
     Application.Run(startForm);
 }
Exemplo n.º 2
0
 static void Main()
 {
     Application.EnableVisualStyles();
     Application.SetCompatibleTextRenderingDefault(false);
     startForm = new StartForm();
     Application.Run(startForm);
 }
Exemplo n.º 3
0
 /// <summary>
 /// Обработка события нажатия на изображение.
 /// </summary>
 /// <param name="sender">The sender.</param>
 /// <param name="e">The <see cref="EventArgs"/> instance containing the event data.</param>
 private void SaveImage(object sender, EventArgs e)
 {
     StartForm.SaveImage(((PictureBox)sender).Image);
 }