Exemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the class.
 /// </summary>
 public CtrlArcUploadOptions()
 {
     InitializeComponent();
     cbSnapshotType.DropDownStyle = ComboBoxStyle.DropDownList;
     cbSnapshotType.Items.Clear();
     cbSnapshotType.Items.Add(SnapshotType.Cur);
     cbSnapshotType.Items.Add(SnapshotType.Min);
     cbSnapshotType.Items.Add(SnapshotType.Hour);
     arcUploadOptions = null;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Shows archive upload options.
 /// </summary>
 private void ShowArcUploadOptionsProps(ArcUploadOptions arcUploadOptions)
 {
     if (arcUploadOptions == null)
     {
         ctrlArcUploadOptions.Visible = false;
     }
     else
     {
         ctrlArcUploadOptions.Visible          = true;
         ctrlArcUploadOptions.ArcUploadOptions = arcUploadOptions;
         ctrlTrigger.Visible           = false;
         ctrlEventTrigger.Visible      = false;
         ctrlGeneralOptions.Visible    = false;
         ctrlConnectionOptions.Visible = false;
     }
 }