示例#1
0
        public PrintQueueUsageResolverForm(UsageResolverData data)
            : base(data)
        {
            InitializeComponent();

            if (Data.Agent.ResolutionCompleted)
            {
                var id = new Guid(Data.Agent.ImportData.ResourceId);
                printQueueSelectionControl.Initialize(id, useCheckBox: false);
                _selectedQueue = new KeyValuePair <Guid, string>(id, Data.Replacement);
            }
            else
            {
                var id = Guid.Empty;
                printQueueSelectionControl.Initialize(id, useCheckBox: false);
            }

            printQueueSelectionControl.OnSelectedNodeChanged += printQueueSelectionControl_OnSelectedNodeChanged;
        }
示例#2
0
 public VirtualPrinterUsageResolverForm(UsageResolverData data)
     : base(data)
 {
 }
 public PrintDriverUsageResolverForm(UsageResolverData data)
     : base(data)
 {
     InitializeComponent();
 }
示例#4
0
 public UsageResolverForm(UsageResolverData data)
 {
     Data = data;
 }