public void bitplane() { BitPlaneForm bitPlaneForm = new BitPlaneForm(); bitPlaneForm.source = this.opened_image; bitPlaneForm.ShowDialog(this); this.opened_image = bitPlaneForm.source; set_new_image(); }