Ejemplo n.º 1
0
 private void btnAdvanced_Click(object sender, EventArgs e)
 {
     AdvancedDialog adv = new AdvancedDialog();
     adv.VolumeIdentifier = _builder.VolumeIdentifier;
     adv.SystemIdentifier = _builder.SystemIdentifier;
     adv.VolumeSetIdentifier = _builder.VolumeSetIdentifier;
     adv.PublisherIdentifier = _builder.PublisherIdentifier;
     adv.DataPreparerIdentifier = _builder.DataPreparerIdentifier;
     adv.ApplicationIdentifier = _builder.ApplicationIdentifier;
     adv.TruncateMode = _builder.TruncateData;
     if (adv.ShowDialog() == DialogResult.OK)
     {
         _builder.VolumeIdentifier = adv.VolumeIdentifier;
         _builder.SystemIdentifier = adv.SystemIdentifier;
         _builder.VolumeSetIdentifier = adv.VolumeSetIdentifier;
         _builder.PublisherIdentifier = adv.PublisherIdentifier;
         _builder.DataPreparerIdentifier = adv.DataPreparerIdentifier;
         _builder.ApplicationIdentifier = adv.ApplicationIdentifier;
         _builder.TruncateData = adv.TruncateMode;
     }
 }
Ejemplo n.º 2
0
        private void btnAdvanced_Click(object sender, EventArgs e)
        {
            AdvancedDialog adv = new AdvancedDialog();

            adv.VolumeIdentifier       = _builder.PrimaryVolumeDescriptor.VolumeIdentifier;
            adv.SystemIdentifier       = _builder.PrimaryVolumeDescriptor.SystemIdentifier;
            adv.VolumeSetIdentifier    = _builder.PrimaryVolumeDescriptor.VolumeSetIdentifier;
            adv.PublisherIdentifier    = _builder.PrimaryVolumeDescriptor.PublisherIdentifier;
            adv.DataPreparerIdentifier = _builder.PrimaryVolumeDescriptor.DataPreparerIdentifier;
            adv.ApplicationIdentifier  = _builder.PrimaryVolumeDescriptor.ApplicationIdentifier;
            adv.TruncateMode           = _builder.TruncateData;
            if (adv.ShowDialog() == DialogResult.OK)
            {
                _builder.PrimaryVolumeDescriptor.VolumeIdentifier       = adv.VolumeIdentifier;
                _builder.PrimaryVolumeDescriptor.SystemIdentifier       = adv.SystemIdentifier;
                _builder.PrimaryVolumeDescriptor.VolumeSetIdentifier    = adv.VolumeSetIdentifier;
                _builder.PrimaryVolumeDescriptor.PublisherIdentifier    = adv.PublisherIdentifier;
                _builder.PrimaryVolumeDescriptor.DataPreparerIdentifier = adv.DataPreparerIdentifier;
                _builder.PrimaryVolumeDescriptor.ApplicationIdentifier  = adv.ApplicationIdentifier;
                _builder.TruncateData = adv.TruncateMode;
            }
        }