internal void EnsureLanguages(vComboBox cb) { var langs = Context.Get <ILanguagesDE>().GetAll(); cb.DisplayMember = "Value"; cb.ValueMember = "Id"; cb.DataSource = langs; }
internal List <Families> EnsureFamilies(vComboBox cb) { var families = Context.Get <IFamiliesDE>().GetAll(); cb.DisplayMember = "Code"; cb.ValueMember = "Id"; cb.DataSource = families; return(families); }
public void FillCombo(vComboBox cmb, string Sorgu, string DisplayMember, string ValueMember) { SqlDataAdapter da = new SqlDataAdapter(Sorgu, cnn); DataTable dt = new DataTable(); da.Fill(dt); cmb.DataSource = dt; cmb.ValueMember = dt.Columns[0].ToString(); cmb.DisplayMember = DisplayMember; cmb.ValueMember = ValueMember; }
public static void SetComboItem(vComboBox cbo, string item) { try { cbo.SelectedIndex = cbo.Items.IndexOf(new ListItem() { Text = item }); } catch { } }
internal void EnsureDiscountTypes(vComboBox cb) { List <Tuple <int, string> > myList = new List <Tuple <int, string> >(); foreach (var en in Enum.GetValues(typeof(DiscountIntervalType)).Cast <DiscountIntervalType>()) { myList.Add(new Tuple <int, string>((int)en, en.ToString())); } cb.DisplayMember = "Item2"; cb.ValueMember = "Item1"; cb.DataSource = myList; }
public bool DetectCDRoms(ref vComboBox lst) { bool flag = false; MsftDiscMaster2 gClass0 = null; try { try { gClass0 = (MsftDiscMaster2)(new GClass0()); if (gClass0.IsSupportedEnvironment) { foreach (string str in gClass0) { MsftDiscRecorder2 msftDiscRecorder2Class = (MsftDiscRecorder2)(new MsftDiscRecorder2Class()); msftDiscRecorder2Class.InitializeDiscRecorder(str); string str1 = msftDiscRecorder2Class.VolumePathNames[0].ToString(); string productId = msftDiscRecorder2Class.ProductId; ListItem listItem = new ListItem() { Text = string.Format("{0} [{1}]", str1, productId), Tag = msftDiscRecorder2Class, ImageIndex = 0 }; lst.Items.Add(listItem); flag = true; } if (lst.Items.Count > 0) { lst.SelectedIndex = 0; } } } catch (COMException cOMException) { throw; } } finally { if (gClass0 != null) { Marshal.ReleaseComObject(gClass0); } } return(flag); }
private void InitializeComponent() { this.panel1 = new Panel(); this.btnSave = new vButton(); this.zoomBar = new vTrackBar(); this.cboProvider = new vComboBox(); this.statusStrip1 = new StatusStrip(); this.lblGps = new ToolStripStatusLabel(); this.lblVersion = new ToolStripStatusLabel(); this.gMap = new GMapControl(); this.tableLayoutPanel1 = new TableLayoutPanel(); this.panel1.SuspendLayout(); this.statusStrip1.SuspendLayout(); this.tableLayoutPanel1.SuspendLayout(); base.SuspendLayout(); this.panel1.BackColor = Color.Silver; this.panel1.BorderStyle = BorderStyle.FixedSingle; this.panel1.Controls.Add(this.tableLayoutPanel1); this.panel1.Dock = DockStyle.Top; this.panel1.Location = new Point(0, 0); this.panel1.Name = "panel1"; this.panel1.Size = new Size(591, 34); this.panel1.TabIndex = 0; this.btnSave.AllowAnimations = true; this.btnSave.BackColor = Color.Transparent; this.btnSave.Dock = DockStyle.Fill; this.btnSave.Location = new Point(492, 3); this.btnSave.Name = "btnSave"; this.btnSave.RoundedCornersMask = 15; this.btnSave.Size = new Size(74, 26); this.btnSave.TabIndex = 2; this.btnSave.Text = "Snapshot"; this.btnSave.UseVisualStyleBackColor = false; this.btnSave.VIBlendTheme = VIBLEND_THEME.OFFICE2010BLACK; this.btnSave.Click += new EventHandler(this.btnSave_Click); this.zoomBar.BackColor = Color.Transparent; this.zoomBar.Dock = DockStyle.Fill; this.zoomBar.Location = new Point(133, 3); this.zoomBar.Maximum = 17; this.zoomBar.Minimum = 1; this.zoomBar.Name = "zoomBar"; this.zoomBar.RoundedCornersMask = 15; this.zoomBar.RoundedCornersMaskThumb = 15; this.zoomBar.Size = new Size(353, 26); this.zoomBar.TabIndex = 1; this.zoomBar.Value = 9; this.zoomBar.VIBlendTheme = VIBLEND_THEME.OFFICE2010BLACK; this.zoomBar.Scroll += new ScrollEventHandler(this.zoomBar_Scroll); this.cboProvider.BackColor = Color.White; this.cboProvider.DefaultText = "Select Map..."; this.cboProvider.DisplayMember = ""; this.cboProvider.Dock = DockStyle.Fill; this.cboProvider.DropDownList = true; this.cboProvider.DropDownMaximumSize = new Size(1000, 1000); this.cboProvider.DropDownMinimumSize = new Size(10, 10); this.cboProvider.DropDownResizeDirection = SizingDirection.Both; this.cboProvider.DropDownWidth = 124; this.cboProvider.Location = new Point(3, 3); this.cboProvider.Name = "cboProvider"; this.cboProvider.RoundedCornersMaskListItem = 15; this.cboProvider.Size = new Size(124, 26); this.cboProvider.TabIndex = 0; this.cboProvider.UseThemeBackColor = false; this.cboProvider.UseThemeDropDownArrowColor = true; this.cboProvider.ValueMember = ""; this.cboProvider.VIBlendScrollBarsTheme = VIBLEND_THEME.OFFICE2010BLACK; this.cboProvider.VIBlendTheme = VIBLEND_THEME.OFFICE2010BLACK; this.cboProvider.DropDownClose += new EventHandler(this.cboProvider_DropDownClose); this.statusStrip1.BackColor = Color.White; ToolStripItemCollection items = this.statusStrip1.Items; ToolStripItem[] toolStripItemArray = new ToolStripItem[] { this.lblGps, this.lblVersion }; this.statusStrip1.Items.AddRange(toolStripItemArray); this.statusStrip1.Location = new Point(0, 561); this.statusStrip1.Name = "statusStrip1"; this.statusStrip1.Size = new Size(591, 22); this.statusStrip1.SizingGrip = false; this.statusStrip1.TabIndex = 1; this.lblGps.AutoSize = false; this.lblGps.Name = "lblGps"; this.lblGps.Size = new Size(120, 17); this.lblGps.Text = "0.0,0.0"; this.lblGps.TextAlign = ContentAlignment.MiddleLeft; this.lblVersion.AutoSize = false; this.lblVersion.DisplayStyle = ToolStripItemDisplayStyle.Text; this.lblVersion.Font = new Font("Segoe UI", 9f, FontStyle.Italic, GraphicsUnit.Point, 0); this.lblVersion.ForeColor = Color.Silver; this.lblVersion.Name = "lblVersion"; this.lblVersion.Size = new Size(100, 17); this.lblVersion.Text = "Version"; this.lblVersion.TextAlign = ContentAlignment.MiddleLeft; this.gMap.Bearing = 0f; this.gMap.CanDragMap = true; this.gMap.Dock = DockStyle.Fill; this.gMap.GrayScaleMode = false; this.gMap.LevelsKeepInMemmory = 5; this.gMap.Location = new Point(0, 34); this.gMap.MarkersEnabled = true; this.gMap.MaxZoom = 2; this.gMap.MinZoom = 2; this.gMap.MouseWheelZoomType = MouseWheelZoomType.MousePositionAndCenter; this.gMap.Name = "gMap"; this.gMap.NegativeMode = false; this.gMap.PolygonsEnabled = true; this.gMap.RetryLoadTile = 0; this.gMap.RoutesEnabled = true; this.gMap.ShowTileGridLines = false; this.gMap.Size = new Size(591, 527); this.gMap.TabIndex = 2; this.gMap.Zoom = 0; this.gMap.Paint += new PaintEventHandler(this.gMap_Paint); this.gMap.MouseClick += new MouseEventHandler(this.gMap_MouseClick); this.gMap.MouseDown += new MouseEventHandler(this.gMap_MouseDown); this.gMap.MouseMove += new MouseEventHandler(this.gMap_MouseMove); this.gMap.MouseUp += new MouseEventHandler(this.gMap_MouseUp); this.tableLayoutPanel1.BackColor = Color.Gray; this.tableLayoutPanel1.ColumnCount = 4; this.tableLayoutPanel1.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 130f)); this.tableLayoutPanel1.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 100f)); this.tableLayoutPanel1.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 80f)); this.tableLayoutPanel1.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 20f)); this.tableLayoutPanel1.Controls.Add(this.cboProvider, 0, 0); this.tableLayoutPanel1.Controls.Add(this.btnSave, 2, 0); this.tableLayoutPanel1.Controls.Add(this.zoomBar, 1, 0); this.tableLayoutPanel1.Dock = DockStyle.Fill; this.tableLayoutPanel1.Location = new Point(0, 0); this.tableLayoutPanel1.Name = "tableLayoutPanel1"; this.tableLayoutPanel1.RowCount = 1; this.tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Percent, 100f)); this.tableLayoutPanel1.Size = new Size(589, 32); this.tableLayoutPanel1.TabIndex = 3; base.AutoScaleDimensions = new SizeF(6f, 13f); base.AutoScaleMode = AutoScaleMode.Font; base.Controls.Add(this.gMap); base.Controls.Add(this.statusStrip1); base.Controls.Add(this.panel1); base.Name = "C3Map"; base.Size = new Size(591, 583); this.panel1.ResumeLayout(false); this.statusStrip1.ResumeLayout(false); this.statusStrip1.PerformLayout(); this.tableLayoutPanel1.ResumeLayout(false); base.ResumeLayout(false); base.PerformLayout(); }
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); }
private void InitializeComponent() { ListItem listItem = new ListItem(); ListItem listItem1 = new ListItem(); ListItem listItem2 = new ListItem(); ListItem listItem3 = new ListItem(); ListItem listItem4 = new ListItem(); ListItem listItem5 = new ListItem(); ListItem listItem6 = new ListItem(); ListItem listItem7 = new ListItem(); ListItem listItem8 = new ListItem(); ListItem listItem9 = new ListItem(); ListItem listItem10 = new ListItem(); ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(GlobalCatForm)); this.HeaderPanel = new Panel(); this.gc_Accounts = new Label(); this.gcFileCount = new Label(); this.btn_Reset = new vButton(); this.btn_Search = new vButton(); this.SearchPanel = new Panel(); this.gc_Search = new Label(); this.btnByIngestDate = new vRadioButton(); this.btnByFileDate = new vRadioButton(); this.txtSet = new vTextBox(); this.gc_Set = new Label(); this.chk_FilterEvidence = new vCheckBox(); this.txtCAD = new vTextBox(); this.gc_CADId = new Label(); this.txtRMS = new vTextBox(); this.gc_RMSId = new Label(); this.gc_Days = new Label(); this.ToDate = new vDateTimePicker(); this.gc_EndDate = new Label(); this.FromDate = new vDateTimePicker(); this.gc_StartDate = new Label(); this.lblLine1 = new Label(); this.cboDays = new vComboBox(); this.DataPanel = new Panel(); this.HeaderPanel.SuspendLayout(); this.SearchPanel.SuspendLayout(); base.SuspendLayout(); this.HeaderPanel.BackColor = Color.FromArgb(64, 64, 64); this.HeaderPanel.BackgroundImageLayout = ImageLayout.Stretch; this.HeaderPanel.Controls.Add(this.gc_Accounts); this.HeaderPanel.Controls.Add(this.gcFileCount); this.HeaderPanel.Controls.Add(this.btn_Reset); this.HeaderPanel.Controls.Add(this.btn_Search); this.HeaderPanel.Dock = DockStyle.Top; this.HeaderPanel.Location = new Point(0, 0); this.HeaderPanel.Name = "HeaderPanel"; this.HeaderPanel.Size = new Size(884, 40); this.HeaderPanel.TabIndex = 0; this.gc_Accounts.AutoSize = true; this.gc_Accounts.BackColor = Color.Transparent; this.gc_Accounts.ForeColor = Color.White; this.gc_Accounts.Location = new Point(321, 21); this.gc_Accounts.Name = "gc_Accounts"; this.gc_Accounts.Size = new Size(64, 13); this.gc_Accounts.TabIndex = 3; this.gc_Accounts.Text = "Accounts: 0"; this.gcFileCount.AutoSize = true; this.gcFileCount.BackColor = Color.Transparent; this.gcFileCount.ForeColor = Color.White; this.gcFileCount.Location = new Point(321, 4); this.gcFileCount.Name = "gcFileCount"; this.gcFileCount.Size = new Size(40, 13); this.gcFileCount.TabIndex = 2; this.gcFileCount.Text = "Files: 0"; this.btn_Reset.AllowAnimations = true; this.btn_Reset.BackColor = Color.Transparent; this.btn_Reset.Location = new Point(110, 4); this.btn_Reset.Name = "btn_Reset"; this.btn_Reset.RoundedCornersMask = 15; this.btn_Reset.RoundedCornersRadius = 0; this.btn_Reset.Size = new Size(100, 30); this.btn_Reset.TabIndex = 1; this.btn_Reset.Text = "Reset"; this.btn_Reset.UseVisualStyleBackColor = false; this.btn_Reset.VIBlendTheme = VIBLEND_THEME.VISTABLUE; this.btn_Reset.Click += new EventHandler(this.btn_Reset_Click); this.btn_Search.AllowAnimations = true; this.btn_Search.BackColor = Color.Transparent; this.btn_Search.Location = new Point(4, 4); this.btn_Search.Name = "btn_Search"; this.btn_Search.RoundedCornersMask = 15; this.btn_Search.RoundedCornersRadius = 0; this.btn_Search.Size = new Size(100, 30); this.btn_Search.TabIndex = 0; this.btn_Search.Text = "Search"; this.btn_Search.UseVisualStyleBackColor = false; this.btn_Search.VIBlendTheme = VIBLEND_THEME.VISTABLUE; this.btn_Search.Click += new EventHandler(this.btn_Search_Click); this.SearchPanel.BackColor = Color.White; this.SearchPanel.BorderStyle = BorderStyle.FixedSingle; this.SearchPanel.Controls.Add(this.gc_Search); this.SearchPanel.Controls.Add(this.btnByIngestDate); this.SearchPanel.Controls.Add(this.btnByFileDate); this.SearchPanel.Controls.Add(this.txtSet); this.SearchPanel.Controls.Add(this.gc_Set); this.SearchPanel.Controls.Add(this.chk_FilterEvidence); this.SearchPanel.Controls.Add(this.txtCAD); this.SearchPanel.Controls.Add(this.gc_CADId); this.SearchPanel.Controls.Add(this.txtRMS); this.SearchPanel.Controls.Add(this.gc_RMSId); this.SearchPanel.Controls.Add(this.gc_Days); this.SearchPanel.Controls.Add(this.ToDate); this.SearchPanel.Controls.Add(this.gc_EndDate); this.SearchPanel.Controls.Add(this.FromDate); this.SearchPanel.Controls.Add(this.gc_StartDate); this.SearchPanel.Controls.Add(this.lblLine1); this.SearchPanel.Controls.Add(this.cboDays); this.SearchPanel.Dock = DockStyle.Left; this.SearchPanel.Location = new Point(0, 40); this.SearchPanel.Name = "SearchPanel"; this.SearchPanel.Size = new Size(323, 622); this.SearchPanel.TabIndex = 1; this.gc_Search.AutoSize = true; this.gc_Search.Location = new Point(17, 57); this.gc_Search.Name = "gc_Search"; this.gc_Search.Size = new Size(106, 13); this.gc_Search.TabIndex = 48; this.gc_Search.Text = "Date Search Options"; this.btnByIngestDate.BackColor = Color.Transparent; this.btnByIngestDate.Flat = true; this.btnByIngestDate.Image = null; this.btnByIngestDate.Location = new Point(145, 67); this.btnByIngestDate.Name = "btnByIngestDate"; this.btnByIngestDate.Size = new Size(162, 24); this.btnByIngestDate.TabIndex = 47; this.btnByIngestDate.Text = "By Ingest Date"; this.btnByIngestDate.UseVisualStyleBackColor = false; this.btnByIngestDate.VIBlendTheme = VIBLEND_THEME.VISTABLUE; this.btnByFileDate.BackColor = Color.Transparent; this.btnByFileDate.Checked = true; this.btnByFileDate.Flat = true; this.btnByFileDate.Image = null; this.btnByFileDate.Location = new Point(145, 39); this.btnByFileDate.Name = "btnByFileDate"; this.btnByFileDate.Size = new Size(162, 24); this.btnByFileDate.TabIndex = 46; this.btnByFileDate.TabStop = true; this.btnByFileDate.Text = "By Original File Date"; this.btnByFileDate.UseVisualStyleBackColor = false; this.btnByFileDate.VIBlendTheme = VIBLEND_THEME.VISTABLUE; this.txtSet.BackColor = Color.White; this.txtSet.BoundsOffset = new Size(1, 1); this.txtSet.ControlBorderColor = Color.FromArgb(39, 39, 39); this.txtSet.DefaultText = ""; this.txtSet.Location = new Point(145, 212); this.txtSet.MaxLength = 32; this.txtSet.Name = "txtSet"; this.txtSet.PasswordChar = '\0'; this.txtSet.ScrollBars = ScrollBars.None; this.txtSet.SelectionLength = 0; this.txtSet.SelectionStart = 0; this.txtSet.Size = new Size(128, 23); this.txtSet.TabIndex = 45; this.txtSet.TextAlign = HorizontalAlignment.Left; this.txtSet.VIBlendTheme = VIBLEND_THEME.VISTABLUE; this.gc_Set.Location = new Point(16, 217); this.gc_Set.Name = "gc_Set"; this.gc_Set.Size = new Size(120, 13); this.gc_Set.TabIndex = 44; this.gc_Set.Text = "Set ID"; this.chk_FilterEvidence.BackColor = Color.Transparent; this.chk_FilterEvidence.Location = new Point(145, 241); this.chk_FilterEvidence.Name = "chk_FilterEvidence"; this.chk_FilterEvidence.Size = new Size(162, 24); this.chk_FilterEvidence.TabIndex = 43; this.chk_FilterEvidence.Text = "Marked as Evidence"; this.chk_FilterEvidence.UseVisualStyleBackColor = false; this.chk_FilterEvidence.VIBlendTheme = VIBLEND_THEME.VISTABLUE; 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(145, 183); 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(128, 23); this.txtCAD.TabIndex = 40; this.txtCAD.TextAlign = HorizontalAlignment.Left; this.txtCAD.VIBlendTheme = VIBLEND_THEME.VISTABLUE; this.gc_CADId.Location = new Point(17, 188); this.gc_CADId.Name = "gc_CADId"; this.gc_CADId.Size = new Size(120, 13); this.gc_CADId.TabIndex = 39; this.gc_CADId.Text = "CAD ID"; 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(145, 155); 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(128, 23); this.txtRMS.TabIndex = 38; this.txtRMS.TextAlign = HorizontalAlignment.Left; this.txtRMS.VIBlendTheme = VIBLEND_THEME.VISTABLUE; this.gc_RMSId.Location = new Point(17, 160); this.gc_RMSId.Name = "gc_RMSId"; this.gc_RMSId.Size = new Size(120, 13); this.gc_RMSId.TabIndex = 37; this.gc_RMSId.Text = "RMS ID"; this.gc_Days.AutoSize = true; this.gc_Days.Location = new Point(214, 15); this.gc_Days.Name = "gc_Days"; this.gc_Days.Size = new Size(31, 13); this.gc_Days.TabIndex = 25; this.gc_Days.Text = "Days"; this.ToDate.BackColor = Color.White; this.ToDate.BorderColor = Color.Black; this.ToDate.Culture = new CultureInfo(""); this.ToDate.DefaultDateTimeFormat = DefaultDateTimePatterns.Custom; this.ToDate.DropDownMaximumSize = new Size(1000, 1000); this.ToDate.DropDownMinimumSize = new Size(10, 10); this.ToDate.DropDownResizeDirection = SizingDirection.None; this.ToDate.FormatValue = ""; this.ToDate.Location = new Point(145, 127); this.ToDate.MaxDate = new DateTime(2100, 1, 1, 0, 0, 0, 0); this.ToDate.MinDate = new DateTime(1900, 1, 1, 0, 0, 0, 0); this.ToDate.Name = "ToDate"; this.ToDate.ShowGrip = false; this.ToDate.Size = new Size(128, 23); this.ToDate.TabIndex = 30; this.ToDate.Text = "07/14/2014 17:46:50"; this.ToDate.UseThemeBackColor = false; this.ToDate.UseThemeDropDownArrowColor = true; this.ToDate.Value = new DateTime(2017, 08, 02); this.ToDate.VIBlendTheme = VIBLEND_THEME.VISTABLUE; this.ToDate.ValueChanged += new EventHandler(this.ToDate_ValueChanged); this.gc_EndDate.Location = new Point(17, 132); this.gc_EndDate.Name = "gc_EndDate"; this.gc_EndDate.Size = new Size(120, 13); this.gc_EndDate.TabIndex = 29; this.gc_EndDate.Text = "To Date/Time"; this.FromDate.BackColor = Color.White; this.FromDate.BorderColor = Color.Black; this.FromDate.Culture = new CultureInfo(""); this.FromDate.DefaultDateTimeFormat = DefaultDateTimePatterns.Custom; this.FromDate.DropDownMaximumSize = new Size(1000, 1000); this.FromDate.DropDownMinimumSize = new Size(10, 10); this.FromDate.DropDownResizeDirection = SizingDirection.None; this.FromDate.FormatValue = ""; this.FromDate.Location = new Point(145, 99); this.FromDate.MaxDate = new DateTime(2100, 1, 1, 0, 0, 0, 0); this.FromDate.MinDate = new DateTime(1900, 1, 1, 0, 0, 0, 0); this.FromDate.Name = "FromDate"; this.FromDate.ShowGrip = false; this.FromDate.Size = new Size(128, 23); this.FromDate.TabIndex = 28; this.FromDate.Text = "07/14/2014 17:46:50"; this.FromDate.UseThemeBackColor = false; this.FromDate.UseThemeDropDownArrowColor = true; this.FromDate.Value = new DateTime(2017, 8, 02); this.FromDate.VIBlendTheme = VIBLEND_THEME.VISTABLUE; this.FromDate.ValueChanged += new EventHandler(this.FromDate_ValueChanged); this.gc_StartDate.Location = new Point(17, 104); this.gc_StartDate.Name = "gc_StartDate"; this.gc_StartDate.Size = new Size(120, 13); this.gc_StartDate.TabIndex = 27; this.gc_StartDate.Text = "From Date/Time"; this.lblLine1.BorderStyle = BorderStyle.Fixed3D; this.lblLine1.Location = new Point(17, 34); this.lblLine1.Name = "lblLine1"; this.lblLine1.Size = new Size(290, 1); this.lblLine1.TabIndex = 26; this.cboDays.BackColor = Color.White; this.cboDays.DefaultText = ""; this.cboDays.DisplayMember = ""; this.cboDays.DropDownHeight = 240; this.cboDays.DropDownList = true; this.cboDays.DropDownMaximumSize = new Size(150, 300); this.cboDays.DropDownMinimumSize = new Size(150, 240); this.cboDays.DropDownResizeDirection = SizingDirection.Both; this.cboDays.DropDownWidth = 64; listItem.RoundedCornersMask = 15; listItem.Text = "1"; listItem1.RoundedCornersMask = 15; listItem1.Text = "2"; listItem2.RoundedCornersMask = 15; listItem2.Text = "3"; listItem3.RoundedCornersMask = 15; listItem3.Text = "5"; listItem4.RoundedCornersMask = 15; listItem4.Text = "10"; listItem5.RoundedCornersMask = 15; listItem5.Text = "15"; listItem6.RoundedCornersMask = 15; listItem6.Text = "20"; listItem7.RoundedCornersMask = 15; listItem7.Text = "30"; listItem8.RoundedCornersMask = 15; listItem8.Text = "60"; listItem9.RoundedCornersMask = 15; listItem9.Text = "90"; listItem10.RoundedCornersMask = 15; listItem10.Text = "120"; this.cboDays.Items.Add(listItem); this.cboDays.Items.Add(listItem1); this.cboDays.Items.Add(listItem2); this.cboDays.Items.Add(listItem3); this.cboDays.Items.Add(listItem4); this.cboDays.Items.Add(listItem5); this.cboDays.Items.Add(listItem6); this.cboDays.Items.Add(listItem7); this.cboDays.Items.Add(listItem8); this.cboDays.Items.Add(listItem9); this.cboDays.Items.Add(listItem10); this.cboDays.Location = new Point(145, 5); this.cboDays.Name = "cboDays"; this.cboDays.RoundedCornersMaskListItem = 15; this.cboDays.Size = new Size(64, 23); this.cboDays.TabIndex = 24; this.cboDays.Text = "1"; this.cboDays.UseThemeBackColor = false; this.cboDays.UseThemeDropDownArrowColor = true; this.cboDays.ValueMember = ""; this.cboDays.VIBlendScrollBarsTheme = VIBLEND_THEME.VISTABLUE; this.cboDays.VIBlendTheme = VIBLEND_THEME.VISTABLUE; this.cboDays.SelectedIndexChanged += new EventHandler(this.cboDays_SelectedIndexChanged); this.DataPanel.AutoScroll = true; this.DataPanel.Dock = DockStyle.Fill; this.DataPanel.Location = new Point(323, 40); this.DataPanel.Name = "DataPanel"; this.DataPanel.Size = new Size(561, 622); this.DataPanel.TabIndex = 2; base.AutoScaleDimensions = new SizeF(6f, 13f); base.AutoScaleMode = AutoScaleMode.Font; this.BackColor = Color.White; base.ClientSize = new Size(884, 662); base.Controls.Add(this.DataPanel); base.Controls.Add(this.SearchPanel); base.Controls.Add(this.HeaderPanel); base.Icon = (Icon)Resources.GlobalCatForm.GlobalCatIcon; this.MinimumSize = new Size(850, 650); base.Name = "GlobalCatForm"; base.StartPosition = FormStartPosition.CenterScreen; this.Text = "Global Catalog Search"; base.FormClosing += new FormClosingEventHandler(this.GlobalCatForm_FormClosing); base.Load += new EventHandler(this.GlobalCatForm_Load); this.HeaderPanel.ResumeLayout(false); this.HeaderPanel.PerformLayout(); this.SearchPanel.ResumeLayout(false); this.SearchPanel.PerformLayout(); base.ResumeLayout(false); }
private void InitializeComponent() { this.chkEject = new vCheckBox(); this.lbl_DiscDrive = new Label(); this.lbl_VolumeLabel = new Label(); this.lblMedia = new Label(); this.btn_DetectMedia = new vButton(); this.btn_BurnDisc = new vButton(); this.progBar = new TextProgressBar(); this.progSize = new TextProgressBar(); this.txtVolumeLabel = new vTextBox(); this.cboDevice = new vComboBox(); this.backgroundWorker = new BackgroundWorker(); this.lbl_DiscStatus = new Label(); base.SuspendLayout(); this.chkEject.BackColor = Color.Transparent; this.chkEject.Checked = true; this.chkEject.CheckState = CheckState.Checked; this.chkEject.Location = new Point(130, 5); this.chkEject.Name = "chkEject"; this.chkEject.Size = new Size(271, 24); this.chkEject.TabIndex = 0; this.chkEject.Text = "Eject Disc When Completed"; this.chkEject.UseVisualStyleBackColor = false; this.chkEject.VIBlendTheme = VIBLEND_THEME.VISTABLUE; this.lbl_DiscDrive.AutoSize = true; this.lbl_DiscDrive.Location = new Point(4, 40); this.lbl_DiscDrive.Name = "lbl_DiscDrive"; this.lbl_DiscDrive.Size = new Size(56, 13); this.lbl_DiscDrive.TabIndex = 1; this.lbl_DiscDrive.Text = "Disc Drive"; this.lbl_VolumeLabel.AutoSize = true; this.lbl_VolumeLabel.Location = new Point(4, 69); this.lbl_VolumeLabel.Name = "lbl_VolumeLabel"; this.lbl_VolumeLabel.Size = new Size(95, 13); this.lbl_VolumeLabel.TabIndex = 3; this.lbl_VolumeLabel.Text = "Disc Volume Label"; this.lblMedia.BorderStyle = BorderStyle.FixedSingle; this.lblMedia.Location = new Point(308, 35); this.lblMedia.Name = "lblMedia"; this.lblMedia.Size = new Size(121, 23); this.lblMedia.TabIndex = 5; this.lblMedia.Text = "No Media"; this.lblMedia.TextAlign = ContentAlignment.MiddleCenter; this.btn_DetectMedia.AllowAnimations = true; this.btn_DetectMedia.BackColor = Color.Transparent; this.btn_DetectMedia.Location = new Point(308, 64); this.btn_DetectMedia.Name = "btn_DetectMedia"; this.btn_DetectMedia.RoundedCornersMask = 15; this.btn_DetectMedia.RoundedCornersRadius = 0; this.btn_DetectMedia.Size = new Size(121, 46); this.btn_DetectMedia.TabIndex = 6; this.btn_DetectMedia.Text = "Detect Media"; this.btn_DetectMedia.UseVisualStyleBackColor = false; this.btn_DetectMedia.VIBlendTheme = VIBLEND_THEME.VISTABLUE; this.btn_DetectMedia.Click += new EventHandler(this.btn_DetectMedia_Click); this.btn_BurnDisc.AllowAnimations = true; this.btn_BurnDisc.BackColor = Color.Transparent; this.btn_BurnDisc.Enabled = false; this.btn_BurnDisc.Location = new Point(308, 116); this.btn_BurnDisc.Name = "btn_BurnDisc"; this.btn_BurnDisc.RoundedCornersMask = 15; this.btn_BurnDisc.RoundedCornersRadius = 0; this.btn_BurnDisc.Size = new Size(121, 46); this.btn_BurnDisc.TabIndex = 7; this.btn_BurnDisc.Text = "Burn Disc"; this.btn_BurnDisc.UseVisualStyleBackColor = false; this.btn_BurnDisc.VIBlendTheme = VIBLEND_THEME.VISTABLUE; this.btn_BurnDisc.Click += new EventHandler(this.btn_BurnDisc_Click); this.progBar.Location = new Point(7, 98); this.progBar.Name = "progBar"; this.progBar.Size = new Size(280, 12); this.progBar.TabIndex = 8; this.progBar.Text = "0%"; this.progBar.TextForeColor = Color.Black; this.progBar.Visible = false; this.progSize.Location = new Point(7, 116); this.progSize.Name = "progSize"; this.progSize.Size = new Size(280, 23); this.progSize.TabIndex = 9; this.progSize.Text = "0%"; this.progSize.TextForeColor = Color.Black; this.txtVolumeLabel.BackColor = Color.White; this.txtVolumeLabel.BoundsOffset = new Size(1, 1); this.txtVolumeLabel.ControlBorderColor = Color.FromArgb(39, 39, 39); this.txtVolumeLabel.DefaultText = ""; this.txtVolumeLabel.Location = new Point(130, 64); this.txtVolumeLabel.MaxLength = 16; this.txtVolumeLabel.Name = "txtVolumeLabel"; this.txtVolumeLabel.PasswordChar = '\0'; this.txtVolumeLabel.ScrollBars = ScrollBars.None; this.txtVolumeLabel.SelectionLength = 0; this.txtVolumeLabel.SelectionStart = 0; this.txtVolumeLabel.Size = new Size(157, 23); this.txtVolumeLabel.TabIndex = 4; this.txtVolumeLabel.TextAlign = HorizontalAlignment.Left; this.txtVolumeLabel.VIBlendTheme = VIBLEND_THEME.VISTABLUE; this.cboDevice.BackColor = Color.White; this.cboDevice.DefaultText = "Select Disc..."; this.cboDevice.DisplayMember = ""; this.cboDevice.DropDownList = true; this.cboDevice.DropDownMaximumSize = new Size(1000, 1000); this.cboDevice.DropDownMinimumSize = new Size(10, 10); this.cboDevice.DropDownResizeDirection = SizingDirection.Both; this.cboDevice.DropDownWidth = 157; this.cboDevice.Location = new Point(130, 35); this.cboDevice.Name = "cboDevice"; this.cboDevice.RoundedCornersMaskListItem = 15; this.cboDevice.Size = new Size(157, 23); this.cboDevice.TabIndex = 11; this.cboDevice.UseThemeBackColor = false; this.cboDevice.UseThemeDropDownArrowColor = true; this.cboDevice.ValueMember = ""; this.cboDevice.VIBlendScrollBarsTheme = VIBLEND_THEME.VISTABLUE; this.cboDevice.VIBlendTheme = VIBLEND_THEME.VISTABLUE; this.backgroundWorker.WorkerReportsProgress = true; this.backgroundWorker.WorkerSupportsCancellation = true; this.backgroundWorker.DoWork += new DoWorkEventHandler(this.backgroundWorker_DoWork); this.backgroundWorker.ProgressChanged += new ProgressChangedEventHandler(this.backgroundWorker_ProgressChanged); this.backgroundWorker.RunWorkerCompleted += new RunWorkerCompletedEventHandler(this.backgroundWorker_RunWorkerCompleted); this.lbl_DiscStatus.Location = new Point(7, 146); this.lbl_DiscStatus.Name = "lbl_DiscStatus"; this.lbl_DiscStatus.Size = new Size(280, 16); this.lbl_DiscStatus.TabIndex = 12; this.lbl_DiscStatus.Text = "Ready..."; base.AutoScaleDimensions = new SizeF(6f, 13f); base.AutoScaleMode = AutoScaleMode.Font; this.BackColor = Color.White; base.Controls.Add(this.lbl_DiscStatus); base.Controls.Add(this.cboDevice); base.Controls.Add(this.progSize); base.Controls.Add(this.progBar); base.Controls.Add(this.btn_BurnDisc); base.Controls.Add(this.btn_DetectMedia); base.Controls.Add(this.lblMedia); base.Controls.Add(this.txtVolumeLabel); base.Controls.Add(this.lbl_VolumeLabel); base.Controls.Add(this.lbl_DiscDrive); base.Controls.Add(this.chkEject); base.Name = "CDCtrl"; base.Size = new Size(442, 174); base.Load += new EventHandler(this.CDCtrl_Load); base.ResumeLayout(false); base.PerformLayout(); }
private void InitializeComponent() { this.components = new Container(); ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(ReportForm)); this.imageList1 = new ImageList(this.components); this.statusStrip1 = new StatusStrip(); this.txtReportTitle = new ToolStripStatusLabel(); this.txtAuthor = new ToolStripStatusLabel(); this.crystalReportViewer1 = new CrystalReportViewer(); this.HeaderPanel = new Panel(); this.cboSysReports = new vComboBox(); this.lblUserAccount = new Label(); this.btn_ClearReport = new vButton(); this.cboReports = new vComboBox(); this.IconPic = new PictureBox(); this.AccountBindingSource = new BindingSource(this.components); this.statusStrip1.SuspendLayout(); this.HeaderPanel.SuspendLayout(); ((ISupportInitialize)this.IconPic).BeginInit(); ((ISupportInitialize)this.AccountBindingSource).BeginInit(); base.SuspendLayout(); this.imageList1.ImageStream = (ImageListStreamer)Resources.ReportForm.imageList1_ImageStream; this.imageList1.TransparentColor = Color.Transparent; this.imageList1.Images.SetKeyName(0, "reports2.png"); ToolStripItemCollection items = this.statusStrip1.Items; ToolStripItem[] toolStripItemArray = new ToolStripItem[] { this.txtReportTitle, this.txtAuthor }; this.statusStrip1.Items.AddRange(toolStripItemArray); this.statusStrip1.Location = new Point(0, 640); this.statusStrip1.Name = "statusStrip1"; this.statusStrip1.Size = new Size(984, 22); this.statusStrip1.TabIndex = 1; this.statusStrip1.Text = "statusStrip1"; this.txtReportTitle.Name = "txtReportTitle"; this.txtReportTitle.Size = new Size(48, 17); this.txtReportTitle.Text = "Ready..."; this.txtAuthor.Name = "txtAuthor"; this.txtAuthor.Size = new Size(0, 17); this.crystalReportViewer1.ActiveViewIndex = -1; this.crystalReportViewer1.BorderStyle = BorderStyle.FixedSingle; this.crystalReportViewer1.Cursor = Cursors.Default; this.crystalReportViewer1.Dock = DockStyle.Fill; this.crystalReportViewer1.Location = new Point(0, 61); this.crystalReportViewer1.Name = "crystalReportViewer1"; this.crystalReportViewer1.Size = new Size(984, 579); this.crystalReportViewer1.TabIndex = 2; this.HeaderPanel.BackColor = Color.FromArgb(64, 64, 64); this.HeaderPanel.BackgroundImageLayout = ImageLayout.Stretch; this.HeaderPanel.Controls.Add(this.cboSysReports); this.HeaderPanel.Controls.Add(this.lblUserAccount); this.HeaderPanel.Controls.Add(this.btn_ClearReport); this.HeaderPanel.Controls.Add(this.cboReports); this.HeaderPanel.Controls.Add(this.IconPic); this.HeaderPanel.Dock = DockStyle.Top; this.HeaderPanel.Location = new Point(0, 0); this.HeaderPanel.Name = "HeaderPanel"; this.HeaderPanel.Size = new Size(984, 61); this.HeaderPanel.TabIndex = 0; this.cboSysReports.BackColor = Color.White; this.cboSysReports.DefaultText = "Select System Report..."; this.cboSysReports.DisplayMember = ""; this.cboSysReports.DropDownList = true; this.cboSysReports.DropDownMaximumSize = new Size(300, 400); this.cboSysReports.DropDownMinimumSize = new Size(225, 150); this.cboSysReports.DropDownResizeDirection = SizingDirection.Both; this.cboSysReports.DropDownWidth = 225; this.cboSysReports.ImageList = this.imageList1; this.cboSysReports.Location = new Point(55, 32); this.cboSysReports.Name = "cboSysReports"; this.cboSysReports.RoundedCornersMaskListItem = 15; this.cboSysReports.Size = new Size(225, 23); this.cboSysReports.TabIndex = 2; this.cboSysReports.UseThemeBackColor = false; this.cboSysReports.UseThemeDropDownArrowColor = true; this.cboSysReports.ValueMember = ""; this.cboSysReports.VIBlendScrollBarsTheme = VIBLEND_THEME.VISTABLUE; this.cboSysReports.VIBlendTheme = VIBLEND_THEME.VISTABLUE; this.cboSysReports.Visible = false; this.cboSysReports.SelectedIndexChanged += new EventHandler(this.cboSysReports_SelectedIndexChanged); this.lblUserAccount.Anchor = AnchorStyles.Right; this.lblUserAccount.BackColor = Color.Transparent; this.lblUserAccount.ForeColor = Color.White; this.lblUserAccount.ImageAlign = ContentAlignment.MiddleRight; this.lblUserAccount.Location = new Point(723, 9); this.lblUserAccount.Name = "lblUserAccount"; this.lblUserAccount.Size = new Size(249, 17); this.lblUserAccount.TabIndex = 3; this.lblUserAccount.Text = "Account"; this.btn_ClearReport.AllowAnimations = true; this.btn_ClearReport.BackColor = Color.Transparent; this.btn_ClearReport.Location = new Point(286, 6); this.btn_ClearReport.Name = "btn_ClearReport"; this.btn_ClearReport.RoundedCornersMask = 15; this.btn_ClearReport.RoundedCornersRadius = 0; this.btn_ClearReport.Size = new Size(164, 23); this.btn_ClearReport.TabIndex = 2; this.btn_ClearReport.Text = "Clear Report"; this.btn_ClearReport.UseVisualStyleBackColor = false; this.btn_ClearReport.VIBlendTheme = VIBLEND_THEME.METROBLUE; this.btn_ClearReport.Click += new EventHandler(this.btn_ClearReport_Click); this.cboReports.BackColor = Color.White; this.cboReports.DefaultText = "Select Account Report..."; this.cboReports.DisplayMember = ""; this.cboReports.DropDownList = true; this.cboReports.DropDownMaximumSize = new Size(300, 400); this.cboReports.DropDownMinimumSize = new Size(225, 150); this.cboReports.DropDownResizeDirection = SizingDirection.Both; this.cboReports.DropDownWidth = 225; this.cboReports.ImageList = this.imageList1; this.cboReports.Location = new Point(55, 6); this.cboReports.Name = "cboReports"; this.cboReports.RoundedCornersMaskListItem = 15; this.cboReports.Size = new Size(225, 23); this.cboReports.TabIndex = 1; this.cboReports.UseThemeBackColor = false; this.cboReports.UseThemeDropDownArrowColor = true; this.cboReports.ValueMember = ""; this.cboReports.VIBlendScrollBarsTheme = VIBLEND_THEME.VISTABLUE; this.cboReports.VIBlendTheme = VIBLEND_THEME.VISTABLUE; this.cboReports.SelectedIndexChanged += new EventHandler(this.cboReports_SelectedIndexChanged); this.IconPic.BackColor = Color.Transparent; this.IconPic.Image = Properties.Resources.reports2; this.IconPic.Location = new Point(12, 6); this.IconPic.Name = "IconPic"; this.IconPic.Size = new Size(34, 34); this.IconPic.TabIndex = 0; this.IconPic.TabStop = false; this.AccountBindingSource.DataSource = typeof(Account); base.AutoScaleDimensions = new SizeF(6f, 13f); base.AutoScaleMode = AutoScaleMode.Font; base.ClientSize = new Size(984, 662); base.Controls.Add(this.crystalReportViewer1); base.Controls.Add(this.statusStrip1); base.Controls.Add(this.HeaderPanel); base.Icon = (Icon)Resources.ReportForm.ReportFormIcon; this.MinimumSize = new Size(800, 600); base.Name = "ReportForm"; base.StartPosition = FormStartPosition.CenterScreen; this.Text = "Account Reports"; base.FormClosing += new FormClosingEventHandler(this.ReportForm_FormClosing); base.Load += new EventHandler(this.ReportForm_Load); this.statusStrip1.ResumeLayout(false); this.statusStrip1.PerformLayout(); this.HeaderPanel.ResumeLayout(false); ((ISupportInitialize)this.IconPic).EndInit(); ((ISupportInitialize)this.AccountBindingSource).EndInit(); base.ResumeLayout(false); base.PerformLayout(); }
private void InitializeComponent() { ListItem listItem = new ListItem(); ListItem listItem1 = new ListItem(); ListItem listItem2 = new ListItem(); ListItem listItem3 = new ListItem(); ListItem listItem4 = new ListItem(); this.lbl_ScanStatus = new Label(); this.flowPanel = new FlowLayoutPanel(); this.imageAcquisitionProgressBar = new vProgressBar(); this.cboResolution = new vComboBox(); this.lbl_Resolution = new Label(); this.vCheckBox_0 = new vCheckBox(); this.cboDevices = new vComboBox(); this.lbl_ScanDevices = new Label(); this.WaitPic = new PictureBox(); this.ScanPic = new PictureBox(); this.btn_Scan = new vButton(); this.lbl_DocTitle = new Label(); this.txtTitle = new vTextBox(); this.txtSubject = new vTextBox(); this.lbl_Subject = new Label(); this.txtKeywords = new vTextBox(); this.lbl_Keywords = new Label(); this.lbl_Security = new Label(); this.cboSecurity = new vComboBox(); ((ISupportInitialize)this.WaitPic).BeginInit(); ((ISupportInitialize)this.ScanPic).BeginInit(); base.SuspendLayout(); this.lbl_ScanStatus.AutoSize = true; this.lbl_ScanStatus.Location = new Point(335, 348); this.lbl_ScanStatus.Name = "lbl_ScanStatus"; this.lbl_ScanStatus.Size = new Size(47, 13); this.lbl_ScanStatus.TabIndex = 16; this.lbl_ScanStatus.Text = "Ready..."; this.flowPanel.AutoScroll = true; this.flowPanel.BorderStyle = BorderStyle.FixedSingle; this.flowPanel.Location = new Point(9, 249); this.flowPanel.Name = "flowPanel"; this.flowPanel.Size = new Size(314, 112); this.flowPanel.TabIndex = 14; this.imageAcquisitionProgressBar.BackColor = Color.Transparent; this.imageAcquisitionProgressBar.Location = new Point(338, 314); this.imageAcquisitionProgressBar.Name = "imageAcquisitionProgressBar"; this.imageAcquisitionProgressBar.RoundedCornersMask = 15; this.imageAcquisitionProgressBar.RoundedCornersRadius = 0; this.imageAcquisitionProgressBar.Size = new Size(231, 21); this.imageAcquisitionProgressBar.TabIndex = 15; this.imageAcquisitionProgressBar.Text = "vProgressBar1"; this.imageAcquisitionProgressBar.Value = 0; this.imageAcquisitionProgressBar.VIBlendTheme = VIBLEND_THEME.OFFICE2010SILVER; this.cboResolution.BackColor = Color.White; this.cboResolution.DefaultText = ""; this.cboResolution.DisplayMember = ""; this.cboResolution.DropDownList = true; this.cboResolution.DropDownMaximumSize = new Size(1000, 1000); this.cboResolution.DropDownMinimumSize = new Size(10, 10); this.cboResolution.DropDownResizeDirection = SizingDirection.Both; this.cboResolution.DropDownWidth = 186; listItem.RoundedCornersMask = 15; listItem.Text = "100"; listItem1.RoundedCornersMask = 15; listItem1.Text = "150"; listItem2.RoundedCornersMask = 15; listItem2.Text = "200"; listItem3.RoundedCornersMask = 15; listItem3.Text = "300"; listItem4.RoundedCornersMask = 15; listItem4.Text = "600"; this.cboResolution.Items.Add(listItem); this.cboResolution.Items.Add(listItem1); this.cboResolution.Items.Add(listItem2); this.cboResolution.Items.Add(listItem3); this.cboResolution.Items.Add(listItem4); this.cboResolution.Location = new Point(137, 66); this.cboResolution.Name = "cboResolution"; this.cboResolution.RoundedCornersMaskListItem = 15; this.cboResolution.Size = new Size(186, 23); this.cboResolution.TabIndex = 4; this.cboResolution.UseThemeBackColor = false; this.cboResolution.UseThemeDropDownArrowColor = true; this.cboResolution.ValueMember = ""; this.cboResolution.VIBlendScrollBarsTheme = VIBLEND_THEME.VISTABLUE; this.cboResolution.VIBlendTheme = VIBLEND_THEME.VISTABLUE; this.lbl_Resolution.AutoSize = true; this.lbl_Resolution.Location = new Point(9, 71); this.lbl_Resolution.Name = "lbl_Resolution"; this.lbl_Resolution.Size = new Size(57, 13); this.lbl_Resolution.TabIndex = 3; this.lbl_Resolution.Text = "Resolution"; this.vCheckBox_0.BackColor = Color.Transparent; this.vCheckBox_0.Location = new Point(137, 7); this.vCheckBox_0.Name = "chkShowUI"; this.vCheckBox_0.Size = new Size(186, 24); this.vCheckBox_0.TabIndex = 0; this.vCheckBox_0.Text = "Show Scanner UI"; this.vCheckBox_0.UseVisualStyleBackColor = false; this.vCheckBox_0.VIBlendTheme = VIBLEND_THEME.VISTABLUE; this.cboDevices.BackColor = Color.White; this.cboDevices.DefaultText = ""; this.cboDevices.DisplayMember = ""; this.cboDevices.DropDownList = true; this.cboDevices.DropDownMaximumSize = new Size(1000, 1000); this.cboDevices.DropDownMinimumSize = new Size(10, 10); this.cboDevices.DropDownResizeDirection = SizingDirection.Both; this.cboDevices.DropDownWidth = 186; this.cboDevices.Location = new Point(137, 37); this.cboDevices.Name = "cboDevices"; this.cboDevices.RoundedCornersMaskListItem = 15; this.cboDevices.Size = new Size(186, 23); this.cboDevices.TabIndex = 2; this.cboDevices.UseThemeBackColor = false; this.cboDevices.UseThemeDropDownArrowColor = true; this.cboDevices.ValueMember = ""; this.cboDevices.VIBlendScrollBarsTheme = VIBLEND_THEME.VISTABLUE; this.cboDevices.VIBlendTheme = VIBLEND_THEME.VISTABLUE; this.lbl_ScanDevices.AutoSize = true; this.lbl_ScanDevices.Location = new Point(9, 42); this.lbl_ScanDevices.Name = "lbl_ScanDevices"; this.lbl_ScanDevices.Size = new Size(46, 13); this.lbl_ScanDevices.TabIndex = 1; this.lbl_ScanDevices.Text = "Devices"; this.WaitPic.Image = Properties.Resources.loading2; this.WaitPic.Location = new Point(417, 119); this.WaitPic.Name = "WaitPic"; this.WaitPic.Size = new Size(80, 71); this.WaitPic.SizeMode = PictureBoxSizeMode.CenterImage; this.WaitPic.TabIndex = 22; this.WaitPic.TabStop = false; this.WaitPic.Visible = false; this.ScanPic.BorderStyle = BorderStyle.FixedSingle; this.ScanPic.Location = new Point(338, 6); this.ScanPic.Name = "ScanPic"; this.ScanPic.Size = new Size(231, 301); this.ScanPic.SizeMode = PictureBoxSizeMode.StretchImage; this.ScanPic.TabIndex = 13; this.ScanPic.TabStop = false; this.btn_Scan.AllowAnimations = true; this.btn_Scan.BackColor = Color.Transparent; this.btn_Scan.Image = Properties.Resources.scandoc; this.btn_Scan.ImageAlign = ContentAlignment.MiddleLeft; this.btn_Scan.Location = new Point(137, 213); this.btn_Scan.Name = "btn_Scan"; this.btn_Scan.RoundedCornersMask = 15; this.btn_Scan.RoundedCornersRadius = 0; this.btn_Scan.Size = new Size(186, 30); this.btn_Scan.TabIndex = 13; this.btn_Scan.Text = "Scan"; this.btn_Scan.UseVisualStyleBackColor = false; this.btn_Scan.VIBlendTheme = VIBLEND_THEME.VISTABLUE; this.btn_Scan.Click += new EventHandler(this.btn_Scan_Click); this.lbl_DocTitle.AutoSize = true; this.lbl_DocTitle.Location = new Point(9, 101); this.lbl_DocTitle.Name = "lbl_DocTitle"; this.lbl_DocTitle.Size = new Size(79, 13); this.lbl_DocTitle.TabIndex = 5; this.lbl_DocTitle.Text = "Document Title"; this.txtTitle.BackColor = Color.White; this.txtTitle.BoundsOffset = new Size(1, 1); this.txtTitle.ControlBorderColor = Color.FromArgb(39, 39, 39); this.txtTitle.DefaultText = ""; this.txtTitle.Location = new Point(137, 96); this.txtTitle.MaxLength = 64; this.txtTitle.Name = "txtTitle"; this.txtTitle.PasswordChar = '\0'; this.txtTitle.ScrollBars = ScrollBars.None; this.txtTitle.SelectionLength = 0; this.txtTitle.SelectionStart = 0; this.txtTitle.Size = new Size(186, 23); this.txtTitle.TabIndex = 6; this.txtTitle.TextAlign = HorizontalAlignment.Left; this.txtTitle.VIBlendTheme = VIBLEND_THEME.VISTABLUE; this.txtSubject.BackColor = Color.White; this.txtSubject.BoundsOffset = new Size(1, 1); this.txtSubject.ControlBorderColor = Color.FromArgb(39, 39, 39); this.txtSubject.DefaultText = ""; this.txtSubject.Location = new Point(137, 125); this.txtSubject.MaxLength = 64; this.txtSubject.Name = "txtSubject"; this.txtSubject.PasswordChar = '\0'; this.txtSubject.ScrollBars = ScrollBars.None; this.txtSubject.SelectionLength = 0; this.txtSubject.SelectionStart = 0; this.txtSubject.Size = new Size(186, 23); this.txtSubject.TabIndex = 8; this.txtSubject.TextAlign = HorizontalAlignment.Left; this.txtSubject.VIBlendTheme = VIBLEND_THEME.VISTABLUE; this.lbl_Subject.AutoSize = true; this.lbl_Subject.Location = new Point(9, 130); this.lbl_Subject.Name = "lbl_Subject"; this.lbl_Subject.Size = new Size(43, 13); this.lbl_Subject.TabIndex = 7; this.lbl_Subject.Text = "Subject"; this.txtKeywords.BackColor = Color.White; this.txtKeywords.BoundsOffset = new Size(1, 1); this.txtKeywords.ControlBorderColor = Color.FromArgb(39, 39, 39); this.txtKeywords.DefaultText = ""; this.txtKeywords.Location = new Point(137, 154); this.txtKeywords.MaxLength = 64; this.txtKeywords.Name = "txtKeywords"; this.txtKeywords.PasswordChar = '\0'; this.txtKeywords.ScrollBars = ScrollBars.None; this.txtKeywords.SelectionLength = 0; this.txtKeywords.SelectionStart = 0; this.txtKeywords.Size = new Size(186, 23); this.txtKeywords.TabIndex = 10; this.txtKeywords.TextAlign = HorizontalAlignment.Left; this.txtKeywords.VIBlendTheme = VIBLEND_THEME.VISTABLUE; this.lbl_Keywords.AutoSize = true; this.lbl_Keywords.Location = new Point(9, 159); this.lbl_Keywords.Name = "lbl_Keywords"; this.lbl_Keywords.Size = new Size(53, 13); this.lbl_Keywords.TabIndex = 9; this.lbl_Keywords.Text = "Keywords"; this.lbl_Security.AutoSize = true; this.lbl_Security.Location = new Point(9, 189); this.lbl_Security.Name = "lbl_Security"; this.lbl_Security.Size = new Size(74, 13); this.lbl_Security.TabIndex = 11; this.lbl_Security.Text = "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 = 186; this.cboSecurity.Location = new Point(137, 184); this.cboSecurity.Name = "cboSecurity"; this.cboSecurity.RoundedCornersMaskListItem = 15; this.cboSecurity.Size = new Size(186, 23); this.cboSecurity.TabIndex = 12; this.cboSecurity.UseThemeBackColor = false; this.cboSecurity.UseThemeDropDownArrowColor = true; this.cboSecurity.ValueMember = ""; this.cboSecurity.VIBlendScrollBarsTheme = VIBLEND_THEME.VISTABLUE; this.cboSecurity.VIBlendTheme = VIBLEND_THEME.VISTABLUE; base.AutoScaleDimensions = new SizeF(6f, 13f); base.AutoScaleMode = AutoScaleMode.Font; this.BackColor = Color.White; base.ClientSize = new Size(574, 370); base.Controls.Add(this.cboSecurity); base.Controls.Add(this.lbl_Security); base.Controls.Add(this.txtKeywords); base.Controls.Add(this.lbl_Keywords); base.Controls.Add(this.txtSubject); base.Controls.Add(this.lbl_Subject); base.Controls.Add(this.txtTitle); base.Controls.Add(this.lbl_DocTitle); base.Controls.Add(this.WaitPic); base.Controls.Add(this.lbl_ScanStatus); base.Controls.Add(this.flowPanel); base.Controls.Add(this.imageAcquisitionProgressBar); base.Controls.Add(this.cboResolution); base.Controls.Add(this.lbl_Resolution); base.Controls.Add(this.vCheckBox_0); base.Controls.Add(this.cboDevices); base.Controls.Add(this.lbl_ScanDevices); base.Controls.Add(this.ScanPic); base.Controls.Add(this.btn_Scan); base.FormBorderStyle = FormBorderStyle.FixedToolWindow; base.Name = "Scanner"; base.StartPosition = FormStartPosition.CenterParent; this.Text = "Scanner"; base.FormClosing += new FormClosingEventHandler(this.Scanner_FormClosing); base.Load += new EventHandler(this.Scanner_Load); ((ISupportInitialize)this.WaitPic).EndInit(); ((ISupportInitialize)this.ScanPic).EndInit(); base.ResumeLayout(false); base.PerformLayout(); }
private void InitializeComponent() { this.MainPanel = new Panel(); this.btn_SetLanguage = new vButton(); this.cboLang = new vComboBox(); this.lbl_SelectLang = new Label(); this.HeaderPanel = new Panel(); this.btnCloseDlg = new vButton(); this.lbl_Language = new Label(); this.pictureBox1 = new PictureBox(); this.MainPanel.SuspendLayout(); this.HeaderPanel.SuspendLayout(); ((ISupportInitialize)this.pictureBox1).BeginInit(); base.SuspendLayout(); this.MainPanel.BorderStyle = BorderStyle.FixedSingle; this.MainPanel.Controls.Add(this.btn_SetLanguage); this.MainPanel.Controls.Add(this.cboLang); this.MainPanel.Controls.Add(this.lbl_SelectLang); this.MainPanel.Dock = DockStyle.Fill; this.MainPanel.Location = new Point(0, 40); this.MainPanel.Name = "MainPanel"; this.MainPanel.Size = new Size(263, 113); this.MainPanel.TabIndex = 1; this.btn_SetLanguage.AllowAnimations = true; this.btn_SetLanguage.BackColor = Color.Transparent; this.btn_SetLanguage.Enabled = false; this.btn_SetLanguage.Location = new Point(93, 67); this.btn_SetLanguage.Name = "btn_SetLanguage"; this.btn_SetLanguage.RoundedCornersMask = 15; this.btn_SetLanguage.Size = new Size(157, 30); this.btn_SetLanguage.TabIndex = 2; this.btn_SetLanguage.Text = "Set Language"; this.btn_SetLanguage.UseVisualStyleBackColor = false; this.btn_SetLanguage.VIBlendTheme = VIBLEND_THEME.VISTABLUE; this.btn_SetLanguage.Click += new EventHandler(this.btn_SetLanguage_Click); this.cboLang.BackColor = Color.White; this.cboLang.DefaultText = ""; this.cboLang.DisplayMember = ""; this.cboLang.DropDownList = true; this.cboLang.DropDownMaximumSize = new Size(1000, 1000); this.cboLang.DropDownMinimumSize = new Size(10, 10); this.cboLang.DropDownResizeDirection = SizingDirection.Both; this.cboLang.DropDownWidth = 236; this.cboLang.Location = new Point(14, 32); this.cboLang.Name = "cboLang"; this.cboLang.RoundedCornersMaskListItem = 15; this.cboLang.Size = new Size(236, 23); this.cboLang.TabIndex = 1; this.cboLang.UseThemeBackColor = false; this.cboLang.UseThemeDropDownArrowColor = true; this.cboLang.ValueMember = ""; this.cboLang.VIBlendScrollBarsTheme = VIBLEND_THEME.VISTABLUE; this.cboLang.VIBlendTheme = VIBLEND_THEME.VISTABLUE; this.lbl_SelectLang.AutoSize = true; this.lbl_SelectLang.Location = new Point(14, 15); this.lbl_SelectLang.Name = "lbl_SelectLang"; this.lbl_SelectLang.Size = new Size(55, 13); this.lbl_SelectLang.TabIndex = 0; this.lbl_SelectLang.Text = "Language"; this.HeaderPanel.BackgroundImage = Properties.Resources.header; this.HeaderPanel.BackgroundImageLayout = ImageLayout.Stretch; this.HeaderPanel.Controls.Add(this.btnCloseDlg); this.HeaderPanel.Controls.Add(this.lbl_Language); this.HeaderPanel.Controls.Add(this.pictureBox1); this.HeaderPanel.Dock = DockStyle.Top; this.HeaderPanel.Location = new Point(0, 0); this.HeaderPanel.Name = "HeaderPanel"; this.HeaderPanel.Size = new Size(263, 40); this.HeaderPanel.TabIndex = 0; this.HeaderPanel.MouseDown += new MouseEventHandler(this.HeaderPanel_MouseDown); this.btnCloseDlg.AllowAnimations = true; this.btnCloseDlg.BackColor = Color.Transparent; this.btnCloseDlg.Dock = DockStyle.Right; this.btnCloseDlg.Image = Properties.Resources.close; this.btnCloseDlg.Location = new Point(223, 0); this.btnCloseDlg.Name = "btnCloseDlg"; this.btnCloseDlg.PaintBorder = false; this.btnCloseDlg.PaintDefaultBorder = false; this.btnCloseDlg.PaintDefaultFill = false; this.btnCloseDlg.RoundedCornersMask = 15; this.btnCloseDlg.Size = new Size(40, 40); this.btnCloseDlg.TabIndex = 2; this.btnCloseDlg.UseVisualStyleBackColor = false; this.btnCloseDlg.VIBlendTheme = VIBLEND_THEME.VISTABLUE; this.btnCloseDlg.Click += new EventHandler(this.btnCloseDlg_Click); this.lbl_Language.AutoSize = true; this.lbl_Language.BackColor = Color.Transparent; this.lbl_Language.Font = new Font("Microsoft Sans Serif", 9.75f, FontStyle.Bold, GraphicsUnit.Point, 0); this.lbl_Language.ForeColor = Color.White; this.lbl_Language.Location = new Point(45, 4); this.lbl_Language.Name = "lbl_Language"; this.lbl_Language.Size = new Size(77, 16); this.lbl_Language.TabIndex = 1; this.lbl_Language.Text = "Language"; this.lbl_Language.MouseDown += new MouseEventHandler(this.lbl_Language_MouseDown); this.pictureBox1.BackColor = Color.Transparent; this.pictureBox1.Image = Properties.Resources.globe; this.pictureBox1.Location = new Point(4, 4); this.pictureBox1.Name = "pictureBox1"; this.pictureBox1.Size = new Size(34, 34); this.pictureBox1.SizeMode = PictureBoxSizeMode.CenterImage; this.pictureBox1.TabIndex = 0; this.pictureBox1.TabStop = false; this.pictureBox1.MouseDown += new MouseEventHandler(this.pictureBox1_MouseDown); base.AutoScaleDimensions = new SizeF(6f, 13f); base.AutoScaleMode = AutoScaleMode.Font; this.BackColor = Color.White; base.ClientSize = new Size(263, 153); base.Controls.Add(this.MainPanel); base.Controls.Add(this.HeaderPanel); base.FormBorderStyle = FormBorderStyle.None; base.Name = "Language"; base.StartPosition = FormStartPosition.CenterParent; this.Text = "Language"; base.Load += new EventHandler(this.Language_Load); this.MainPanel.ResumeLayout(false); this.MainPanel.PerformLayout(); this.HeaderPanel.ResumeLayout(false); this.HeaderPanel.PerformLayout(); ((ISupportInitialize)this.pictureBox1).EndInit(); base.ResumeLayout(false); }
private void InitializeComponent() { ListItem listItem = new ListItem(); ListItem listItem1 = new ListItem(); ListItem listItem2 = new ListItem(); ListItem listItem3 = new ListItem(); ListItem listItem4 = new ListItem(); ListItem listItem5 = new ListItem(); ListItem listItem6 = new ListItem(); ListItem listItem7 = new ListItem(); ListItem listItem8 = new ListItem(); ListItem listItem9 = new ListItem(); ListItem listItem10 = new ListItem(); ListItem listItem11 = new ListItem(); ListItem listItem12 = new ListItem(); ListItem listItem13 = new ListItem(); ListItem listItem14 = new ListItem(); ListItem listItem15 = new ListItem(); ListItem listItem16 = new ListItem(); ListItem listItem17 = new ListItem(); ListItem listItem18 = new ListItem(); ListItem listItem19 = new ListItem(); ListItem listItem20 = new ListItem(); ChartArea chartArea = new ChartArea(); Series series = new Series(); Series green = new Series(); Series blue = new Series(); this.HeaderPanel = new Panel(); this.cboSize = new vComboBox(); this.pictureBox = new PictureBox(); this.picImage = new PictureBox(); this.cboFilters = new vComboBox(); this.btnPrint = new vButton(); this.RecPanel = new Panel(); this.label1 = new Label(); this.chart = new Chart(); this.HeaderPanel.SuspendLayout(); ((ISupportInitialize)this.pictureBox).BeginInit(); ((ISupportInitialize)this.picImage).BeginInit(); this.RecPanel.SuspendLayout(); ((ISupportInitialize)this.chart).BeginInit(); base.SuspendLayout(); this.HeaderPanel.BackColor = Color.FromArgb(64, 64, 64); this.HeaderPanel.Controls.Add(this.chart); this.HeaderPanel.Controls.Add(this.RecPanel); this.HeaderPanel.Controls.Add(this.btnPrint); this.HeaderPanel.Controls.Add(this.cboFilters); this.HeaderPanel.Controls.Add(this.cboSize); this.HeaderPanel.Controls.Add(this.picImage); this.HeaderPanel.Dock = DockStyle.Top; this.HeaderPanel.Location = new System.Drawing.Point(0, 0); this.HeaderPanel.Name = "HeaderPanel"; this.HeaderPanel.Size = new Size(884, 80); this.HeaderPanel.TabIndex = 0; this.cboSize.BackColor = Color.White; this.cboSize.DefaultText = "Size Mode..."; this.cboSize.DisplayMember = ""; this.cboSize.DropDownList = true; this.cboSize.DropDownMaximumSize = new Size(1000, 1000); this.cboSize.DropDownMinimumSize = new Size(10, 10); this.cboSize.DropDownResizeDirection = SizingDirection.Both; this.cboSize.DropDownWidth = 205; listItem.RoundedCornersMask = 15; listItem.Text = "Normal"; listItem1.RoundedCornersMask = 15; listItem1.Text = "Stretched"; listItem2.RoundedCornersMask = 15; listItem2.Text = "Center"; this.cboSize.Items.Add(listItem); this.cboSize.Items.Add(listItem1); this.cboSize.Items.Add(listItem2); this.cboSize.Location = new System.Drawing.Point(10, 9); this.cboSize.Name = "cboSize"; this.cboSize.RoundedCornersMaskListItem = 15; this.cboSize.SelectedIndex = 1; this.cboSize.Size = new Size(205, 23); this.cboSize.TabIndex = 1; this.cboSize.Text = "Stretched"; this.cboSize.UseThemeBackColor = false; this.cboSize.UseThemeDropDownArrowColor = true; this.cboSize.ValueMember = ""; this.cboSize.VIBlendScrollBarsTheme = VIBLEND_THEME.VISTABLUE; this.cboSize.VIBlendTheme = VIBLEND_THEME.VISTABLUE; this.cboSize.SelectedIndexChanged += new EventHandler(this.cboSize_SelectedIndexChanged); this.pictureBox.Dock = DockStyle.Fill; this.pictureBox.Location = new System.Drawing.Point(0, 80); this.pictureBox.Name = "pictureBox"; this.pictureBox.Size = new Size(884, 582); this.pictureBox.TabIndex = 1; this.pictureBox.TabStop = false; this.picImage.BackColor = Color.Black; this.picImage.Dock = DockStyle.Right; this.picImage.Location = new System.Drawing.Point(759, 0); this.picImage.Name = "picImage"; this.picImage.Size = new Size(125, 80); this.picImage.SizeMode = PictureBoxSizeMode.StretchImage; this.picImage.TabIndex = 0; this.picImage.TabStop = false; this.cboFilters.BackColor = Color.White; this.cboFilters.DefaultText = "Filters..."; this.cboFilters.DisplayMember = ""; this.cboFilters.DropDownMaximumSize = new Size(1000, 1000); this.cboFilters.DropDownMinimumSize = new Size(10, 10); this.cboFilters.DropDownResizeDirection = SizingDirection.Both; this.cboFilters.DropDownWidth = 205; listItem3.RoundedCornersMask = 15; listItem3.Text = "None"; listItem4.RoundedCornersMask = 15; listItem4.Text = "Gray Scale"; listItem5.RoundedCornersMask = 15; listItem5.Text = "Sepia"; listItem6.RoundedCornersMask = 15; listItem6.Text = "Invert"; listItem7.RoundedCornersMask = 15; listItem7.Text = "Rotate Channels"; listItem8.RoundedCornersMask = 15; listItem8.Text = "Color Filtering"; listItem9.RoundedCornersMask = 15; listItem9.Text = "Hue Modifier"; listItem10.RoundedCornersMask = 15; listItem10.Text = "Saturation Adjusting"; listItem11.RoundedCornersMask = 15; listItem11.Text = "Brightness Adjusting"; listItem12.RoundedCornersMask = 15; listItem12.Text = "Contrast Adjusting"; listItem13.RoundedCornersMask = 15; listItem13.Text = "HSL Filtering"; listItem14.RoundedCornersMask = 15; listItem14.Text = "YCbCr Filtering"; listItem15.RoundedCornersMask = 15; listItem15.Text = "Threshold Binarization"; listItem16.RoundedCornersMask = 15; listItem16.Text = "Sharpen Image"; listItem17.RoundedCornersMask = 15; listItem17.Text = "Difference Edge Detector"; listItem18.RoundedCornersMask = 15; listItem18.Text = "Homogenity Edge Detector"; listItem19.RoundedCornersMask = 15; listItem19.Text = "Sobel Edge Detector"; listItem20.RoundedCornersMask = 15; listItem20.Text = "Levels Linear Correction"; this.cboFilters.Items.Add(listItem3); this.cboFilters.Items.Add(listItem4); this.cboFilters.Items.Add(listItem5); this.cboFilters.Items.Add(listItem6); this.cboFilters.Items.Add(listItem7); this.cboFilters.Items.Add(listItem8); this.cboFilters.Items.Add(listItem9); this.cboFilters.Items.Add(listItem10); this.cboFilters.Items.Add(listItem11); this.cboFilters.Items.Add(listItem12); this.cboFilters.Items.Add(listItem13); this.cboFilters.Items.Add(listItem14); this.cboFilters.Items.Add(listItem15); this.cboFilters.Items.Add(listItem16); this.cboFilters.Items.Add(listItem17); this.cboFilters.Items.Add(listItem18); this.cboFilters.Items.Add(listItem19); this.cboFilters.Items.Add(listItem20); this.cboFilters.Location = new System.Drawing.Point(10, 49); this.cboFilters.Name = "cboFilters"; this.cboFilters.RoundedCornersMaskListItem = 15; this.cboFilters.Size = new Size(205, 23); this.cboFilters.TabIndex = 2; this.cboFilters.UseThemeBackColor = false; this.cboFilters.UseThemeDropDownArrowColor = true; this.cboFilters.ValueMember = ""; this.cboFilters.VIBlendScrollBarsTheme = VIBLEND_THEME.VISTABLUE; this.cboFilters.VIBlendTheme = VIBLEND_THEME.VISTABLUE; this.cboFilters.SelectedIndexChanged += new EventHandler(this.cboFilters_SelectedIndexChanged); this.btnPrint.AllowAnimations = true; this.btnPrint.Anchor = AnchorStyles.Right; this.btnPrint.BackColor = Color.Transparent; this.btnPrint.Image = Resources.print; this.btnPrint.Location = new System.Drawing.Point(502, 15); this.btnPrint.Name = "btnPrint"; this.btnPrint.PaintBorder = false; this.btnPrint.PaintDefaultBorder = false; this.btnPrint.PaintDefaultFill = false; this.btnPrint.RoundedCornersMask = 15; this.btnPrint.RoundedCornersRadius = 0; this.btnPrint.Size = new Size(63, 53); this.btnPrint.TabIndex = 3; this.btnPrint.UseVisualStyleBackColor = false; this.btnPrint.VIBlendTheme = VIBLEND_THEME.VISTABLUE; this.btnPrint.Click += new EventHandler(this.btnPrint_Click); this.RecPanel.Anchor = AnchorStyles.Left; this.RecPanel.Controls.Add(this.label1); this.RecPanel.Location = new System.Drawing.Point(221, 9); this.RecPanel.Name = "RecPanel"; this.RecPanel.Size = new Size(175, 63); this.RecPanel.TabIndex = 4; this.RecPanel.Visible = false; this.label1.AutoSize = true; this.label1.ForeColor = Color.White; this.label1.Location = new System.Drawing.Point(3, 3); this.label1.Name = "label1"; this.label1.Size = new Size(35, 13); this.label1.TabIndex = 0; this.label1.Text = "label1"; chartArea.AxisX.IsLabelAutoFit = false; chartArea.AxisX.MajorGrid.Enabled = false; chartArea.AxisX.MajorTickMark.Enabled = false; chartArea.AxisX.MinorTickMark.TickMarkStyle = TickMarkStyle.None; chartArea.AxisX2.MajorTickMark.Enabled = false; chartArea.AxisX2.MinorTickMark.TickMarkStyle = TickMarkStyle.None; chartArea.AxisY.IsMarginVisible = false; chartArea.AxisY.LabelAutoFitMaxFontSize = 6; chartArea.AxisY.MajorGrid.Enabled = false; chartArea.AxisY.MajorTickMark.Enabled = false; chartArea.AxisY.MinorTickMark.TickMarkStyle = TickMarkStyle.None; chartArea.AxisY.ScaleBreakStyle.StartFromZero = StartFromZero.Yes; chartArea.AxisY2.MajorGrid.Enabled = false; chartArea.AxisY2.MajorTickMark.Enabled = false; chartArea.AxisY2.MajorTickMark.TickMarkStyle = TickMarkStyle.None; chartArea.Name = "ChartArea1"; this.chart.ChartAreas.Add(chartArea); this.chart.Dock = DockStyle.Right; this.chart.Location = new System.Drawing.Point(581, 0); this.chart.Margin = new Padding(1); this.chart.Name = "chart"; series.BorderColor = Color.Red; series.ChartArea = "ChartArea1"; series.ChartType = SeriesChartType.Area; series.Color = Color.Red; series.IsVisibleInLegend = false; series.IsXValueIndexed = true; series.Name = "Red"; series.XValueType = ChartValueType.Int32; series.YValueType = ChartValueType.Int32; green.ChartArea = "ChartArea1"; green.ChartType = SeriesChartType.Area; green.Color = Color.Green; green.IsVisibleInLegend = false; green.IsXValueIndexed = true; green.Name = "Green"; green.XValueType = ChartValueType.Int32; green.YValueType = ChartValueType.Int32; blue.ChartArea = "ChartArea1"; blue.ChartType = SeriesChartType.Area; blue.Color = Color.Blue; blue.IsVisibleInLegend = false; blue.IsXValueIndexed = true; blue.Name = "Blue"; blue.XValueType = ChartValueType.Int32; blue.YValueType = ChartValueType.Int32; this.chart.Series.Add(series); this.chart.Series.Add(green); this.chart.Series.Add(blue); this.chart.Size = new Size(178, 80); this.chart.TabIndex = 5; base.AutoScaleDimensions = new SizeF(6f, 13f); base.AutoScaleMode = AutoScaleMode.Font; base.ClientSize = new Size(884, 662); base.Controls.Add(this.pictureBox); base.Controls.Add(this.HeaderPanel); this.MinimumSize = new Size(800, 600); base.Name = "ImgViewer2"; base.StartPosition = FormStartPosition.CenterParent; this.Text = "Image Viewer"; base.Load += new EventHandler(this.ImgViewer2_Load); this.HeaderPanel.ResumeLayout(false); ((ISupportInitialize)this.pictureBox).EndInit(); ((ISupportInitialize)this.picImage).EndInit(); this.RecPanel.ResumeLayout(false); this.RecPanel.PerformLayout(); ((ISupportInitialize)this.chart).EndInit(); base.ResumeLayout(false); }