Exemplo n.º 1
0
 private void Lab2_Click(object sender, EventArgs e)
 {
     if (originalImage != null)
     {
         Lab2Form form = new Lab2Form(originalImage);
         form.ShowDialog();
     }
     else
     {
         MessageBox.Show("Изображение не существует");
     }
 }
Exemplo n.º 2
0
        public NoizeGenForm(Form OwnerForm, string Mode = "RGB")
        {
            InitializeComponent();

            if (OwnerForm is ResultBox)
            {
                ownerForm = (ResultBox)OwnerForm;
            }
            else if (OwnerForm is Lab2Form)
            {
                lab2OwnerForm = (Lab2Form)OwnerForm;
            }

            this.FormClosing += new FormClosingEventHandler(NGFormClosing);
            mode              = Mode;
            colorLayer        = parseModeIntoLayerCode(Mode);
        }
Exemplo n.º 3
0
 public LinearFiltersChooserForm(Lab2Form owner)
 {
     InitializeComponent();
     ownerForm = owner;
 }