コード例 #1
0
 public void UpdateSlideData(DataFile dRec)
 {
     this.sRecord.dRecord.Classification = dRec.Classification;
     this.sRecord.dRecord.SetName        = dRec.SetName;
     this.sRecord.dRecord.ShortDesc      = dRec.ShortDesc;
     this.sRecord.dRecord.Security       = dRec.Security;
     this.sRecord.dRecord.Rating         = dRec.Rating;
     this.sRecord.dRecord.CADNumber      = (dRec.CADNumber);
     this.sRecord.dRecord.RMSNumber      = (dRec.RMSNumber);
     this.sRecord.dRecord.IsIndefinite   = dRec.IsIndefinite;
     this.sRecord.dRecord.IsEvidence     = dRec.IsEvidence;
     this.RetentionDisplay();
     this.SetSlideData();
 }
コード例 #2
0
 private void InitializeComponent()
 {
     this.cboClass             = new vComboBox();
     this.lbl_Classification   = new Label();
     this.lbl_FileSecurity     = new Label();
     this.cboSecurity          = new vComboBox();
     this.lbl_SetName          = new Label();
     this.txtSetID             = new vTextBox();
     this.lbl_ShortDesc        = new Label();
     this.txtShortDesc         = new vTextBox();
     this.lbl_Rating           = new Label();
     this.RatingCtrl           = new vRatingControl();
     this.btn_Save             = new vButton();
     this.lblLine              = new Label();
     this.ps_FileName          = new Label();
     this.lbl_DB_FileName      = new Label();
     this.ps_FileDate          = new Label();
     this.lblTimestamp         = new Label();
     this.ps_FileUploaded      = new Label();
     this.lblUploaded          = new Label();
     this.ps_FileSize          = new Label();
     this.lblSize              = new Label();
     this.ps_HashCode          = new Label();
     this.lblHashCode          = new Label();
     this.ps_GPS               = new Label();
     this.lblGPS               = new Label();
     this.ps_FileOwner         = new Label();
     this.lblAccountName       = new Label();
     this.ps_AssetID           = new Label();
     this.label_0              = new Label();
     this.ps_FileExt           = new Label();
     this.lblFileExt           = new Label();
     this.ps_OriginalName      = new Label();
     this.lblOriginalName      = new Label();
     this.lblMachineName       = new Label();
     this.lblDomain            = new Label();
     this.lblMachineAccount    = new Label();
     this.label_1              = new Label();
     this.lblSourcePath        = new Label();
     this.ps_FileMachineName   = new Label();
     this.ps_FileDomain        = new Label();
     this.ps_FileDomainAccount = new Label();
     this.ps_FileLoginID       = new Label();
     this.ps_SourcePath        = new Label();
     this.txtRMS               = new vTextBox();
     this.ps_RMS               = new Label();
     this.txtCAD               = new vTextBox();
     this.ps_CAD               = new Label();
     this.chk_PSIsIndefinite   = new vCheckBox();
     this.MainPanel            = new Panel();
     this.BottomPanel          = new Panel();
     this.Thumbnail            = new PictureBox();
     this.TopPanel             = new Panel();
     this.RestorePanel         = new Panel();
     this.lblRestoreDate       = new Label();
     this.lbl_FileRestored     = new Label();
     this.pictureBox1          = new PictureBox();
     this.chk_PSEvidence       = new vCheckBox();
     this.HeaderPanel          = new Panel();
     this.lbl_FileInfo         = new Label();
     this.lbl_FileProfile      = new Label();
     this.btnClose             = new vButton();
     this.MainPanel.SuspendLayout();
     this.BottomPanel.SuspendLayout();
     ((ISupportInitialize)this.Thumbnail).BeginInit();
     this.TopPanel.SuspendLayout();
     this.RestorePanel.SuspendLayout();
     ((ISupportInitialize)this.pictureBox1).BeginInit();
     this.HeaderPanel.SuspendLayout();
     base.SuspendLayout();
     this.cboClass.BackColor               = Color.White;
     this.cboClass.DefaultText             = "";
     this.cboClass.DisplayMember           = "";
     this.cboClass.DropDownList            = true;
     this.cboClass.DropDownMaximumSize     = new Size(1000, 1000);
     this.cboClass.DropDownMinimumSize     = new Size(10, 10);
     this.cboClass.DropDownResizeDirection = SizingDirection.Both;
     this.cboClass.DropDownWidth           = 244;
     this.cboClass.Location = new Point(311, 70);
     this.cboClass.Name     = "cboClass";
     this.cboClass.RoundedCornersMaskListItem = 15;
     this.cboClass.Size                          = new Size(244, 26);
     this.cboClass.TabIndex                      = 5;
     this.cboClass.UseThemeBackColor             = false;
     this.cboClass.UseThemeDropDownArrowColor    = true;
     this.cboClass.ValueMember                   = "";
     this.cboClass.VIBlendScrollBarsTheme        = VIBLEND_THEME.VISTABLUE;
     this.cboClass.VIBlendTheme                  = VIBLEND_THEME.VISTABLUE;
     this.lbl_Classification.AutoSize            = true;
     this.lbl_Classification.Location            = new Point(11, 77);
     this.lbl_Classification.Name                = "lbl_Classification";
     this.lbl_Classification.Size                = new Size(87, 13);
     this.lbl_Classification.TabIndex            = 4;
     this.lbl_Classification.Text                = "File Classification";
     this.lbl_FileSecurity.AutoSize              = true;
     this.lbl_FileSecurity.Location              = new Point(11, 106);
     this.lbl_FileSecurity.Name                  = "lbl_FileSecurity";
     this.lbl_FileSecurity.Size                  = new Size(93, 13);
     this.lbl_FileSecurity.TabIndex              = 6;
     this.lbl_FileSecurity.Text                  = "File Security Level";
     this.cboSecurity.BackColor                  = Color.White;
     this.cboSecurity.DefaultText                = "";
     this.cboSecurity.DisplayMember              = "";
     this.cboSecurity.DropDownList               = true;
     this.cboSecurity.DropDownMaximumSize        = new Size(1000, 1000);
     this.cboSecurity.DropDownMinimumSize        = new Size(10, 10);
     this.cboSecurity.DropDownResizeDirection    = SizingDirection.Both;
     this.cboSecurity.DropDownWidth              = 244;
     this.cboSecurity.Location                   = new Point(311, 99);
     this.cboSecurity.Name                       = "cboSecurity";
     this.cboSecurity.RoundedCornersMaskListItem = 15;
     this.cboSecurity.Size                       = new Size(244, 26);
     this.cboSecurity.TabIndex                   = 7;
     this.cboSecurity.UseThemeBackColor          = false;
     this.cboSecurity.UseThemeDropDownArrowColor = true;
     this.cboSecurity.ValueMember                = "";
     this.cboSecurity.VIBlendScrollBarsTheme     = VIBLEND_THEME.VISTABLUE;
     this.cboSecurity.VIBlendTheme               = VIBLEND_THEME.VISTABLUE;
     this.lbl_SetName.AutoSize                   = true;
     this.lbl_SetName.Location                   = new Point(11, 48);
     this.lbl_SetName.Name                       = "lbl_SetName";
     this.lbl_SetName.Size                       = new Size(37, 13);
     this.lbl_SetName.TabIndex                   = 2;
     this.lbl_SetName.Text                       = "Set ID";
     this.txtSetID.BackColor                     = Color.White;
     this.txtSetID.BoundsOffset                  = new Size(1, 1);
     this.txtSetID.ControlBorderColor            = Color.FromArgb(39, 39, 39);
     this.txtSetID.DefaultText                   = "";
     this.txtSetID.Location                      = new Point(311, 41);
     this.txtSetID.MaxLength                     = 32;
     this.txtSetID.Name                          = "txtSetID";
     this.txtSetID.PasswordChar                  = '\0';
     this.txtSetID.ScrollBars                    = ScrollBars.None;
     this.txtSetID.SelectionLength               = 0;
     this.txtSetID.SelectionStart                = 0;
     this.txtSetID.Size                          = new Size(244, 26);
     this.txtSetID.TabIndex                      = 3;
     this.txtSetID.TextAlign                     = HorizontalAlignment.Left;
     this.txtSetID.VIBlendTheme                  = VIBLEND_THEME.VISTABLUE;
     this.lbl_ShortDesc.AutoSize                 = true;
     this.lbl_ShortDesc.Location                 = new Point(11, 135);
     this.lbl_ShortDesc.Name                     = "lbl_ShortDesc";
     this.lbl_ShortDesc.Size                     = new Size(88, 13);
     this.lbl_ShortDesc.TabIndex                 = 8;
     this.lbl_ShortDesc.Text                     = "Short Description";
     this.txtShortDesc.BackColor                 = Color.White;
     this.txtShortDesc.BoundsOffset              = new Size(1, 1);
     this.txtShortDesc.ControlBorderColor        = Color.FromArgb(39, 39, 39);
     this.txtShortDesc.DefaultText               = "";
     this.txtShortDesc.Location                  = new Point(311, 128);
     this.txtShortDesc.MaxLength                 = 32;
     this.txtShortDesc.Name                      = "txtShortDesc";
     this.txtShortDesc.PasswordChar              = '\0';
     this.txtShortDesc.ScrollBars                = ScrollBars.None;
     this.txtShortDesc.SelectionLength           = 0;
     this.txtShortDesc.SelectionStart            = 0;
     this.txtShortDesc.Size                      = new Size(244, 26);
     this.txtShortDesc.TabIndex                  = 9;
     this.txtShortDesc.TextAlign                 = HorizontalAlignment.Left;
     this.txtShortDesc.VIBlendTheme              = VIBLEND_THEME.VISTABLUE;
     this.lbl_Rating.AutoSize                    = true;
     this.lbl_Rating.Location                    = new Point(11, 17);
     this.lbl_Rating.Name                        = "lbl_Rating";
     this.lbl_Rating.Size                        = new Size(38, 13);
     this.lbl_Rating.TabIndex                    = 0;
     this.lbl_Rating.Text                        = "Rating";
     this.RatingCtrl.Location                    = new Point(311, 12);
     this.RatingCtrl.Name                        = "RatingCtrl";
     this.RatingCtrl.Shape                       = vRatingControlShapes.Star;
     this.RatingCtrl.Size                        = new Size(118, 23);
     this.RatingCtrl.TabIndex                    = 1;
     this.RatingCtrl.Value                       = 0f;
     this.RatingCtrl.ValueIndicatorSize          = 10;
     this.RatingCtrl.VIBlendTheme                = VIBLEND_THEME.VISTABLUE;
     this.btn_Save.AllowAnimations               = true;
     this.btn_Save.BackColor                     = Color.Transparent;
     this.btn_Save.Location                      = new Point(456, 3);
     this.btn_Save.Name                          = "btn_Save";
     this.btn_Save.RoundedCornersMask            = 15;
     this.btn_Save.Size                          = new Size(100, 30);
     this.btn_Save.TabIndex                      = 10;
     this.btn_Save.Text                          = "Save";
     this.btn_Save.UseVisualStyleBackColor       = false;
     this.btn_Save.VIBlendTheme                  = VIBLEND_THEME.VISTABLUE;
     this.btn_Save.Click                        += new EventHandler(this.btn_Save_Click);
     this.lblLine.BackColor                      = Color.FromArgb(64, 64, 64);
     this.lblLine.Location                       = new Point(12, 267);
     this.lblLine.Name             = "lblLine";
     this.lblLine.Size             = new Size(580, 1);
     this.lblLine.TabIndex         = 11;
     this.ps_FileName.AutoSize     = true;
     this.ps_FileName.Location     = new Point(14, 115);
     this.ps_FileName.Name         = "ps_FileName";
     this.ps_FileName.Size         = new Size(91, 13);
     this.ps_FileName.TabIndex     = 12;
     this.ps_FileName.Text         = "System File Name";
     this.lbl_DB_FileName.Location = new Point(166, 115);
     this.lbl_DB_FileName.Name     = "lbl_DB_FileName";
     this.lbl_DB_FileName.Size     = new Size(300, 13);
     this.lbl_DB_FileName.TabIndex = 13;
     this.lbl_DB_FileName.Text     = "File Name";
     this.ps_FileDate.AutoSize     = true;
     this.ps_FileDate.Location     = new Point(166, 7);
     this.ps_FileDate.Name         = "ps_FileDate";
     this.ps_FileDate.Size         = new Size(49, 13);
     this.ps_FileDate.TabIndex     = 14;
     this.ps_FileDate.Text         = "File Date";
     this.lblTimestamp.AutoSize    = true;
     this.lblTimestamp.Location    = new Point(311, 7);
     this.lblTimestamp.Name        = "lblTimestamp";
     this.lblTimestamp.Size        = new Size(110, 13);
     this.lblTimestamp.TabIndex    = 15;
     this.lblTimestamp.Text        = "00/00/0000 00:00:00";
     this.ps_FileUploaded.AutoSize = true;
     this.ps_FileUploaded.Location = new Point(166, 28);
     this.ps_FileUploaded.Name     = "ps_FileUploaded";
     this.ps_FileUploaded.Size     = new Size(72, 13);
     this.ps_FileUploaded.TabIndex = 16;
     this.ps_FileUploaded.Text     = "File Uploaded";
     this.lblUploaded.AutoSize     = true;
     this.lblUploaded.Location     = new Point(311, 28);
     this.lblUploaded.Name         = "lblUploaded";
     this.lblUploaded.Size         = new Size(110, 13);
     this.lblUploaded.TabIndex     = 17;
     this.lblUploaded.Text         = "00/00/0000 00:00:00";
     this.ps_FileSize.AutoSize     = true;
     this.ps_FileSize.Location     = new Point(166, 49);
     this.ps_FileSize.Name         = "ps_FileSize";
     this.ps_FileSize.Size         = new Size(46, 13);
     this.ps_FileSize.TabIndex     = 18;
     this.ps_FileSize.Text         = "File Size";
     this.lblSize.AutoSize         = true;
     this.lblSize.Location         = new Point(311, 49);
     this.lblSize.Name             = "lblSize";
     this.lblSize.Size             = new Size(42, 13);
     this.lblSize.TabIndex         = 19;
     this.lblSize.Text             = "0 Bytes";
     this.ps_HashCode.AutoSize     = true;
     this.ps_HashCode.Location     = new Point(166, 70);
     this.ps_HashCode.Name         = "ps_HashCode";
     this.ps_HashCode.Size         = new Size(92, 13);
     this.ps_HashCode.TabIndex     = 20;
     this.ps_HashCode.Text         = "File Security Code";
     this.lblHashCode.AutoSize     = true;
     this.lblHashCode.Location     = new Point(311, 70);
     this.lblHashCode.Name         = "lblHashCode";
     this.lblHashCode.Size         = new Size(13, 13);
     this.lblHashCode.TabIndex     = 21;
     this.lblHashCode.Text         = "0";
     this.ps_GPS.AutoSize          = true;
     this.ps_GPS.Location          = new Point(14, 181);
     this.ps_GPS.Name                   = "ps_GPS";
     this.ps_GPS.Size                   = new Size(73, 13);
     this.ps_GPS.TabIndex               = 22;
     this.ps_GPS.Text                   = "GPS Location";
     this.lblGPS.Location               = new Point(166, 181);
     this.lblGPS.Name                   = "lblGPS";
     this.lblGPS.Size                   = new Size(300, 13);
     this.lblGPS.TabIndex               = 23;
     this.lblGPS.Text                   = "0.0,0.0";
     this.ps_FileOwner.AutoSize         = true;
     this.ps_FileOwner.Location         = new Point(14, 203);
     this.ps_FileOwner.Name             = "ps_FileOwner";
     this.ps_FileOwner.Size             = new Size(57, 13);
     this.ps_FileOwner.TabIndex         = 24;
     this.ps_FileOwner.Text             = "File Owner";
     this.lblAccountName.Location       = new Point(166, 203);
     this.lblAccountName.Name           = "lblAccountName";
     this.lblAccountName.Size           = new Size(300, 13);
     this.lblAccountName.TabIndex       = 25;
     this.lblAccountName.Text           = "Account";
     this.ps_AssetID.AutoSize           = true;
     this.ps_AssetID.Location           = new Point(14, 93);
     this.ps_AssetID.Name               = "ps_AssetID";
     this.ps_AssetID.Size               = new Size(47, 13);
     this.ps_AssetID.TabIndex           = 26;
     this.ps_AssetID.Text               = "Asset ID";
     this.label_0.Location              = new Point(166, 93);
     this.label_0.Name                  = "lblAssetID";
     this.label_0.Size                  = new Size(300, 13);
     this.label_0.TabIndex              = 27;
     this.label_0.Text                  = "n/a";
     this.ps_FileExt.AutoSize           = true;
     this.ps_FileExt.Location           = new Point(14, 159);
     this.ps_FileExt.Name               = "ps_FileExt";
     this.ps_FileExt.Size               = new Size(72, 13);
     this.ps_FileExt.TabIndex           = 28;
     this.ps_FileExt.Text               = "File Extension";
     this.lblFileExt.Location           = new Point(166, 159);
     this.lblFileExt.Name               = "lblFileExt";
     this.lblFileExt.Size               = new Size(300, 13);
     this.lblFileExt.TabIndex           = 29;
     this.lblFileExt.Text               = "n/a";
     this.ps_OriginalName.AutoSize      = true;
     this.ps_OriginalName.Location      = new Point(14, 137);
     this.ps_OriginalName.Name          = "ps_OriginalName";
     this.ps_OriginalName.Size          = new Size(92, 13);
     this.ps_OriginalName.TabIndex      = 30;
     this.ps_OriginalName.Text          = "Original File Name";
     this.lblOriginalName.Location      = new Point(166, 137);
     this.lblOriginalName.Name          = "lblOriginalName";
     this.lblOriginalName.Size          = new Size(300, 13);
     this.lblOriginalName.TabIndex      = 31;
     this.lblOriginalName.Text          = "File";
     this.lblMachineName.Location       = new Point(166, 225);
     this.lblMachineName.Name           = "lblMachineName";
     this.lblMachineName.Size           = new Size(300, 13);
     this.lblMachineName.TabIndex       = 32;
     this.lblMachineName.Text           = "Machine Name";
     this.lblDomain.Location            = new Point(166, 247);
     this.lblDomain.Name                = "lblDomain";
     this.lblDomain.Size                = new Size(300, 13);
     this.lblDomain.TabIndex            = 33;
     this.lblDomain.Text                = "Machine Domain";
     this.lblMachineAccount.Location    = new Point(166, 269);
     this.lblMachineAccount.Name        = "lblMachineAccount";
     this.lblMachineAccount.Size        = new Size(300, 13);
     this.lblMachineAccount.TabIndex    = 34;
     this.lblMachineAccount.Text        = "Machine Account";
     this.label_1.Location              = new Point(166, 291);
     this.label_1.Name                  = "lblLoginID";
     this.label_1.Size                  = new Size(300, 13);
     this.label_1.TabIndex              = 35;
     this.label_1.Text                  = "Login ID";
     this.lblSourcePath.Location        = new Point(166, 313);
     this.lblSourcePath.Name            = "lblSourcePath";
     this.lblSourcePath.Size            = new Size(300, 13);
     this.lblSourcePath.TabIndex        = 36;
     this.lblSourcePath.Text            = "Path";
     this.ps_FileMachineName.AutoSize   = true;
     this.ps_FileMachineName.Location   = new Point(14, 225);
     this.ps_FileMachineName.Name       = "ps_FileMachineName";
     this.ps_FileMachineName.Size       = new Size(79, 13);
     this.ps_FileMachineName.TabIndex   = 37;
     this.ps_FileMachineName.Text       = "Machine Name";
     this.ps_FileDomain.AutoSize        = true;
     this.ps_FileDomain.Location        = new Point(14, 247);
     this.ps_FileDomain.Name            = "ps_FileDomain";
     this.ps_FileDomain.Size            = new Size(87, 13);
     this.ps_FileDomain.TabIndex        = 38;
     this.ps_FileDomain.Text            = "Machine Domain";
     this.ps_FileDomainAccount.AutoSize = true;
     this.ps_FileDomainAccount.Location = new Point(14, 269);
     this.ps_FileDomainAccount.Name     = "ps_FileDomainAccount";
     this.ps_FileDomainAccount.Size     = new Size(86, 13);
     this.ps_FileDomainAccount.TabIndex = 39;
     this.ps_FileDomainAccount.Text     = "Domain Account";
     this.ps_FileLoginID.AutoSize       = true;
     this.ps_FileLoginID.Location       = new Point(14, 291);
     this.ps_FileLoginID.Name           = "ps_FileLoginID";
     this.ps_FileLoginID.Size           = new Size(90, 13);
     this.ps_FileLoginID.TabIndex       = 40;
     this.ps_FileLoginID.Text           = "Account Login ID";
     this.ps_FileLoginID.Click         += new EventHandler(this.lbl_FileLoginID_Click);
     this.ps_SourcePath.AutoSize        = true;
     this.ps_SourcePath.Location        = new Point(14, 313);
     this.ps_SourcePath.Name            = "ps_SourcePath";
     this.ps_SourcePath.Size            = new Size(85, 13);
     this.ps_SourcePath.TabIndex        = 41;
     this.ps_SourcePath.Text            = "File Source Path";
     this.txtRMS.BackColor              = Color.White;
     this.txtRMS.BoundsOffset           = new Size(1, 1);
     this.txtRMS.ControlBorderColor     = Color.FromArgb(39, 39, 39);
     this.txtRMS.DefaultText            = "";
     this.txtRMS.Location               = new Point(311, 157);
     this.txtRMS.MaxLength              = 32;
     this.txtRMS.Name                   = "txtRMS";
     this.txtRMS.PasswordChar           = '\0';
     this.txtRMS.ScrollBars             = ScrollBars.None;
     this.txtRMS.SelectionLength        = 0;
     this.txtRMS.SelectionStart         = 0;
     this.txtRMS.Size                   = new Size(244, 26);
     this.txtRMS.TabIndex               = 43;
     this.txtRMS.TextAlign              = HorizontalAlignment.Left;
     this.txtRMS.VIBlendTheme           = VIBLEND_THEME.VISTABLUE;
     this.ps_RMS.AutoSize               = true;
     this.ps_RMS.Location               = new Point(11, 164);
     this.ps_RMS.Name                   = "ps_RMS";
     this.ps_RMS.Size                   = new Size(158, 13);
     this.ps_RMS.TabIndex               = 42;
     this.ps_RMS.Text                   = "Record Management System ID";
     this.txtCAD.BackColor              = Color.White;
     this.txtCAD.BoundsOffset           = new Size(1, 1);
     this.txtCAD.ControlBorderColor     = Color.FromArgb(39, 39, 39);
     this.txtCAD.DefaultText            = "";
     this.txtCAD.Location               = new Point(311, 186);
     this.txtCAD.MaxLength              = 32;
     this.txtCAD.Name                   = "txtCAD";
     this.txtCAD.PasswordChar           = '\0';
     this.txtCAD.ScrollBars             = ScrollBars.None;
     this.txtCAD.SelectionLength        = 0;
     this.txtCAD.SelectionStart         = 0;
     this.txtCAD.Size                   = new Size(244, 26);
     this.txtCAD.TabIndex               = 45;
     this.txtCAD.TextAlign              = HorizontalAlignment.Left;
     this.txtCAD.VIBlendTheme           = VIBLEND_THEME.VISTABLUE;
     this.ps_CAD.AutoSize               = true;
     this.ps_CAD.Location               = new Point(11, 193);
     this.ps_CAD.Name                   = "ps_CAD";
     this.ps_CAD.Size                   = new Size(141, 13);
     this.ps_CAD.TabIndex               = 44;
     this.ps_CAD.Text                   = "Computer Aided Dispatch ID";
     this.chk_PSIsIndefinite.BackColor  = Color.Transparent;
     this.chk_PSIsIndefinite.Location   = new Point(311, 215);
     this.chk_PSIsIndefinite.Name       = "chk_PSIsIndefinite";
     this.chk_PSIsIndefinite.Size       = new Size(244, 24);
     this.chk_PSIsIndefinite.TabIndex   = 46;
     this.chk_PSIsIndefinite.Text       = "Retain File Indefinite";
     this.chk_PSIsIndefinite.UseVisualStyleBackColor = false;
     this.chk_PSIsIndefinite.VIBlendTheme            = VIBLEND_THEME.VISTABLUE;
     this.MainPanel.BorderStyle = BorderStyle.FixedSingle;
     this.MainPanel.Controls.Add(this.BottomPanel);
     this.MainPanel.Controls.Add(this.TopPanel);
     this.MainPanel.Dock     = DockStyle.Fill;
     this.MainPanel.Location = new Point(0, 45);
     this.MainPanel.Name     = "MainPanel";
     this.MainPanel.Size     = new Size(600, 605);
     this.MainPanel.TabIndex = 47;
     this.BottomPanel.Controls.Add(this.Thumbnail);
     this.BottomPanel.Controls.Add(this.lblGPS);
     this.BottomPanel.Controls.Add(this.ps_SourcePath);
     this.BottomPanel.Controls.Add(this.ps_GPS);
     this.BottomPanel.Controls.Add(this.ps_FileLoginID);
     this.BottomPanel.Controls.Add(this.ps_FileOwner);
     this.BottomPanel.Controls.Add(this.ps_FileDomainAccount);
     this.BottomPanel.Controls.Add(this.lblHashCode);
     this.BottomPanel.Controls.Add(this.ps_FileDomain);
     this.BottomPanel.Controls.Add(this.lblAccountName);
     this.BottomPanel.Controls.Add(this.ps_FileMachineName);
     this.BottomPanel.Controls.Add(this.ps_HashCode);
     this.BottomPanel.Controls.Add(this.lblSourcePath);
     this.BottomPanel.Controls.Add(this.ps_AssetID);
     this.BottomPanel.Controls.Add(this.lblSize);
     this.BottomPanel.Controls.Add(this.label_1);
     this.BottomPanel.Controls.Add(this.label_0);
     this.BottomPanel.Controls.Add(this.lblMachineAccount);
     this.BottomPanel.Controls.Add(this.ps_FileSize);
     this.BottomPanel.Controls.Add(this.ps_FileName);
     this.BottomPanel.Controls.Add(this.ps_FileExt);
     this.BottomPanel.Controls.Add(this.lblDomain);
     this.BottomPanel.Controls.Add(this.lblUploaded);
     this.BottomPanel.Controls.Add(this.lbl_DB_FileName);
     this.BottomPanel.Controls.Add(this.lblFileExt);
     this.BottomPanel.Controls.Add(this.lblMachineName);
     this.BottomPanel.Controls.Add(this.ps_FileUploaded);
     this.BottomPanel.Controls.Add(this.ps_FileDate);
     this.BottomPanel.Controls.Add(this.ps_OriginalName);
     this.BottomPanel.Controls.Add(this.lblOriginalName);
     this.BottomPanel.Controls.Add(this.lblTimestamp);
     this.BottomPanel.Dock     = DockStyle.Top;
     this.BottomPanel.Location = new Point(0, 272);
     this.BottomPanel.Name     = "BottomPanel";
     this.BottomPanel.Size     = new Size(598, 332);
     this.BottomPanel.TabIndex = 49;
     this.Thumbnail.BackColor  = Color.Black;
     this.Thumbnail.Location   = new Point(14, 5);
     this.Thumbnail.Margin     = new Padding(0);
     this.Thumbnail.Name       = "Thumbnail";
     this.Thumbnail.Size       = new Size(137, 80);
     this.Thumbnail.SizeMode   = PictureBoxSizeMode.StretchImage;
     this.Thumbnail.TabIndex   = 9;
     this.Thumbnail.TabStop    = false;
     this.TopPanel.Controls.Add(this.RestorePanel);
     this.TopPanel.Controls.Add(this.btn_Save);
     this.TopPanel.Controls.Add(this.chk_PSEvidence);
     this.TopPanel.Controls.Add(this.lblLine);
     this.TopPanel.Controls.Add(this.RatingCtrl);
     this.TopPanel.Controls.Add(this.chk_PSIsIndefinite);
     this.TopPanel.Controls.Add(this.lbl_Rating);
     this.TopPanel.Controls.Add(this.cboClass);
     this.TopPanel.Controls.Add(this.txtShortDesc);
     this.TopPanel.Controls.Add(this.txtCAD);
     this.TopPanel.Controls.Add(this.lbl_ShortDesc);
     this.TopPanel.Controls.Add(this.lbl_Classification);
     this.TopPanel.Controls.Add(this.txtSetID);
     this.TopPanel.Controls.Add(this.ps_CAD);
     this.TopPanel.Controls.Add(this.lbl_SetName);
     this.TopPanel.Controls.Add(this.lbl_FileSecurity);
     this.TopPanel.Controls.Add(this.ps_RMS);
     this.TopPanel.Controls.Add(this.txtRMS);
     this.TopPanel.Controls.Add(this.cboSecurity);
     this.TopPanel.Dock     = DockStyle.Top;
     this.TopPanel.Location = new Point(0, 0);
     this.TopPanel.Name     = "TopPanel";
     this.TopPanel.Size     = new Size(598, 272);
     this.TopPanel.TabIndex = 48;
     this.RestorePanel.Controls.Add(this.lblRestoreDate);
     this.RestorePanel.Controls.Add(this.lbl_FileRestored);
     this.RestorePanel.Controls.Add(this.pictureBox1);
     this.RestorePanel.Location     = new Point(4, 218);
     this.RestorePanel.Name         = "RestorePanel";
     this.RestorePanel.Size         = new Size(301, 44);
     this.RestorePanel.TabIndex     = 48;
     this.RestorePanel.Visible      = false;
     this.lblRestoreDate.AutoSize   = true;
     this.lblRestoreDate.Location   = new Point(32, 25);
     this.lblRestoreDate.Name       = "lblRestoreDate";
     this.lblRestoreDate.Size       = new Size(110, 13);
     this.lblRestoreDate.TabIndex   = 2;
     this.lblRestoreDate.Text       = "00/00/0000 00:00:00";
     this.lbl_FileRestored.AutoSize = true;
     this.lbl_FileRestored.Location = new Point(32, 8);
     this.lbl_FileRestored.Name     = "lbl_FileRestored";
     this.lbl_FileRestored.Size     = new Size(69, 13);
     this.lbl_FileRestored.TabIndex = 1;
     this.lbl_FileRestored.Text     = "File Restored";
     this.pictureBox1.Image         = Resources.restore;
     this.pictureBox1.Location      = new Point(8, 8);
     this.pictureBox1.Name          = "pictureBox1";
     this.pictureBox1.Size          = new Size(18, 18);
     this.pictureBox1.SizeMode      = PictureBoxSizeMode.CenterImage;
     this.pictureBox1.TabIndex      = 0;
     this.pictureBox1.TabStop       = false;
     this.chk_PSEvidence.BackColor  = Color.Transparent;
     this.chk_PSEvidence.Location   = new Point(311, 240);
     this.chk_PSEvidence.Name       = "chk_PSEvidence";
     this.chk_PSEvidence.Size       = new Size(244, 24);
     this.chk_PSEvidence.TabIndex   = 47;
     this.chk_PSEvidence.Text       = "Evidence";
     this.chk_PSEvidence.UseVisualStyleBackColor = false;
     this.chk_PSEvidence.VIBlendTheme            = VIBLEND_THEME.VISTABLUE;
     this.HeaderPanel.BackColor             = Color.FromArgb(64, 64, 64);
     this.HeaderPanel.BackgroundImageLayout = ImageLayout.Stretch;
     this.HeaderPanel.Controls.Add(this.lbl_FileInfo);
     this.HeaderPanel.Controls.Add(this.lbl_FileProfile);
     this.HeaderPanel.Controls.Add(this.btnClose);
     this.HeaderPanel.Dock                 = DockStyle.Top;
     this.HeaderPanel.Location             = new Point(0, 0);
     this.HeaderPanel.Name                 = "HeaderPanel";
     this.HeaderPanel.Size                 = new Size(600, 45);
     this.HeaderPanel.TabIndex             = 0;
     this.HeaderPanel.MouseDown           += new MouseEventHandler(this.HeaderPanel_MouseDown);
     this.lbl_FileInfo.AutoSize            = true;
     this.lbl_FileInfo.BackColor           = Color.Transparent;
     this.lbl_FileInfo.ForeColor           = Color.White;
     this.lbl_FileInfo.Location            = new Point(17, 25);
     this.lbl_FileInfo.Name                = "lbl_FileInfo";
     this.lbl_FileInfo.Size                = new Size(78, 13);
     this.lbl_FileInfo.TabIndex            = 3;
     this.lbl_FileInfo.Text                = "File Information";
     this.lbl_FileInfo.TextAlign           = ContentAlignment.MiddleLeft;
     this.lbl_FileProfile.AutoSize         = true;
     this.lbl_FileProfile.BackColor        = Color.Transparent;
     this.lbl_FileProfile.Font             = new Font("Microsoft Sans Serif", 9.75f, FontStyle.Bold, GraphicsUnit.Point, 0);
     this.lbl_FileProfile.ForeColor        = Color.White;
     this.lbl_FileProfile.Location         = new Point(17, 5);
     this.lbl_FileProfile.Name             = "lbl_FileProfile";
     this.lbl_FileProfile.Size             = new Size(113, 16);
     this.lbl_FileProfile.TabIndex         = 2;
     this.lbl_FileProfile.Text             = "Profile Settings";
     this.lbl_FileProfile.TextAlign        = ContentAlignment.MiddleLeft;
     this.lbl_FileProfile.MouseDown       += new MouseEventHandler(this.lbl_FileProfile_MouseDown);
     this.btnClose.AllowAnimations         = true;
     this.btnClose.BackColor               = Color.Transparent;
     this.btnClose.Dock                    = DockStyle.Right;
     this.btnClose.Image                   = Resources.close;
     this.btnClose.Location                = new Point(555, 0);
     this.btnClose.Name                    = "btnClose";
     this.btnClose.PaintBorder             = false;
     this.btnClose.PaintDefaultBorder      = false;
     this.btnClose.PaintDefaultFill        = false;
     this.btnClose.RoundedCornersMask      = 15;
     this.btnClose.RoundedCornersRadius    = 0;
     this.btnClose.Size                    = new Size(45, 45);
     this.btnClose.TabIndex                = 0;
     this.btnClose.UseVisualStyleBackColor = false;
     this.btnClose.VIBlendTheme            = VIBLEND_THEME.VISTABLUE;
     this.btnClose.Click                  += new EventHandler(this.btnClose_Click);
     base.AutoScaleDimensions              = new SizeF(6f, 13f);
     base.AutoScaleMode                    = AutoScaleMode.Font;
     this.BackColor  = Color.White;
     base.ClientSize = new Size(600, 650);
     base.Controls.Add(this.MainPanel);
     base.Controls.Add(this.HeaderPanel);
     base.FormBorderStyle = FormBorderStyle.None;
     base.Name            = "ProfileData";
     base.StartPosition   = FormStartPosition.CenterParent;
     this.Text            = "ProfileData";
     base.Load           += new EventHandler(this.ProfileData_Load);
     base.Paint          += new PaintEventHandler(this.ProfileData_Paint);
     base.Enter          += new EventHandler(this.ProfileData_Enter);
     this.MainPanel.ResumeLayout(false);
     this.BottomPanel.ResumeLayout(false);
     this.BottomPanel.PerformLayout();
     ((ISupportInitialize)this.Thumbnail).EndInit();
     this.TopPanel.ResumeLayout(false);
     this.TopPanel.PerformLayout();
     this.RestorePanel.ResumeLayout(false);
     this.RestorePanel.PerformLayout();
     ((ISupportInitialize)this.pictureBox1).EndInit();
     this.HeaderPanel.ResumeLayout(false);
     this.HeaderPanel.PerformLayout();
     base.ResumeLayout(false);
 }
