/// <summary>
 /// Initializes a new instance of the <see cref="HpacServerConfigurationActivityData"/> class.
 /// </summary>
 public HpacServerConfigurationActivityData()
 {
     HpacConfigTile    = HpacTile.Devices;
     SettingsData      = new SettingsTabData();
     IRMData           = new IRMTabData();
     DeviceData        = new DeviceTabData();
     PrintServerData   = new PrintServerTabData();
     JobAccountingData = new JobAccountingTabData();
 }
Esempio n. 2
0
 /// <summary>
 /// Configures the controls per the jobAccounting data either derived from initialization or the saved meta data.
 /// </summary>
 public void LoadConfiguration(JobAccountingTabData jobAccountingdata)
 {
     reportName_TextBox.Text      = jobAccountingdata.ReportName;
     sendReportEmail_TextBox.Text = jobAccountingdata.ReportEmailTo;
     outputFormat_ComboBox.Text   = jobAccountingdata.OutputFormat.ToString();
     if (jobAccountingdata.JobAccountingOperation == JobAccountingOperation.Quota)
     {
         quota_radioButton.Checked = true;
     }
     else
     {
         report_radioButton.Checked = true;
     }
 }