private void button3_Click(object sender, EventArgs e) { if (originalImage != null) { Lab3Form form = new Lab3Form(originalImage); form.ShowDialog(); } else { MessageBox.Show("Изображение не существует"); } }
public LocalMethods(Lab3Form OwnerForm) { InitializeComponent(); ownerForm = OwnerForm; }