コード例 #3
0
ファイル: DataProfile.cs プロジェクト: ewin66/VideoManager
 private void InitializeComponent()
 {
     this.BodyPanel            = new Panel();
     this.lblCount             = new Label();
     this.chk_IsIndefinite     = new vCheckBox();
     this.chk_IsEvidence       = new vCheckBox();
     this.mp_CAD               = new Label();
     this.cadTxt               = new Label();
     this.mp_RMS               = new Label();
     this.rmsTxt               = new Label();
     this.mp_ShortDesc         = new Label();
     this.txtShortDesc         = new Label();
     this.mp_SetID             = new Label();
     this.txtSetID             = new Label();
     this.RatingCtrl           = new vRatingControl();
     this.lblGPS               = new Label();
     this.mp_SourcePath        = new Label();
     this.mp_GPS               = new Label();
     this.mp_FileLoginID       = new Label();
     this.mp_FileOwner         = new Label();
     this.mp_FileDomainAccount = new Label();
     this.mp_FileDomain        = new Label();
     this.lblAccountName       = new Label();
     this.mp_FileMachineName   = new Label();
     this.lblSourcePath        = new Label();
     this.mp_AssetID           = new Label();
     this.lblLoginID           = new Label();
     this.lblAssetID           = new Label();
     this.lblMachineAccount    = new Label();
     this.mp_FileName          = new Label();
     this.mp_FileExt           = new Label();
     this.lblDomain            = new Label();
     this.lbl_DB_FileName      = new Label();
     this.lblFileExt           = new Label();
     this.lblMachineName       = new Label();
     this.mp_OriginalName      = new Label();
     this.lblOriginalName      = new Label();
     this.lblHashCode          = new Label();
     this.mp_HashCode          = new Label();
     this.lblSize              = new Label();
     this.mp_FileSize          = new Label();
     this.lblUploaded          = new Label();
     this.mp_FileUploaded      = new Label();
     this.mp_FileDate          = new Label();
     this.lblTimestamp         = new Label();
     this.picImage             = new PictureBox();
     this.HeaderPanel          = new Panel();
     this.btnClose             = new vButton();
     this.lbl_MediaProfile     = new Label();
     this.BodyPanel.SuspendLayout();
     ((ISupportInitialize)this.picImage).BeginInit();
     this.HeaderPanel.SuspendLayout();
     base.SuspendLayout();
     this.BodyPanel.BackColor   = Color.White;
     this.BodyPanel.BorderStyle = BorderStyle.FixedSingle;
     this.BodyPanel.Controls.Add(this.lblCount);
     this.BodyPanel.Controls.Add(this.picImage);
     this.BodyPanel.Controls.Add(this.chk_IsIndefinite);
     this.BodyPanel.Controls.Add(this.chk_IsEvidence);
     this.BodyPanel.Controls.Add(this.mp_CAD);
     this.BodyPanel.Controls.Add(this.cadTxt);
     this.BodyPanel.Controls.Add(this.mp_RMS);
     this.BodyPanel.Controls.Add(this.rmsTxt);
     this.BodyPanel.Controls.Add(this.mp_ShortDesc);
     this.BodyPanel.Controls.Add(this.txtShortDesc);
     this.BodyPanel.Controls.Add(this.mp_SetID);
     this.BodyPanel.Controls.Add(this.txtSetID);
     this.BodyPanel.Controls.Add(this.RatingCtrl);
     this.BodyPanel.Controls.Add(this.lblGPS);
     this.BodyPanel.Controls.Add(this.mp_SourcePath);
     this.BodyPanel.Controls.Add(this.mp_GPS);
     this.BodyPanel.Controls.Add(this.mp_FileLoginID);
     this.BodyPanel.Controls.Add(this.mp_FileOwner);
     this.BodyPanel.Controls.Add(this.mp_FileDomainAccount);
     this.BodyPanel.Controls.Add(this.mp_FileDomain);
     this.BodyPanel.Controls.Add(this.lblAccountName);
     this.BodyPanel.Controls.Add(this.mp_FileMachineName);
     this.BodyPanel.Controls.Add(this.lblSourcePath);
     this.BodyPanel.Controls.Add(this.mp_AssetID);
     this.BodyPanel.Controls.Add(this.lblLoginID);
     this.BodyPanel.Controls.Add(this.lblAssetID);
     this.BodyPanel.Controls.Add(this.lblMachineAccount);
     this.BodyPanel.Controls.Add(this.mp_FileName);
     this.BodyPanel.Controls.Add(this.mp_FileExt);
     this.BodyPanel.Controls.Add(this.lblDomain);
     this.BodyPanel.Controls.Add(this.lbl_DB_FileName);
     this.BodyPanel.Controls.Add(this.lblFileExt);
     this.BodyPanel.Controls.Add(this.lblMachineName);
     this.BodyPanel.Controls.Add(this.mp_OriginalName);
     this.BodyPanel.Controls.Add(this.lblOriginalName);
     this.BodyPanel.Controls.Add(this.lblHashCode);
     this.BodyPanel.Controls.Add(this.mp_HashCode);
     this.BodyPanel.Controls.Add(this.lblSize);
     this.BodyPanel.Controls.Add(this.mp_FileSize);
     this.BodyPanel.Controls.Add(this.lblUploaded);
     this.BodyPanel.Controls.Add(this.mp_FileUploaded);
     this.BodyPanel.Controls.Add(this.mp_FileDate);
     this.BodyPanel.Controls.Add(this.lblTimestamp);
     this.BodyPanel.Dock             = DockStyle.Fill;
     this.BodyPanel.Location         = new Point(0, 45);
     this.BodyPanel.Name             = "BodyPanel";
     this.BodyPanel.Size             = new Size(527, 464);
     this.BodyPanel.TabIndex         = 1;
     this.lblCount.Anchor            = AnchorStyles.Right;
     this.lblCount.BackColor         = Color.LightGray;
     this.lblCount.BorderStyle       = BorderStyle.FixedSingle;
     this.lblCount.Font              = new Font("Microsoft Sans Serif", 9f, FontStyle.Bold, GraphicsUnit.Point, 0);
     this.lblCount.Location          = new Point(451, 1);
     this.lblCount.Name              = "lblCount";
     this.lblCount.Size              = new Size(71, 23);
     this.lblCount.TabIndex          = 76;
     this.lblCount.Text              = "0";
     this.lblCount.TextAlign         = ContentAlignment.MiddleCenter;
     this.chk_IsIndefinite.BackColor = Color.Transparent;
     this.chk_IsIndefinite.Enabled   = false;
     this.chk_IsIndefinite.Location  = new Point(191, 62);
     this.chk_IsIndefinite.Name      = "chk_IsIndefinite";
     this.chk_IsIndefinite.Size      = new Size(184, 24);
     this.chk_IsIndefinite.TabIndex  = 74;
     this.chk_IsIndefinite.Text      = "Is Retain Indefinite";
     this.chk_IsIndefinite.UseVisualStyleBackColor = false;
     this.chk_IsIndefinite.VIBlendTheme            = VIBLEND_THEME.VISTABLUE;
     this.chk_IsEvidence.BackColor = Color.Transparent;
     this.chk_IsEvidence.Enabled   = false;
     this.chk_IsEvidence.Location  = new Point(191, 32);
     this.chk_IsEvidence.Name      = "chk_IsEvidence";
     this.chk_IsEvidence.Size      = new Size(104, 24);
     this.chk_IsEvidence.TabIndex  = 73;
     this.chk_IsEvidence.Text      = "Is Evidence";
     this.chk_IsEvidence.UseVisualStyleBackColor = false;
     this.chk_IsEvidence.VIBlendTheme            = VIBLEND_THEME.VISTABLUE;
     this.mp_CAD.AutoSize                   = true;
     this.mp_CAD.Location                   = new Point(24, 160);
     this.mp_CAD.Name                       = "mp_CAD";
     this.mp_CAD.Size                       = new Size(69, 13);
     this.mp_CAD.TabIndex                   = 72;
     this.mp_CAD.Text                       = "CAD Number";
     this.cadTxt.AutoSize                   = true;
     this.cadTxt.Location                   = new Point(191, 160);
     this.cadTxt.Name                       = "cadTxt";
     this.cadTxt.Size                       = new Size(69, 13);
     this.cadTxt.TabIndex                   = 71;
     this.cadTxt.Text                       = "CAD Number";
     this.mp_RMS.AutoSize                   = true;
     this.mp_RMS.Location                   = new Point(24, 141);
     this.mp_RMS.Name                       = "mp_RMS";
     this.mp_RMS.Size                       = new Size(71, 13);
     this.mp_RMS.TabIndex                   = 70;
     this.mp_RMS.Text                       = "RMS Number";
     this.rmsTxt.AutoSize                   = true;
     this.rmsTxt.Location                   = new Point(191, 141);
     this.rmsTxt.Name                       = "rmsTxt";
     this.rmsTxt.Size                       = new Size(71, 13);
     this.rmsTxt.TabIndex                   = 69;
     this.rmsTxt.Text                       = "RMS Number";
     this.mp_ShortDesc.AutoSize             = true;
     this.mp_ShortDesc.Location             = new Point(24, 122);
     this.mp_ShortDesc.Name                 = "mp_ShortDesc";
     this.mp_ShortDesc.Size                 = new Size(60, 13);
     this.mp_ShortDesc.TabIndex             = 68;
     this.mp_ShortDesc.Text                 = "Short Desc";
     this.txtShortDesc.AutoSize             = true;
     this.txtShortDesc.Location             = new Point(191, 122);
     this.txtShortDesc.Name                 = "txtShortDesc";
     this.txtShortDesc.Size                 = new Size(60, 13);
     this.txtShortDesc.TabIndex             = 67;
     this.txtShortDesc.Text                 = "Short Desc";
     this.mp_SetID.AutoSize                 = true;
     this.mp_SetID.Location                 = new Point(24, 103);
     this.mp_SetID.Name                     = "mp_SetID";
     this.mp_SetID.Size                     = new Size(37, 13);
     this.mp_SetID.TabIndex                 = 66;
     this.mp_SetID.Text                     = "Set ID";
     this.txtSetID.AutoSize                 = true;
     this.txtSetID.Location                 = new Point(191, 103);
     this.txtSetID.Name                     = "txtSetID";
     this.txtSetID.Size                     = new Size(37, 13);
     this.txtSetID.TabIndex                 = 65;
     this.txtSetID.Text                     = "Set ID";
     this.RatingCtrl.Enabled                = false;
     this.RatingCtrl.Location               = new Point(191, 3);
     this.RatingCtrl.Name                   = "RatingCtrl";
     this.RatingCtrl.Shape                  = vRatingControlShapes.Star;
     this.RatingCtrl.Size                   = new Size(144, 23);
     this.RatingCtrl.TabIndex               = 64;
     this.RatingCtrl.Text                   = "vRatingControl1";
     this.RatingCtrl.Value                  = 0f;
     this.RatingCtrl.VIBlendTheme           = VIBLEND_THEME.VISTABLUE;
     this.lblGPS.Location                   = new Point(191, 332);
     this.lblGPS.Name                       = "lblGPS";
     this.lblGPS.Size                       = new Size(300, 13);
     this.lblGPS.TabIndex                   = 45;
     this.lblGPS.Text                       = "0.0,0.0";
     this.mp_SourcePath.AutoSize            = true;
     this.mp_SourcePath.Location            = new Point(24, 446);
     this.mp_SourcePath.Name                = "mp_SourcePath";
     this.mp_SourcePath.Size                = new Size(85, 13);
     this.mp_SourcePath.TabIndex            = 63;
     this.mp_SourcePath.Text                = "File Source Path";
     this.mp_GPS.AutoSize                   = true;
     this.mp_GPS.Location                   = new Point(24, 332);
     this.mp_GPS.Name                       = "mp_GPS";
     this.mp_GPS.Size                       = new Size(73, 13);
     this.mp_GPS.TabIndex                   = 44;
     this.mp_GPS.Text                       = "GPS Location";
     this.mp_FileLoginID.AutoSize           = true;
     this.mp_FileLoginID.Location           = new Point(24, 427);
     this.mp_FileLoginID.Name               = "mp_FileLoginID";
     this.mp_FileLoginID.Size               = new Size(90, 13);
     this.mp_FileLoginID.TabIndex           = 62;
     this.mp_FileLoginID.Text               = "Account Login ID";
     this.mp_FileOwner.AutoSize             = true;
     this.mp_FileOwner.Location             = new Point(24, 351);
     this.mp_FileOwner.Name                 = "mp_FileOwner";
     this.mp_FileOwner.Size                 = new Size(57, 13);
     this.mp_FileOwner.TabIndex             = 46;
     this.mp_FileOwner.Text                 = "File Owner";
     this.mp_FileDomainAccount.AutoSize     = true;
     this.mp_FileDomainAccount.Location     = new Point(24, 408);
     this.mp_FileDomainAccount.Name         = "mp_FileDomainAccount";
     this.mp_FileDomainAccount.Size         = new Size(86, 13);
     this.mp_FileDomainAccount.TabIndex     = 61;
     this.mp_FileDomainAccount.Text         = "Domain Account";
     this.mp_FileDomain.AutoSize            = true;
     this.mp_FileDomain.Location            = new Point(24, 389);
     this.mp_FileDomain.Name                = "mp_FileDomain";
     this.mp_FileDomain.Size                = new Size(87, 13);
     this.mp_FileDomain.TabIndex            = 60;
     this.mp_FileDomain.Text                = "Machine Domain";
     this.lblAccountName.Location           = new Point(191, 351);
     this.lblAccountName.Name               = "lblAccountName";
     this.lblAccountName.Size               = new Size(300, 13);
     this.lblAccountName.TabIndex           = 47;
     this.lblAccountName.Text               = "Account";
     this.mp_FileMachineName.AutoSize       = true;
     this.mp_FileMachineName.Location       = new Point(24, 370);
     this.mp_FileMachineName.Name           = "mp_FileMachineName";
     this.mp_FileMachineName.Size           = new Size(79, 13);
     this.mp_FileMachineName.TabIndex       = 59;
     this.mp_FileMachineName.Text           = "Machine Name";
     this.lblSourcePath.Location            = new Point(191, 446);
     this.lblSourcePath.Name                = "lblSourcePath";
     this.lblSourcePath.Size                = new Size(300, 13);
     this.lblSourcePath.TabIndex            = 58;
     this.lblSourcePath.Text                = "Path";
     this.mp_AssetID.AutoSize               = true;
     this.mp_AssetID.Location               = new Point(24, 256);
     this.mp_AssetID.Name                   = "mp_AssetID";
     this.mp_AssetID.Size                   = new Size(47, 13);
     this.mp_AssetID.TabIndex               = 48;
     this.mp_AssetID.Text                   = "Asset ID";
     this.lblLoginID.Location               = new Point(191, 427);
     this.lblLoginID.Name                   = "lblLoginID";
     this.lblLoginID.Size                   = new Size(300, 13);
     this.lblLoginID.TabIndex               = 57;
     this.lblLoginID.Text                   = "Login ID";
     this.lblAssetID.Location               = new Point(191, 256);
     this.lblAssetID.Name                   = "lblAssetID";
     this.lblAssetID.Size                   = new Size(300, 13);
     this.lblAssetID.TabIndex               = 49;
     this.lblAssetID.Text                   = "n/a";
     this.lblMachineAccount.Location        = new Point(191, 408);
     this.lblMachineAccount.Name            = "lblMachineAccount";
     this.lblMachineAccount.Size            = new Size(300, 13);
     this.lblMachineAccount.TabIndex        = 56;
     this.lblMachineAccount.Text            = "Machine Account";
     this.mp_FileName.AutoSize              = true;
     this.mp_FileName.Location              = new Point(24, 275);
     this.mp_FileName.Name                  = "mp_FileName";
     this.mp_FileName.Size                  = new Size(91, 13);
     this.mp_FileName.TabIndex              = 42;
     this.mp_FileName.Text                  = "System File Name";
     this.mp_FileExt.AutoSize               = true;
     this.mp_FileExt.Location               = new Point(24, 313);
     this.mp_FileExt.Name                   = "mp_FileExt";
     this.mp_FileExt.Size                   = new Size(72, 13);
     this.mp_FileExt.TabIndex               = 50;
     this.mp_FileExt.Text                   = "File Extension";
     this.lblDomain.Location                = new Point(191, 389);
     this.lblDomain.Name                    = "lblDomain";
     this.lblDomain.Size                    = new Size(300, 13);
     this.lblDomain.TabIndex                = 55;
     this.lblDomain.Text                    = "Machine Domain";
     this.lbl_DB_FileName.Location          = new Point(191, 275);
     this.lbl_DB_FileName.Name              = "lbl_DB_FileName";
     this.lbl_DB_FileName.Size              = new Size(300, 13);
     this.lbl_DB_FileName.TabIndex          = 43;
     this.lbl_DB_FileName.Text              = "File Name";
     this.lblFileExt.Location               = new Point(191, 313);
     this.lblFileExt.Name                   = "lblFileExt";
     this.lblFileExt.Size                   = new Size(300, 13);
     this.lblFileExt.TabIndex               = 51;
     this.lblFileExt.Text                   = "n/a";
     this.lblMachineName.Location           = new Point(191, 370);
     this.lblMachineName.Name               = "lblMachineName";
     this.lblMachineName.Size               = new Size(300, 13);
     this.lblMachineName.TabIndex           = 54;
     this.lblMachineName.Text               = "Machine Name";
     this.mp_OriginalName.AutoSize          = true;
     this.mp_OriginalName.Location          = new Point(24, 294);
     this.mp_OriginalName.Name              = "mp_OriginalName";
     this.mp_OriginalName.Size              = new Size(92, 13);
     this.mp_OriginalName.TabIndex          = 52;
     this.mp_OriginalName.Text              = "Original File Name";
     this.lblOriginalName.Location          = new Point(191, 294);
     this.lblOriginalName.Name              = "lblOriginalName";
     this.lblOriginalName.Size              = new Size(300, 13);
     this.lblOriginalName.TabIndex          = 53;
     this.lblOriginalName.Text              = "File";
     this.lblHashCode.AutoSize              = true;
     this.lblHashCode.Location              = new Point(191, 237);
     this.lblHashCode.Name                  = "lblHashCode";
     this.lblHashCode.Size                  = new Size(13, 13);
     this.lblHashCode.TabIndex              = 29;
     this.lblHashCode.Text                  = "0";
     this.mp_HashCode.AutoSize              = true;
     this.mp_HashCode.Location              = new Point(24, 237);
     this.mp_HashCode.Name                  = "mp_HashCode";
     this.mp_HashCode.Size                  = new Size(92, 13);
     this.mp_HashCode.TabIndex              = 28;
     this.mp_HashCode.Text                  = "File Security Code";
     this.lblSize.AutoSize                  = true;
     this.lblSize.Location                  = new Point(191, 218);
     this.lblSize.Name                      = "lblSize";
     this.lblSize.Size                      = new Size(42, 13);
     this.lblSize.TabIndex                  = 27;
     this.lblSize.Text                      = "0 Bytes";
     this.mp_FileSize.AutoSize              = true;
     this.mp_FileSize.Location              = new Point(24, 218);
     this.mp_FileSize.Name                  = "mp_FileSize";
     this.mp_FileSize.Size                  = new Size(46, 13);
     this.mp_FileSize.TabIndex              = 26;
     this.mp_FileSize.Text                  = "File Size";
     this.lblUploaded.AutoSize              = true;
     this.lblUploaded.Location              = new Point(191, 199);
     this.lblUploaded.Name                  = "lblUploaded";
     this.lblUploaded.Size                  = new Size(110, 13);
     this.lblUploaded.TabIndex              = 25;
     this.lblUploaded.Text                  = "00/00/0000 00:00:00";
     this.mp_FileUploaded.AutoSize          = true;
     this.mp_FileUploaded.Location          = new Point(24, 199);
     this.mp_FileUploaded.Name              = "mp_FileUploaded";
     this.mp_FileUploaded.Size              = new Size(72, 13);
     this.mp_FileUploaded.TabIndex          = 24;
     this.mp_FileUploaded.Text              = "File Uploaded";
     this.mp_FileDate.AutoSize              = true;
     this.mp_FileDate.Location              = new Point(24, 180);
     this.mp_FileDate.Name                  = "mp_FileDate";
     this.mp_FileDate.Size                  = new Size(49, 13);
     this.mp_FileDate.TabIndex              = 22;
     this.mp_FileDate.Text                  = "File Date";
     this.lblTimestamp.AutoSize             = true;
     this.lblTimestamp.Location             = new Point(191, 180);
     this.lblTimestamp.Name                 = "lblTimestamp";
     this.lblTimestamp.Size                 = new Size(110, 13);
     this.lblTimestamp.TabIndex             = 23;
     this.lblTimestamp.Text                 = "00/00/0000 00:00:00";
     this.picImage.BackColor                = Color.Black;
     this.picImage.Location                 = new Point(24, 3);
     this.picImage.Name                     = "picImage";
     this.picImage.Size                     = new Size(146, 93);
     this.picImage.SizeMode                 = PictureBoxSizeMode.StretchImage;
     this.picImage.TabIndex                 = 75;
     this.picImage.TabStop                  = false;
     this.HeaderPanel.BackColor             = Color.FromArgb(64, 64, 64);
     this.HeaderPanel.BackgroundImageLayout = ImageLayout.Stretch;
     this.HeaderPanel.Controls.Add(this.btnClose);
     this.HeaderPanel.Controls.Add(this.lbl_MediaProfile);
     this.HeaderPanel.Dock                 = DockStyle.Top;
     this.HeaderPanel.Location             = new Point(0, 0);
     this.HeaderPanel.Name                 = "HeaderPanel";
     this.HeaderPanel.Size                 = new Size(527, 45);
     this.HeaderPanel.TabIndex             = 0;
     this.HeaderPanel.MouseDown           += new MouseEventHandler(this.HeaderPanel_MouseDown);
     this.btnClose.AllowAnimations         = true;
     this.btnClose.BackColor               = Color.Transparent;
     this.btnClose.Dock                    = DockStyle.Right;
     this.btnClose.Image                   = Properties.Resources.close;
     this.btnClose.Location                = new Point(482, 0);
     this.btnClose.Name                    = "btnClose";
     this.btnClose.PaintBorder             = false;
     this.btnClose.PaintDefaultBorder      = false;
     this.btnClose.PaintDefaultFill        = false;
     this.btnClose.RoundedCornersMask      = 15;
     this.btnClose.RoundedCornersRadius    = 0;
     this.btnClose.Size                    = new Size(45, 45);
     this.btnClose.TabIndex                = 1;
     this.btnClose.UseVisualStyleBackColor = false;
     this.btnClose.VIBlendTheme            = VIBLEND_THEME.VISTABLUE;
     this.btnClose.Click                  += new EventHandler(this.btnClose_Click);
     this.lbl_MediaProfile.AutoSize        = true;
     this.lbl_MediaProfile.BackColor       = Color.Transparent;
     this.lbl_MediaProfile.Font            = new Font("Microsoft Sans Serif", 12f, FontStyle.Bold, GraphicsUnit.Point, 0);
     this.lbl_MediaProfile.ForeColor       = Color.White;
     this.lbl_MediaProfile.Location        = new Point(4, 4);
     this.lbl_MediaProfile.Name            = "lbl_MediaProfile";
     this.lbl_MediaProfile.Size            = new Size(113, 20);
     this.lbl_MediaProfile.TabIndex        = 0;
     this.lbl_MediaProfile.Text            = "Media Profile";
     this.lbl_MediaProfile.MouseDown      += new MouseEventHandler(this.lbl_MediaProfile_MouseDown);
     base.AutoScaleDimensions              = new SizeF(6f, 13f);
     base.AutoScaleMode                    = AutoScaleMode.Font;
     base.ClientSize = new Size(527, 509);
     base.Controls.Add(this.BodyPanel);
     base.Controls.Add(this.HeaderPanel);
     base.FormBorderStyle = FormBorderStyle.None;
     base.Name            = "DataProfile";
     base.StartPosition   = FormStartPosition.CenterParent;
     this.Text            = "DataProfile";
     base.Load           += new EventHandler(this.DataProfile_Load);
     this.BodyPanel.ResumeLayout(false);
     this.BodyPanel.PerformLayout();
     ((ISupportInitialize)this.picImage).EndInit();
     this.HeaderPanel.ResumeLayout(false);
     this.HeaderPanel.PerformLayout();
     base.ResumeLayout(false);
 }
