예제 #1
0
 private void SaveImageHandler(object sender, EventArgs e)
 {
     try {
         saver.SaveToFile(FileOutputField.Text, Cloud, new Size(Cloud.Width + layouter.Center.X,
                                                                Cloud.Height + layouter.Center.Y));
     }
     catch {
         MessageBox.Show("Can not save image!", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
     }
 }