Example #1
0
        private void signaturePortsButton_Click(object sender, EventArgs e)
        {
            if (outputListBox.SelectedItem != null)
            {
                var port     = outputListBox.SelectedItem as Port;
                var settings = _watermarkOptions.SignatureOutputSettings.FirstOrDefault(x => x.Signal == port);
                if (settings == null)
                {
                    settings = new OutWatermarkSettings(port);
                    _watermarkOptions.SignatureOutputSettings.Add(settings);
                }

                OutForm form = new OutForm(settings);
                form.ShowDialog();
            }
        }
Example #2
0
 public OutForm(OutWatermarkSettings settings)
 {
     InitializeComponent();
     _settings = settings;
 }