コード例 #4
0
        private void InitializeComponent()
        {
            this.components          = new Container();
            this.lblNumber           = new Label();
            this.lblTimestamp        = new Label();
            this.Rating              = new vRatingControl();
            this.lblLine             = new Label();
            this.SlideMenu           = new ContextMenuStrip(this.components);
            this.mnu_ViewFile        = new ToolStripMenuItem();
            this.toolStripMenuItem1  = new ToolStripSeparator();
            this.mnu_RemoveSlide     = new ToolStripMenuItem();
            this.mnu_DeleteFile      = new ToolStripMenuItem();
            this.mnu_ShareFile       = new ToolStripMenuItem();
            this.mnu_RedactVideo     = new ToolStripMenuItem();
            this.toolStripMenuItem2  = new ToolStripSeparator();
            this.mnuAddMemo          = new ToolStripMenuItem();
            this.mnu_ReviewMemos     = new ToolStripMenuItem();
            this.SeperatorLine       = new ToolStripSeparator();
            this.mnuProfileData      = new ToolStripMenuItem();
            this.mnu_ExportFile      = new ToolStripMenuItem();
            this.mnu_DVD             = new ToolStripMenuItem();
            this.mnu_ExportToDevice  = new ToolStripMenuItem();
            this.mnu_CloudSync       = new ToolStripMenuItem();
            this.label_0             = new Label();
            this.lblClassification   = new Label();
            this.lblSecurity         = new Label();
            this.lblDesc             = new Label();
            this.folderBrowserDialog = new FolderBrowserDialog();
            this.lblRetention        = new Label();
            this.Thumbnail           = new PictureBox();
            this.picDelete           = new PictureBox();
            this.SlideMenu.SuspendLayout();
            ((ISupportInitialize)this.Thumbnail).BeginInit();
            ((ISupportInitialize)this.picDelete).BeginInit();
            base.SuspendLayout();
            this.lblNumber.BackColor       = Color.FromArgb(224, 224, 224);
            this.lblNumber.BorderStyle     = BorderStyle.FixedSingle;
            this.lblNumber.Font            = new Font("Microsoft Sans Serif", 9.75f, FontStyle.Regular, GraphicsUnit.Point, 0);
            this.lblNumber.Location        = new Point(4, 4);
            this.lblNumber.Name            = "lblNumber";
            this.lblNumber.Size            = new Size(73, 23);
            this.lblNumber.TabIndex        = 0;
            this.lblNumber.Text            = "0000000";
            this.lblNumber.TextAlign       = ContentAlignment.MiddleCenter;
            this.lblTimestamp.BackColor    = Color.Transparent;
            this.lblTimestamp.Font         = new Font("Microsoft Sans Serif", 6.75f, FontStyle.Regular, GraphicsUnit.Point, 0);
            this.lblTimestamp.Location     = new Point(83, 8);
            this.lblTimestamp.Name         = "lblTimestamp";
            this.lblTimestamp.Size         = new Size(164, 14);
            this.lblTimestamp.TabIndex     = 1;
            this.lblTimestamp.Text         = "00/00/0000 00:00:00";
            this.lblTimestamp.TextAlign    = ContentAlignment.MiddleRight;
            this.Rating.BackColor          = Color.Transparent;
            this.Rating.Enabled            = false;
            this.Rating.Location           = new Point(4, 31);
            this.Rating.Margin             = new Padding(0);
            this.Rating.Name               = "Rating";
            this.Rating.Shape              = vRatingControlShapes.Star;
            this.Rating.Size               = new Size(75, 14);
            this.Rating.TabIndex           = 2;
            this.Rating.Text               = "vRatingControl1";
            this.Rating.Value              = 0f;
            this.Rating.ValueIndicatorSize = 6;
            this.Rating.VIBlendTheme       = VIBLEND_THEME.VISTABLUE;
            this.lblLine.BackColor         = Color.FromArgb(64, 64, 64);
            this.lblLine.Location          = new Point(1, 48);
            this.lblLine.Name              = "lblLine";
            this.lblLine.Size              = new Size(249, 1);
            this.lblLine.TabIndex          = 4;
            ToolStripItemCollection items = this.SlideMenu.Items;

            ToolStripItem[] mnuViewFile = new ToolStripItem[] { this.mnu_ViewFile, this.toolStripMenuItem1, this.mnu_RemoveSlide, this.mnu_DeleteFile, this.mnu_ShareFile, this.mnu_RedactVideo, this.toolStripMenuItem2, this.mnuAddMemo, this.mnu_ReviewMemos, this.SeperatorLine, this.mnuProfileData, this.mnu_ExportFile, this.mnu_CloudSync };
            this.SlideMenu.Items.AddRange(mnuViewFile);
            this.SlideMenu.Name          = "SlideMenu";
            this.SlideMenu.Size          = new Size(177, 242);
            this.mnu_ViewFile.Name       = "mnu_ViewFile";
            this.mnu_ViewFile.Size       = new Size(176, 22);
            this.mnu_ViewFile.Text       = "View File...";
            this.mnu_ViewFile.Click     += new EventHandler(this.mnu_ViewFile_Click);
            this.toolStripMenuItem1.Name = "toolStripMenuItem1";
            this.toolStripMenuItem1.Size = new Size(173, 6);
            this.mnu_RemoveSlide.Name    = "mnu_RemoveSlide";
            this.mnu_RemoveSlide.Size    = new Size(176, 22);
            this.mnu_RemoveSlide.Text    = "Remove From View";
            this.mnu_RemoveSlide.Click  += new EventHandler(this.mnu_RemoveSlide_Click);
            this.mnu_DeleteFile.Name     = "mnu_DeleteFile";
            this.mnu_DeleteFile.Size     = new Size(176, 22);
            this.mnu_DeleteFile.Text     = "Delete File...";
            this.mnu_DeleteFile.Click   += new EventHandler(this.mnu_DeleteFile_Click);
            this.mnu_ShareFile.Name      = "mnu_ShareFile";
            this.mnu_ShareFile.Size      = new Size(176, 22);
            this.mnu_ShareFile.Text      = "Share File...";
            this.mnu_ShareFile.Visible   = false;
            this.mnu_ShareFile.Click    += new EventHandler(this.mnu_ShareFile_Click);
            this.mnu_RedactVideo.Name    = "mnu_RedactVideo";
            this.mnu_RedactVideo.Size    = new Size(176, 22);
            this.mnu_RedactVideo.Text    = "Redact Media File";
            this.mnu_RedactVideo.Visible = false;
            this.mnu_RedactVideo.Click  += new EventHandler(this.mnu_RedactVideo_Click);
            this.toolStripMenuItem2.Name = "toolStripMenuItem2";
            this.toolStripMenuItem2.Size = new Size(173, 6);
            this.mnuAddMemo.Name         = "mnuAddMemo";
            this.mnuAddMemo.Size         = new Size(176, 22);
            this.mnuAddMemo.Text         = "Add Memo";
            this.mnuAddMemo.Click       += new EventHandler(this.mnuAddMemo_Click);
            this.mnu_ReviewMemos.Name    = "mnu_ReviewMemos";
            this.mnu_ReviewMemos.Size    = new Size(176, 22);
            this.mnu_ReviewMemos.Text    = "Review Memos...";
            this.mnu_ReviewMemos.Click  += new EventHandler(this.mnu_ReviewMemos_Click);
            this.SeperatorLine.Name      = "SeperatorLine";
            this.SeperatorLine.Size      = new Size(173, 6);
            this.mnuProfileData.Name     = "mnuProfileData";
            this.mnuProfileData.Size     = new Size(176, 22);
            this.mnuProfileData.Text     = "Profile Settings...";
            this.mnuProfileData.Click   += new EventHandler(this.mnuProfileData_Click);
            ToolStripItemCollection dropDownItems = this.mnu_ExportFile.DropDownItems;

            ToolStripItem[] mnuDVD = new ToolStripItem[] { this.mnu_DVD, this.mnu_ExportToDevice };
            this.mnu_ExportFile.DropDownItems.AddRange(mnuDVD);
            this.mnu_ExportFile.Name         = "mnu_ExportFile";
            this.mnu_ExportFile.Size         = new Size(176, 22);
            this.mnu_ExportFile.Text         = "Export File";
            this.mnu_DVD.Name                = "mnu_DVD";
            this.mnu_DVD.Size                = new Size(118, 22);
            this.mnu_DVD.Text                = "DVD";
            this.mnu_DVD.Click              += new EventHandler(this.mnu_DVD_Click);
            this.mnu_ExportToDevice.Name     = "mnu_ExportToDevice";
            this.mnu_ExportToDevice.Size     = new Size(118, 22);
            this.mnu_ExportToDevice.Text     = "To File...";
            this.mnu_ExportToDevice.Click   += new EventHandler(this.mnu_ExportToDevice_Click);
            this.mnu_CloudSync.Name          = "mnu_CloudSync";
            this.mnu_CloudSync.Size          = new Size(176, 22);
            this.mnu_CloudSync.Text          = "Sync to Cloud";
            this.mnu_CloudSync.Visible       = false;
            this.label_0.BackColor           = Color.Transparent;
            this.label_0.Location            = new Point(85, 27);
            this.label_0.Name                = "SetIDName";
            this.label_0.Size                = new Size(162, 18);
            this.label_0.TabIndex            = 6;
            this.label_0.Text                = "SET NAME";
            this.label_0.TextAlign           = ContentAlignment.MiddleRight;
            this.lblClassification.BackColor = Color.Transparent;
            this.lblClassification.Font      = new Font("Microsoft Sans Serif", 6.75f, FontStyle.Regular, GraphicsUnit.Point, 0);
            this.lblClassification.Location  = new Point(16, 208);
            this.lblClassification.Name      = "lblClassification";
            this.lblClassification.Size      = new Size(218, 14);
            this.lblClassification.TabIndex  = 7;
            this.lblClassification.Text      = "Unclassified";
            this.lblClassification.TextAlign = ContentAlignment.MiddleLeft;
            this.lblSecurity.AutoSize        = true;
            this.lblSecurity.BorderStyle     = BorderStyle.FixedSingle;
            this.lblSecurity.Font            = new Font("Microsoft Sans Serif", 6.75f, FontStyle.Regular, GraphicsUnit.Point, 0);
            this.lblSecurity.Location        = new Point(16, 227);
            this.lblSecurity.Name            = "lblSecurity";
            this.lblSecurity.Size            = new Size(41, 14);
            this.lblSecurity.TabIndex        = 8;
            this.lblSecurity.Text            = "Security";
            this.lblSecurity.TextAlign       = ContentAlignment.MiddleLeft;
            this.lblDesc.BackColor           = Color.Transparent;
            this.lblDesc.Font                = new Font("Microsoft Sans Serif", 6.75f, FontStyle.Regular, GraphicsUnit.Point, 0);
            this.lblDesc.Location            = new Point(16, 189);
            this.lblDesc.Name                = "lblDesc";
            this.lblDesc.Size                = new Size(218, 14);
            this.lblDesc.TabIndex            = 9;
            this.lblDesc.Text                = "Short Description";
            this.lblDesc.TextAlign           = ContentAlignment.MiddleLeft;
            this.lblRetention.AutoSize       = true;
            this.lblRetention.BackColor      = Color.White;
            this.lblRetention.BorderStyle    = BorderStyle.FixedSingle;
            this.lblRetention.Font           = new Font("Microsoft Sans Serif", 6.75f, FontStyle.Regular, GraphicsUnit.Point, 0);
            this.lblRetention.Location       = new Point(17, 170);
            this.lblRetention.Name           = "lblRetention";
            this.lblRetention.Size           = new Size(2, 14);
            this.lblRetention.TabIndex       = 10;
            this.lblRetention.TextAlign      = ContentAlignment.MiddleLeft;
            this.lblRetention.Visible        = false;
            this.Thumbnail.BackColor         = Color.Black;
            this.Thumbnail.Location          = new Point(15, 55);
            this.Thumbnail.Name              = "Thumbnail";
            this.Thumbnail.Size              = new Size(220, 130);
            this.Thumbnail.SizeMode          = PictureBoxSizeMode.CenterImage;
            this.Thumbnail.TabIndex          = 3;
            this.Thumbnail.TabStop           = false;
            this.Thumbnail.Paint            += new PaintEventHandler(this.Thumbnail_Paint);
            this.picDelete.BackColor         = Color.White;
            this.picDelete.BorderStyle       = BorderStyle.FixedSingle;
            this.picDelete.Image             = Resources.trashcan;
            this.picDelete.Location          = new Point(212, 219);
            this.picDelete.Name              = "picDelete";
            this.picDelete.Size              = new Size(22, 22);
            this.picDelete.SizeMode          = PictureBoxSizeMode.CenterImage;
            this.picDelete.TabIndex          = 11;
            this.picDelete.TabStop           = false;
            this.picDelete.Visible           = false;
            base.AutoScaleDimensions         = new SizeF(6f, 13f);
            base.AutoScaleMode               = AutoScaleMode.Font;
            this.BackColor        = Color.DarkGray;
            this.ContextMenuStrip = this.SlideMenu;
            base.Controls.Add(this.picDelete);
            base.Controls.Add(this.lblRetention);
            base.Controls.Add(this.lblDesc);
            base.Controls.Add(this.lblSecurity);
            base.Controls.Add(this.lblClassification);
            base.Controls.Add(this.label_0);
            base.Controls.Add(this.lblLine);
            base.Controls.Add(this.Thumbnail);
            base.Controls.Add(this.Rating);
            base.Controls.Add(this.lblTimestamp);
            base.Controls.Add(this.lblNumber);
            this.DoubleBuffered = true;
            base.Margin         = new Padding(0);
            base.Name           = "Slide";
            base.Size           = new Size(250, 250);
            base.Load          += new EventHandler(this.Slide_Load);
            base.Paint         += new PaintEventHandler(this.Slide_Paint);
            base.MouseDown     += new MouseEventHandler(this.Slide_MouseDown);
            this.SlideMenu.ResumeLayout(false);
            ((ISupportInitialize)this.Thumbnail).EndInit();
            ((ISupportInitialize)this.picDelete).EndInit();
            base.ResumeLayout(false);
            base.PerformLayout();
        }