Exemplo n.º 1
0
 /// <summary>
 /// Открытие изображения
 /// </summary>
 /// <param name="sender">Отправитель</param>
 /// <param name="e">Параметры</param>
 private void openFile(object sender, EventArgs e)
 {
     try
     {
         picture.Image = logic.openBMP();
         picture.Size  = picture.Image.Size;
         Size          = new Size(picture.Width + 90, picture.Height + 137);
     }
     catch (Exception exc)
     {
     }
 }