private void RegDB_Load(object sender, EventArgs e) { string str = Path.Combine(VMGlobal.ProfilePath, VMGlobal.ProfileFile); if (Directory.Exists(VMGlobal.ProfilePath)) { try { DBProfileData dBProfileDatum = (DBProfileData)FileCrypto.LoadConfig(str); this.chk_LocalDB.Checked = dBProfileDatum.IsLocalDB; this.chk_Security.Checked = dBProfileDatum.PersistSecurityInfo; this.DataSource.Text = dBProfileDatum.DataSource; this.Catalog.Text = dBProfileDatum.Catalog; this.UserID.Text = dBProfileDatum.UserId; vTextBox pwd1 = this.Pwd1; vTextBox pwd2 = this.Pwd2; string password = dBProfileDatum.Password; string str1 = password; pwd2.Text = password; pwd1.Text = str1; } catch { } } }
private void btn_OK_Click(object sender, EventArgs e) { if (!this.txtPwd1.Text.Equals(this.txtPwd2.Text)) { MessageBox.Show(this, LangCtrl.GetString("msg_PwdMatch", "Passwords do not match."), "Password", MessageBoxButtons.OK, MessageBoxIcon.Exclamation); this.txtPwd1.Select(); return; } if (!Utility.CheckPassword(this.txtPwd1.Text)) { MessageBox.Show(this, Utility.PwdMsg, "Password", MessageBoxButtons.OK, MessageBoxIcon.Exclamation); this.txtPwd1.Select(); return; } if (!this.txtPwd1.Text.Equals(this.txtPwd2.Text) || string.IsNullOrEmpty(this.txtPwd1.Text)) { MessageBox.Show(this, "Password Error", "Password", MessageBoxButtons.OK, MessageBoxIcon.Exclamation); vTextBox _vTextBox = this.txtPwd1; vTextBox _vTextBox1 = this.txtPwd2; string empty = string.Empty; string str = empty; _vTextBox1.Text = empty; _vTextBox.Text = str; this.txtPwd1.Select(); } else if (this.AccountID != Guid.Empty) { string str1 = CryptoIO.MD5Encrypt(this.txtPwd1.Text); using (RPM_Account rPMAccount = new RPM_Account()) { Account account = rPMAccount.GetAccount(this.AccountID); account.Password = str1; account.IsPwdReset = new bool?(false); rPMAccount.InsertUpdate(account); rPMAccount.Save(); } base.DialogResult = DialogResult.OK; base.Close(); return; } }
private void InitializeComponent() { this.components = new Container(); ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(SetCtrl)); this.SetHeaderPanel = new Panel(); this.btn_ResetSets = new vButton(); this.lblLine = new Label(); this.DatePanel = new Panel(); this.ToDate = new vDateTimePicker(); this.lbl_EndDate = new Label(); this.FromDate = new vDateTimePicker(); this.lbl_StartDate = new Label(); this.btn_FindSet = new vButton(); this.txtSetID = new vTextBox(); this.lbl_SetID = new Label(); this.vTree = new vTreeView(); this.TreeMenu = new ContextMenuStrip(this.components); this.mnu_NewSetFile = new ToolStripMenuItem(); this.clearSetSearchToolStripMenuItem = new ToolStripMenuItem(); this.mnu_TreeLines = new ToolStripMenuItem(); this.expandAllToolStripMenuItem = new ToolStripMenuItem(); this.toolStripMenuItem1 = new ToolStripSeparator(); this.mnu_RefreshSets = new ToolStripMenuItem(); this.TreeImages = new ImageList(this.components); this.SetHeaderPanel.SuspendLayout(); this.DatePanel.SuspendLayout(); this.TreeMenu.SuspendLayout(); base.SuspendLayout(); this.SetHeaderPanel.Controls.Add(this.btn_ResetSets); this.SetHeaderPanel.Controls.Add(this.lblLine); this.SetHeaderPanel.Controls.Add(this.DatePanel); this.SetHeaderPanel.Controls.Add(this.btn_FindSet); this.SetHeaderPanel.Controls.Add(this.txtSetID); this.SetHeaderPanel.Controls.Add(this.lbl_SetID); this.SetHeaderPanel.Dock = DockStyle.Top; this.SetHeaderPanel.Location = new Point(0, 0); this.SetHeaderPanel.Name = "SetHeaderPanel"; this.SetHeaderPanel.Size = new Size(290, 161); this.SetHeaderPanel.TabIndex = 1; this.btn_ResetSets.AllowAnimations = true; this.btn_ResetSets.BackColor = Color.Transparent; this.btn_ResetSets.Location = new Point(11, 102); this.btn_ResetSets.Name = "btn_ResetSets"; this.btn_ResetSets.RoundedCornersMask = 15; this.btn_ResetSets.RoundedCornersRadius = 0; this.btn_ResetSets.Size = new Size(128, 30); this.btn_ResetSets.TabIndex = 7; this.btn_ResetSets.Text = "Reset"; this.btn_ResetSets.UseVisualStyleBackColor = false; this.btn_ResetSets.VIBlendTheme = VIBLEND_THEME.VISTABLUE; this.btn_ResetSets.Click += new EventHandler(this.btn_ResetSets_Click); this.lblLine.BackColor = Color.Gray; this.lblLine.Location = new Point(9, 141); this.lblLine.Name = "lblLine"; this.lblLine.Size = new Size(272, 1); this.lblLine.TabIndex = 6; this.DatePanel.Controls.Add(this.ToDate); this.DatePanel.Controls.Add(this.lbl_EndDate); this.DatePanel.Controls.Add(this.FromDate); this.DatePanel.Controls.Add(this.lbl_StartDate); this.DatePanel.Location = new Point(3, 31); this.DatePanel.Name = "DatePanel"; this.DatePanel.Size = new Size(286, 61); this.DatePanel.TabIndex = 4; 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(142, 34); 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 = 15; this.ToDate.Text = "07/14/2014 17:46:50"; this.ToDate.UseThemeBackColor = false; this.ToDate.UseThemeDropDownArrowColor = true; this.ToDate.Value = new DateTime(2017, 08, 03); this.ToDate.VIBlendTheme = VIBLEND_THEME.VISTABLUE; this.lbl_EndDate.AutoSize = true; this.lbl_EndDate.Location = new Point(9, 39); this.lbl_EndDate.Name = "lbl_EndDate"; this.lbl_EndDate.Size = new Size(74, 13); this.lbl_EndDate.TabIndex = 14; this.lbl_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(142, 5); 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 = 13; this.FromDate.Text = "07/14/2014 17:46:50"; this.FromDate.UseThemeBackColor = false; this.FromDate.UseThemeDropDownArrowColor = true; this.FromDate.Value = new DateTime(2017, 08, 03); this.FromDate.VIBlendTheme = VIBLEND_THEME.VISTABLUE; this.lbl_StartDate.AutoSize = true; this.lbl_StartDate.Location = new Point(9, 10); this.lbl_StartDate.Name = "lbl_StartDate"; this.lbl_StartDate.Size = new Size(84, 13); this.lbl_StartDate.TabIndex = 12; this.lbl_StartDate.Text = "From Date/Time"; this.btn_FindSet.AllowAnimations = true; this.btn_FindSet.BackColor = Color.Transparent; this.btn_FindSet.Location = new Point(145, 102); this.btn_FindSet.Name = "btn_FindSet"; this.btn_FindSet.RoundedCornersMask = 15; this.btn_FindSet.RoundedCornersRadius = 0; this.btn_FindSet.Size = new Size(128, 30); this.btn_FindSet.TabIndex = 3; this.btn_FindSet.Text = "Find Sets"; this.btn_FindSet.UseVisualStyleBackColor = false; this.btn_FindSet.VIBlendTheme = VIBLEND_THEME.VISTABLUE; this.btn_FindSet.Click += new EventHandler(this.btn_FindSet_Click); 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(145, 6); this.txtSetID.MaxLength = 64; 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(128, 23); this.txtSetID.TabIndex = 2; this.txtSetID.TextAlign = HorizontalAlignment.Left; this.txtSetID.VIBlendTheme = VIBLEND_THEME.VISTABLUE; this.lbl_SetID.AutoSize = true; this.lbl_SetID.Location = new Point(9, 11); this.lbl_SetID.Name = "lbl_SetID"; this.lbl_SetID.Size = new Size(70, 13); this.lbl_SetID.TabIndex = 0; this.lbl_SetID.Text = "Set Name/ID"; this.vTree.AccessibleName = "TreeView"; this.vTree.AccessibleRole = AccessibleRole.List; this.vTree.BorderColor = Color.Transparent; this.vTree.ContextMenuStrip = this.TreeMenu; this.vTree.Dock = DockStyle.Fill; this.vTree.ImageList = this.TreeImages; this.vTree.Location = new Point(0, 161); this.vTree.Name = "vTree"; this.vTree.ScrollPosition = new Point(0, 0); this.vTree.SelectedNode = null; this.vTree.ShowRootLines = true; this.vTree.Size = new Size(290, 363); this.vTree.TabIndex = 2; this.vTree.UseThemeBorderColor = false; this.vTree.VIBlendScrollBarsTheme = VIBLEND_THEME.OFFICE2010SILVER; this.vTree.VIBlendTheme = VIBLEND_THEME.OFFICE2010SILVER; this.vTree.NodeMouseUp += new vTreeViewMouseEventHandler(this.vTree_NodeMouseUp); ToolStripItemCollection items = this.TreeMenu.Items; ToolStripItem[] mnuNewSetFile = new ToolStripItem[] { this.mnu_NewSetFile, this.clearSetSearchToolStripMenuItem, this.mnu_TreeLines, this.expandAllToolStripMenuItem, this.toolStripMenuItem1, this.mnu_RefreshSets }; TreeMenu.Items.AddRange(mnuNewSetFile); this.TreeMenu.Name = "TreeMenu"; this.TreeMenu.Size = new Size(234, 120); this.mnu_NewSetFile.Name = "mnu_NewSetFile"; this.mnu_NewSetFile.Size = new Size(233, 22); this.mnu_NewSetFile.Text = "Add New File to Selected Set..."; this.mnu_NewSetFile.Visible = false; this.mnu_NewSetFile.Click += new EventHandler(this.mnu_NewSetFile_Click); this.clearSetSearchToolStripMenuItem.Name = "clearSetSearchToolStripMenuItem"; this.clearSetSearchToolStripMenuItem.Size = new Size(233, 22); this.clearSetSearchToolStripMenuItem.Text = "Clear Set Search"; this.mnu_TreeLines.Name = "mnu_TreeLines"; this.mnu_TreeLines.Size = new Size(233, 22); this.mnu_TreeLines.Text = "Tree Lines"; this.mnu_TreeLines.Click += new EventHandler(this.mnu_TreeLines_Click); this.expandAllToolStripMenuItem.Name = "expandAllToolStripMenuItem"; this.expandAllToolStripMenuItem.Size = new Size(233, 22); this.expandAllToolStripMenuItem.Text = "Expand All"; this.toolStripMenuItem1.Name = "toolStripMenuItem1"; this.toolStripMenuItem1.Size = new Size(230, 6); this.mnu_RefreshSets.Name = "mnu_RefreshSets"; this.mnu_RefreshSets.Size = new Size(233, 22); this.mnu_RefreshSets.Text = "Refresh Sets"; this.mnu_RefreshSets.Click += new EventHandler(this.mnu_RefreshSets_Click); this.TreeImages.ImageStream = (ImageListStreamer)Resources.SetCtrl.TreeImages_ImageStream; this.TreeImages.TransparentColor = Color.Transparent; this.TreeImages.Images.SetKeyName(0, "group.png"); this.TreeImages.Images.SetKeyName(1, "groups.png"); base.AutoScaleDimensions = new SizeF(6f, 13f); base.AutoScaleMode = AutoScaleMode.Font; this.BackColor = Color.White; base.Controls.Add(this.vTree); base.Controls.Add(this.SetHeaderPanel); base.Name = "SetCtrl"; base.Size = new Size(290, 524); base.Load += new EventHandler(this.SetCtrl_Load); this.SetHeaderPanel.ResumeLayout(false); this.SetHeaderPanel.PerformLayout(); this.DatePanel.ResumeLayout(false); this.DatePanel.PerformLayout(); this.TreeMenu.ResumeLayout(false); base.ResumeLayout(false); }
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() { ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(Login)); this.btn_Cancel = new vButton(); this.btn_Login = new vButton(); this.lbl_LoginID = new Label(); this.lbl_Password = new Label(); this.vTextBox_0 = new vTextBox(); this.txtPwd = new vTextBox(); this.lbl_loginMsg = new Label(); this.FormPanel = new Panel(); this.HeaderPanel = new Panel(); this.pictureBox1 = new PictureBox(); this.lbl_C3Catalog = new Label(); this.FormPanel.SuspendLayout(); this.HeaderPanel.SuspendLayout(); ((ISupportInitialize)this.pictureBox1).BeginInit(); base.SuspendLayout(); this.btn_Cancel.AllowAnimations = true; this.btn_Cancel.BackColor = Color.Transparent; this.btn_Cancel.DialogResult = DialogResult.Cancel; this.btn_Cancel.Location = new Point(159, 93); this.btn_Cancel.Name = "btn_Cancel"; this.btn_Cancel.RoundedCornersMask = 15; this.btn_Cancel.RoundedCornersRadius = 0; this.btn_Cancel.Size = new Size(100, 30); this.btn_Cancel.TabIndex = 6; this.btn_Cancel.Text = "Cancel"; this.btn_Cancel.UseVisualStyleBackColor = false; this.btn_Cancel.VIBlendTheme = VIBLEND_THEME.VISTABLUE; this.btn_Cancel.Click += new EventHandler(this.btn_Cancel_Click); this.btn_Login.AllowAnimations = true; this.btn_Login.BackColor = Color.Transparent; this.btn_Login.Location = new Point(53, 93); this.btn_Login.Name = "btn_Login"; this.btn_Login.RoundedCornersMask = 15; this.btn_Login.RoundedCornersRadius = 0; this.btn_Login.Size = new Size(100, 30); this.btn_Login.TabIndex = 5; this.btn_Login.Text = "Login"; this.btn_Login.UseVisualStyleBackColor = false; this.btn_Login.VIBlendTheme = VIBLEND_THEME.VISTABLUE; this.btn_Login.Click += new EventHandler(this.btn_Login_Click); this.lbl_LoginID.Location = new Point(9, 13); this.lbl_LoginID.Name = "lbl_LoginID"; this.lbl_LoginID.Size = new Size(90, 13); this.lbl_LoginID.TabIndex = 1; this.lbl_LoginID.Text = "Login ID"; this.lbl_Password.Location = new Point(12, 44); this.lbl_Password.Name = "lbl_Password"; this.lbl_Password.Size = new Size(90, 13); this.lbl_Password.TabIndex = 3; this.lbl_Password.Text = "Password"; this.vTextBox_0.BackColor = Color.White; this.vTextBox_0.BoundsOffset = new Size(1, 1); this.vTextBox_0.ControlBorderColor = Color.FromArgb(39, 39, 39); this.vTextBox_0.DefaultText = ""; this.vTextBox_0.Location = new Point(109, 8); this.vTextBox_0.MaxLength = 32; this.vTextBox_0.Name = "txtLoginID"; this.vTextBox_0.PasswordChar = '\0'; this.vTextBox_0.ScrollBars = ScrollBars.None; this.vTextBox_0.SelectionLength = 0; this.vTextBox_0.SelectionStart = 0; this.vTextBox_0.Size = new Size(150, 23); this.vTextBox_0.TabIndex = 2; this.vTextBox_0.TextAlign = HorizontalAlignment.Left; this.vTextBox_0.VIBlendTheme = VIBLEND_THEME.VISTABLUE; this.txtPwd.BackColor = Color.White; this.txtPwd.BoundsOffset = new Size(1, 1); this.txtPwd.ControlBorderColor = Color.FromArgb(39, 39, 39); this.txtPwd.DefaultText = ""; this.txtPwd.Location = new Point(109, 39); this.txtPwd.MaxLength = 32; this.txtPwd.Name = "txtPwd"; this.txtPwd.PasswordChar = '•'; this.txtPwd.ScrollBars = ScrollBars.None; this.txtPwd.SelectionLength = 0; this.txtPwd.SelectionStart = 0; this.txtPwd.Size = new Size(150, 23); this.txtPwd.TabIndex = 4; this.txtPwd.TextAlign = HorizontalAlignment.Left; this.txtPwd.VIBlendTheme = VIBLEND_THEME.VISTABLUE; this.txtPwd.KeyDown += new KeyEventHandler(this.txtPwd_KeyDown); this.lbl_loginMsg.Font = new Font("Microsoft Sans Serif", 6.75f, FontStyle.Regular, GraphicsUnit.Point, 0); this.lbl_loginMsg.Location = new Point(109, 71); this.lbl_loginMsg.Name = "lbl_loginMsg"; this.lbl_loginMsg.Size = new Size(150, 12); this.lbl_loginMsg.TabIndex = 7; this.lbl_loginMsg.TextAlign = ContentAlignment.MiddleLeft; this.FormPanel.BorderStyle = BorderStyle.FixedSingle; this.FormPanel.Controls.Add(this.btn_Cancel); this.FormPanel.Controls.Add(this.lbl_loginMsg); this.FormPanel.Controls.Add(this.btn_Login); this.FormPanel.Controls.Add(this.txtPwd); this.FormPanel.Controls.Add(this.lbl_LoginID); this.FormPanel.Controls.Add(this.vTextBox_0); this.FormPanel.Controls.Add(this.lbl_Password); this.FormPanel.Dock = DockStyle.Fill; this.FormPanel.Location = new Point(0, 40); this.FormPanel.Name = "FormPanel"; this.FormPanel.Size = new Size(293, 142); this.FormPanel.TabIndex = 8; this.FormPanel.Paint += new PaintEventHandler(this.panel1_Paint); this.HeaderPanel.BackgroundImage = Properties.Resources.header; this.HeaderPanel.BackgroundImageLayout = ImageLayout.Stretch; this.HeaderPanel.Controls.Add(this.pictureBox1); this.HeaderPanel.Controls.Add(this.lbl_C3Catalog); this.HeaderPanel.Dock = DockStyle.Top; this.HeaderPanel.Location = new Point(0, 0); this.HeaderPanel.Name = "HeaderPanel"; this.HeaderPanel.Size = new Size(293, 40); this.HeaderPanel.TabIndex = 0; this.HeaderPanel.MouseDown += new MouseEventHandler(this.HeaderPanel_MouseDown); this.pictureBox1.BackColor = Color.Transparent; this.pictureBox1.Dock = DockStyle.Left; this.pictureBox1.Image = Properties.Resources.catalog2; this.pictureBox1.Location = new Point(0, 0); this.pictureBox1.Name = "pictureBox1"; this.pictureBox1.Size = new Size(32, 40); this.pictureBox1.SizeMode = PictureBoxSizeMode.CenterImage; this.pictureBox1.TabIndex = 3; this.pictureBox1.TabStop = false; this.pictureBox1.MouseDown += new MouseEventHandler(this.pictureBox1_MouseDown); this.lbl_C3Catalog.AutoSize = true; this.lbl_C3Catalog.BackColor = Color.Transparent; this.lbl_C3Catalog.Font = new Font("Verdana", 9.75f, FontStyle.Bold, GraphicsUnit.Point, 0); this.lbl_C3Catalog.ForeColor = Color.White; this.lbl_C3Catalog.Location = new Point(37, 4); this.lbl_C3Catalog.Name = "lbl_C3Catalog"; this.lbl_C3Catalog.Size = new Size(150, 16); this.lbl_C3Catalog.TabIndex = 2; this.lbl_C3Catalog.Text = "C3 Sentinel Catalog"; this.lbl_C3Catalog.MouseDown += new MouseEventHandler(this.lbl_C3Catalog_MouseDown); base.AutoScaleDimensions = new SizeF(6f, 13f); base.AutoScaleMode = AutoScaleMode.Font; this.BackColor = Color.White; base.ClientSize = new Size(293, 182); base.Controls.Add(this.FormPanel); base.Controls.Add(this.HeaderPanel); base.FormBorderStyle = FormBorderStyle.None; base.Icon = (Icon)Resources.Login.LoginIcon; base.Name = "Login"; base.StartPosition = FormStartPosition.CenterScreen; this.Text = "Login"; base.Load += new EventHandler(this.Login_Load); base.Paint += new PaintEventHandler(this.Login_Paint); this.FormPanel.ResumeLayout(false); this.HeaderPanel.ResumeLayout(false); this.HeaderPanel.PerformLayout(); ((ISupportInitialize)this.pictureBox1).EndInit(); base.ResumeLayout(false); }
private void InitializeComponent() { this.pictureBox1 = new PictureBox(); this.HeaderPanel = new Panel(); this.lbl_ResetPassword = new Label(); this.lbl_NewPwd = new Label(); this.txtPwd1 = new vTextBox(); this.txtPwd2 = new vTextBox(); this.lbl_ConfirmPwd = new Label(); this.btn_Cancel = new vButton(); this.btn_OK = new vButton(); ((ISupportInitialize)this.pictureBox1).BeginInit(); this.HeaderPanel.SuspendLayout(); base.SuspendLayout(); this.pictureBox1.BackColor = Color.Transparent; this.pictureBox1.Image = Properties.Resources.Password; this.pictureBox1.Location = new Point(5, 2); this.pictureBox1.Name = "pictureBox1"; this.pictureBox1.Size = new Size(36, 36); this.pictureBox1.SizeMode = PictureBoxSizeMode.CenterImage; this.pictureBox1.TabIndex = 0; this.pictureBox1.TabStop = false; this.pictureBox1.MouseDown += new MouseEventHandler(this.pictureBox1_MouseDown); this.HeaderPanel.BackColor = Color.FromArgb(64, 64, 64); this.HeaderPanel.BackgroundImageLayout = ImageLayout.Stretch; this.HeaderPanel.Controls.Add(this.lbl_ResetPassword); 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(378, 40); this.HeaderPanel.TabIndex = 0; this.HeaderPanel.MouseDown += new MouseEventHandler(this.HeaderPanel_MouseDown); this.lbl_ResetPassword.AutoSize = true; this.lbl_ResetPassword.BackColor = Color.Transparent; this.lbl_ResetPassword.Font = new Font("Verdana", 9.75f, FontStyle.Bold, GraphicsUnit.Point, 0); this.lbl_ResetPassword.ForeColor = Color.White; this.lbl_ResetPassword.Location = new Point(48, 13); this.lbl_ResetPassword.Name = "lbl_ResetPassword"; this.lbl_ResetPassword.Size = new Size(123, 16); this.lbl_ResetPassword.TabIndex = 1; this.lbl_ResetPassword.Text = "Reset Password"; this.lbl_ResetPassword.MouseDown += new MouseEventHandler(this.lbl_ResetPassword_MouseDown); this.lbl_NewPwd.Location = new Point(13, 54); this.lbl_NewPwd.Name = "lbl_NewPwd"; this.lbl_NewPwd.Size = new Size(110, 13); this.lbl_NewPwd.TabIndex = 0; this.lbl_NewPwd.Text = "New Password"; this.txtPwd1.BackColor = Color.White; this.txtPwd1.BoundsOffset = new Size(1, 1); this.txtPwd1.ControlBorderColor = Color.FromArgb(39, 39, 39); this.txtPwd1.DefaultText = ""; this.txtPwd1.Location = new Point(131, 49); this.txtPwd1.MaxLength = 32; this.txtPwd1.Name = "txtPwd1"; this.txtPwd1.PasswordChar = '•'; this.txtPwd1.ScrollBars = ScrollBars.None; this.txtPwd1.SelectionLength = 0; this.txtPwd1.SelectionStart = 0; this.txtPwd1.Size = new Size(208, 23); this.txtPwd1.TabIndex = 1; this.txtPwd1.TextAlign = HorizontalAlignment.Left; this.txtPwd1.VIBlendTheme = VIBLEND_THEME.VISTABLUE; this.txtPwd2.BackColor = Color.White; this.txtPwd2.BoundsOffset = new Size(1, 1); this.txtPwd2.ControlBorderColor = Color.FromArgb(39, 39, 39); this.txtPwd2.DefaultText = ""; this.txtPwd2.Location = new Point(131, 78); this.txtPwd2.MaxLength = 32; this.txtPwd2.Name = "txtPwd2"; this.txtPwd2.PasswordChar = '•'; this.txtPwd2.ScrollBars = ScrollBars.None; this.txtPwd2.SelectionLength = 0; this.txtPwd2.SelectionStart = 0; this.txtPwd2.Size = new Size(208, 23); this.txtPwd2.TabIndex = 3; this.txtPwd2.TextAlign = HorizontalAlignment.Left; this.txtPwd2.VIBlendTheme = VIBLEND_THEME.VISTABLUE; this.lbl_ConfirmPwd.Location = new Point(13, 83); this.lbl_ConfirmPwd.Name = "lbl_ConfirmPwd"; this.lbl_ConfirmPwd.Size = new Size(110, 13); this.lbl_ConfirmPwd.TabIndex = 2; this.lbl_ConfirmPwd.Text = "Retype Password"; this.btn_Cancel.AllowAnimations = true; this.btn_Cancel.BackColor = Color.Transparent; this.btn_Cancel.Location = new Point(239, 119); this.btn_Cancel.Name = "btn_Cancel"; this.btn_Cancel.RoundedCornersMask = 15; this.btn_Cancel.Size = new Size(100, 30); this.btn_Cancel.TabIndex = 5; this.btn_Cancel.Text = "Cancel"; this.btn_Cancel.UseVisualStyleBackColor = false; this.btn_Cancel.VIBlendTheme = VIBLEND_THEME.VISTABLUE; this.btn_Cancel.Click += new EventHandler(this.btn_Cancel_Click); this.btn_OK.AllowAnimations = true; this.btn_OK.BackColor = Color.Transparent; this.btn_OK.Location = new Point(133, 119); this.btn_OK.Name = "btn_OK"; this.btn_OK.RoundedCornersMask = 15; this.btn_OK.Size = new Size(100, 30); this.btn_OK.TabIndex = 4; this.btn_OK.Text = "OK"; this.btn_OK.UseVisualStyleBackColor = false; this.btn_OK.VIBlendTheme = VIBLEND_THEME.VISTABLUE; this.btn_OK.Click += new EventHandler(this.btn_OK_Click); base.AutoScaleDimensions = new SizeF(6f, 13f); base.AutoScaleMode = AutoScaleMode.Font; this.BackColor = Color.White; base.ClientSize = new Size(378, 161); base.Controls.Add(this.btn_OK); base.Controls.Add(this.btn_Cancel); base.Controls.Add(this.txtPwd2); base.Controls.Add(this.lbl_ConfirmPwd); base.Controls.Add(this.txtPwd1); base.Controls.Add(this.lbl_NewPwd); base.Controls.Add(this.HeaderPanel); base.FormBorderStyle = FormBorderStyle.None; base.Name = "PwdReset"; base.StartPosition = FormStartPosition.CenterParent; base.Load += new EventHandler(this.PwdReset_Load); base.Paint += new PaintEventHandler(this.PwdReset_Paint); ((ISupportInitialize)this.pictureBox1).EndInit(); this.HeaderPanel.ResumeLayout(false); this.HeaderPanel.PerformLayout(); base.ResumeLayout(false); }
private void InitializeComponent() { this.pageSetupDialog1 = new PageSetupDialog(); this.MainPanel = new Panel(); this.btn_ChangePIN = new vButton(); this.vTextBox_0 = new vTextBox(); this.lbl_OldPIN = new Label(); this.vTextBox_1 = new vTextBox(); this.lbl_NewPIN = new Label(); this.lblLine = new Label(); this.txtOldPwd = new vTextBox(); this.btn_ChangePwd = new vButton(); this.lbl_OldPassword = new Label(); this.txtPwd1 = new vTextBox(); this.txtPwd2 = new vTextBox(); this.lbl_RetypePwd = new Label(); this.lbl_NewPwd = new Label(); this.HeaderPanel = new Panel(); this.btnClose = new vButton(); this.lbl_ResetPwd = new Label(); this.PwdPic = new PictureBox(); this.MainPanel.SuspendLayout(); this.HeaderPanel.SuspendLayout(); ((ISupportInitialize)this.PwdPic).BeginInit(); base.SuspendLayout(); this.MainPanel.BorderStyle = BorderStyle.FixedSingle; this.MainPanel.Controls.Add(this.btn_ChangePIN); this.MainPanel.Controls.Add(this.vTextBox_0); this.MainPanel.Controls.Add(this.lbl_OldPIN); this.MainPanel.Controls.Add(this.vTextBox_1); this.MainPanel.Controls.Add(this.lbl_NewPIN); this.MainPanel.Controls.Add(this.lblLine); this.MainPanel.Controls.Add(this.txtOldPwd); this.MainPanel.Controls.Add(this.btn_ChangePwd); this.MainPanel.Controls.Add(this.lbl_OldPassword); this.MainPanel.Controls.Add(this.txtPwd1); this.MainPanel.Controls.Add(this.txtPwd2); this.MainPanel.Controls.Add(this.lbl_RetypePwd); this.MainPanel.Controls.Add(this.lbl_NewPwd); this.MainPanel.Dock = DockStyle.Fill; this.MainPanel.Location = new Point(0, 40); this.MainPanel.Name = "MainPanel"; this.MainPanel.Size = new Size(362, 246); this.MainPanel.TabIndex = 0; this.btn_ChangePIN.AllowAnimations = true; this.btn_ChangePIN.BackColor = Color.Transparent; this.btn_ChangePIN.Location = new Point(159, 199); this.btn_ChangePIN.Name = "btn_ChangePIN"; this.btn_ChangePIN.RoundedCornersMask = 15; this.btn_ChangePIN.Size = new Size(150, 30); this.btn_ChangePIN.TabIndex = 12; this.btn_ChangePIN.Text = "Change PIN"; this.btn_ChangePIN.UseVisualStyleBackColor = false; this.btn_ChangePIN.VIBlendTheme = VIBLEND_THEME.VISTABLUE; this.btn_ChangePIN.Click += new EventHandler(this.btn_ChangePIN_Click); this.vTextBox_0.BackColor = Color.White; this.vTextBox_0.BoundsOffset = new Size(1, 1); this.vTextBox_0.ControlBorderColor = Color.FromArgb(39, 39, 39); this.vTextBox_0.DefaultText = ""; this.vTextBox_0.Location = new Point(159, 141); this.vTextBox_0.MaxLength = 12; this.vTextBox_0.Name = "txtOldPIN"; this.vTextBox_0.PasswordChar = '\0'; this.vTextBox_0.ScrollBars = ScrollBars.None; this.vTextBox_0.SelectionLength = 0; this.vTextBox_0.SelectionStart = 0; this.vTextBox_0.Size = new Size(150, 23); this.vTextBox_0.TabIndex = 9; this.vTextBox_0.TextAlign = HorizontalAlignment.Left; this.vTextBox_0.VIBlendTheme = VIBLEND_THEME.VISTABLUE; this.lbl_OldPIN.AutoSize = true; this.lbl_OldPIN.Location = new Point(10, 146); this.lbl_OldPIN.Name = "lbl_OldPIN"; this.lbl_OldPIN.Size = new Size(44, 13); this.lbl_OldPIN.TabIndex = 8; this.lbl_OldPIN.Text = "Old PIN"; this.vTextBox_1.BackColor = Color.White; this.vTextBox_1.BoundsOffset = new Size(1, 1); this.vTextBox_1.ControlBorderColor = Color.FromArgb(39, 39, 39); this.vTextBox_1.DefaultText = ""; this.vTextBox_1.Location = new Point(159, 170); this.vTextBox_1.MaxLength = 12; this.vTextBox_1.Name = "txtNewPIN"; this.vTextBox_1.PasswordChar = '\0'; this.vTextBox_1.ScrollBars = ScrollBars.None; this.vTextBox_1.SelectionLength = 0; this.vTextBox_1.SelectionStart = 0; this.vTextBox_1.Size = new Size(150, 23); this.vTextBox_1.TabIndex = 11; this.vTextBox_1.TextAlign = HorizontalAlignment.Left; this.vTextBox_1.VIBlendTheme = VIBLEND_THEME.VISTABLUE; this.lbl_NewPIN.AutoSize = true; this.lbl_NewPIN.Location = new Point(10, 175); this.lbl_NewPIN.Name = "lbl_NewPIN"; this.lbl_NewPIN.Size = new Size(50, 13); this.lbl_NewPIN.TabIndex = 10; this.lbl_NewPIN.Text = "New PIN"; this.lblLine.BackColor = Color.Gray; this.lblLine.Location = new Point(6, 131); this.lblLine.Name = "lblLine"; this.lblLine.Size = new Size(343, 1); this.lblLine.TabIndex = 7; this.txtOldPwd.BackColor = Color.White; this.txtOldPwd.BoundsOffset = new Size(1, 1); this.txtOldPwd.ControlBorderColor = Color.FromArgb(39, 39, 39); this.txtOldPwd.DefaultText = ""; this.txtOldPwd.Location = new Point(159, 5); this.txtOldPwd.MaxLength = 32; this.txtOldPwd.Name = "txtOldPwd"; this.txtOldPwd.PasswordChar = '•'; this.txtOldPwd.ScrollBars = ScrollBars.None; this.txtOldPwd.SelectionLength = 0; this.txtOldPwd.SelectionStart = 0; this.txtOldPwd.Size = new Size(150, 23); this.txtOldPwd.TabIndex = 1; this.txtOldPwd.TextAlign = HorizontalAlignment.Left; this.txtOldPwd.VIBlendTheme = VIBLEND_THEME.VISTABLUE; this.btn_ChangePwd.AllowAnimations = true; this.btn_ChangePwd.BackColor = Color.Transparent; this.btn_ChangePwd.Location = new Point(159, 93); this.btn_ChangePwd.Name = "btn_ChangePwd"; this.btn_ChangePwd.RoundedCornersMask = 15; this.btn_ChangePwd.Size = new Size(150, 30); this.btn_ChangePwd.TabIndex = 6; this.btn_ChangePwd.Text = "Change Password"; this.btn_ChangePwd.UseVisualStyleBackColor = false; this.btn_ChangePwd.VIBlendTheme = VIBLEND_THEME.VISTABLUE; this.btn_ChangePwd.Click += new EventHandler(this.btn_ChangePwd_Click); this.lbl_OldPassword.AutoSize = true; this.lbl_OldPassword.Location = new Point(10, 10); this.lbl_OldPassword.Name = "lbl_OldPassword"; this.lbl_OldPassword.Size = new Size(72, 13); this.lbl_OldPassword.TabIndex = 0; this.lbl_OldPassword.Text = "Old Password"; this.txtPwd1.BackColor = Color.White; this.txtPwd1.BoundsOffset = new Size(1, 1); this.txtPwd1.ControlBorderColor = Color.FromArgb(39, 39, 39); this.txtPwd1.DefaultText = ""; this.txtPwd1.Location = new Point(159, 34); this.txtPwd1.MaxLength = 32; this.txtPwd1.Name = "txtPwd1"; this.txtPwd1.PasswordChar = '•'; this.txtPwd1.ScrollBars = ScrollBars.None; this.txtPwd1.SelectionLength = 0; this.txtPwd1.SelectionStart = 0; this.txtPwd1.Size = new Size(150, 23); this.txtPwd1.TabIndex = 3; this.txtPwd1.TextAlign = HorizontalAlignment.Left; this.txtPwd1.VIBlendTheme = VIBLEND_THEME.VISTABLUE; this.txtPwd2.BackColor = Color.White; this.txtPwd2.BoundsOffset = new Size(1, 1); this.txtPwd2.ControlBorderColor = Color.FromArgb(39, 39, 39); this.txtPwd2.DefaultText = ""; this.txtPwd2.Location = new Point(159, 63); this.txtPwd2.MaxLength = 32; this.txtPwd2.Name = "txtPwd2"; this.txtPwd2.PasswordChar = '•'; this.txtPwd2.ScrollBars = ScrollBars.None; this.txtPwd2.SelectionLength = 0; this.txtPwd2.SelectionStart = 0; this.txtPwd2.Size = new Size(150, 23); this.txtPwd2.TabIndex = 5; this.txtPwd2.TextAlign = HorizontalAlignment.Left; this.txtPwd2.VIBlendTheme = VIBLEND_THEME.VISTABLUE; this.lbl_RetypePwd.AutoSize = true; this.lbl_RetypePwd.Location = new Point(10, 68); this.lbl_RetypePwd.Name = "lbl_RetypePwd"; this.lbl_RetypePwd.Size = new Size(115, 13); this.lbl_RetypePwd.TabIndex = 4; this.lbl_RetypePwd.Text = "Retype New Password"; this.lbl_NewPwd.AutoSize = true; this.lbl_NewPwd.Location = new Point(10, 39); this.lbl_NewPwd.Name = "lbl_NewPwd"; this.lbl_NewPwd.Size = new Size(78, 13); this.lbl_NewPwd.TabIndex = 2; this.lbl_NewPwd.Text = "New Password"; 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_ResetPwd); this.HeaderPanel.Controls.Add(this.PwdPic); this.HeaderPanel.Dock = DockStyle.Top; this.HeaderPanel.Location = new Point(0, 0); this.HeaderPanel.Name = "HeaderPanel"; this.HeaderPanel.Size = new Size(362, 40); 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 = Resources.close; this.btnClose.Location = new Point(315, 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(47, 40); this.btnClose.TabIndex = 0; this.btnClose.UseVisualStyleBackColor = false; this.btnClose.VIBlendTheme = VIBLEND_THEME.VISTABLUE; this.btnClose.Click += new EventHandler(this.btnClose_Click); this.lbl_ResetPwd.AutoSize = true; this.lbl_ResetPwd.BackColor = Color.Transparent; this.lbl_ResetPwd.Font = new Font("Microsoft Sans Serif", 9.75f, FontStyle.Bold, GraphicsUnit.Point, 0); this.lbl_ResetPwd.ForeColor = Color.White; this.lbl_ResetPwd.Location = new Point(49, 6); this.lbl_ResetPwd.Name = "lbl_ResetPwd"; this.lbl_ResetPwd.Size = new Size(150, 16); this.lbl_ResetPwd.TabIndex = 0; this.lbl_ResetPwd.Text = "RESET PASSWORD"; this.lbl_ResetPwd.TextAlign = ContentAlignment.MiddleLeft; this.lbl_ResetPwd.MouseDown += new MouseEventHandler(this.lbl_ResetPwd_MouseDown); this.PwdPic.BackColor = Color.Transparent; this.PwdPic.BackgroundImage = Resources.Password; this.PwdPic.Location = new Point(7, 4); this.PwdPic.Margin = new Padding(0); this.PwdPic.Name = "PwdPic"; this.PwdPic.Size = new Size(32, 32); this.PwdPic.SizeMode = PictureBoxSizeMode.CenterImage; this.PwdPic.TabIndex = 0; this.PwdPic.TabStop = false; this.PwdPic.MouseDown += new MouseEventHandler(this.PwdPic_MouseDown); base.AutoScaleDimensions = new SizeF(6f, 13f); base.AutoScaleMode = AutoScaleMode.Font; this.BackColor = Color.White; base.ClientSize = new Size(362, 286); base.Controls.Add(this.MainPanel); base.Controls.Add(this.HeaderPanel); base.FormBorderStyle = FormBorderStyle.None; base.Name = "PwdForm"; base.StartPosition = FormStartPosition.CenterParent; base.Load += new EventHandler(this.PwdForm_Load); this.MainPanel.ResumeLayout(false); this.MainPanel.PerformLayout(); this.HeaderPanel.ResumeLayout(false); this.HeaderPanel.PerformLayout(); ((ISupportInitialize)this.PwdPic).EndInit(); base.ResumeLayout(false); }
private void InitializeComponent() { this.FormPanel = new Panel(); this.chk_SaveSegments = new vCheckBox(); this.btnMOV = new vRadioButton(); this.btnAVI = new vRadioButton(); this.btnMP4 = new vRadioButton(); this.vListBox = new vListBox(); this.pictureBox1 = new PictureBox(); this.lblPath = new Label(); this.lbl_VideoFormat = new Label(); this.btn_Close = new vButton(); this.btn_Merge = new vButton(); this.txtName = new vTextBox(); this.lbl_VideoName = new Label(); this.HeaderPanel = new Panel(); this.lbl_MergeTags = new Label(); this.FormPanel.SuspendLayout(); this.vListBox.SuspendLayout(); ((ISupportInitialize)this.pictureBox1).BeginInit(); this.HeaderPanel.SuspendLayout(); base.SuspendLayout(); this.FormPanel.BorderStyle = BorderStyle.FixedSingle; this.FormPanel.Controls.Add(this.chk_SaveSegments); this.FormPanel.Controls.Add(this.btnMOV); this.FormPanel.Controls.Add(this.btnAVI); this.FormPanel.Controls.Add(this.btnMP4); this.FormPanel.Controls.Add(this.vListBox); this.FormPanel.Controls.Add(this.lblPath); this.FormPanel.Controls.Add(this.lbl_VideoFormat); this.FormPanel.Controls.Add(this.btn_Close); this.FormPanel.Controls.Add(this.btn_Merge); this.FormPanel.Controls.Add(this.txtName); this.FormPanel.Controls.Add(this.lbl_VideoName); this.FormPanel.Controls.Add(this.HeaderPanel); this.FormPanel.Dock = DockStyle.Fill; this.FormPanel.Location = new Point(0, 0); this.FormPanel.Name = "FormPanel"; this.FormPanel.Size = new Size(537, 376); this.FormPanel.TabIndex = 0; this.chk_SaveSegments.BackColor = Color.Transparent; this.chk_SaveSegments.Location = new Point(159, 135); this.chk_SaveSegments.Name = "chk_SaveSegments"; this.chk_SaveSegments.Size = new Size(213, 24); this.chk_SaveSegments.TabIndex = 15; this.chk_SaveSegments.Text = "Save Video Mark Segments"; this.chk_SaveSegments.UseVisualStyleBackColor = false; this.chk_SaveSegments.VIBlendTheme = VIBLEND_THEME.VISTABLUE; this.btnMOV.BackColor = Color.Transparent; this.btnMOV.Flat = true; this.btnMOV.Image = null; this.btnMOV.Location = new Point(289, 104); this.btnMOV.Name = "btnMOV"; this.btnMOV.Size = new Size(59, 24); this.btnMOV.TabIndex = 14; this.btnMOV.Text = "MOV"; this.btnMOV.UseVisualStyleBackColor = false; this.btnMOV.VIBlendTheme = VIBLEND_THEME.VISTABLUE; this.btnAVI.BackColor = Color.Transparent; this.btnAVI.Flat = true; this.btnAVI.Image = null; this.btnAVI.Location = new Point(224, 104); this.btnAVI.Name = "btnAVI"; this.btnAVI.Size = new Size(59, 24); this.btnAVI.TabIndex = 13; this.btnAVI.Text = "AVI"; this.btnAVI.UseVisualStyleBackColor = false; this.btnAVI.VIBlendTheme = VIBLEND_THEME.VISTABLUE; this.btnMP4.BackColor = Color.Transparent; this.btnMP4.Checked = true; this.btnMP4.Flat = true; this.btnMP4.Image = null; this.btnMP4.Location = new Point(159, 104); this.btnMP4.Name = "btnMP4"; this.btnMP4.Size = new Size(59, 24); this.btnMP4.TabIndex = 12; this.btnMP4.TabStop = true; this.btnMP4.Text = "MP4"; this.btnMP4.UseVisualStyleBackColor = false; this.btnMP4.VIBlendTheme = VIBLEND_THEME.VISTABLUE; this.vListBox.Controls.Add(this.pictureBox1); this.vListBox.Location = new Point(15, 166); this.vListBox.Name = "vListBox"; this.vListBox.RoundedCornersMaskListItem = 15; this.vListBox.SelectionMode = SelectionMode.None; this.vListBox.Size = new Size(509, 197); this.vListBox.TabIndex = 11; this.vListBox.VIBlendScrollBarsTheme = VIBLEND_THEME.OFFICE2010SILVER; this.vListBox.VIBlendTheme = VIBLEND_THEME.OFFICE2010SILVER; this.pictureBox1.Image = Properties.Resources.hbscreen_e0; this.pictureBox1.Location = new Point(450, 2); this.pictureBox1.Name = "pictureBox1"; this.pictureBox1.Size = new Size(42, 30); this.pictureBox1.SizeMode = PictureBoxSizeMode.CenterImage; this.pictureBox1.TabIndex = 15; this.pictureBox1.TabStop = false; this.pictureBox1.Visible = false; this.lblPath.AutoEllipsis = true; this.lblPath.Location = new Point(159, 53); this.lblPath.Name = "lblPath"; this.lblPath.Size = new Size(213, 13); this.lblPath.TabIndex = 10; this.lblPath.Text = "Video Path"; this.lbl_VideoFormat.AutoSize = true; this.lbl_VideoFormat.Location = new Point(12, 110); this.lbl_VideoFormat.Name = "lbl_VideoFormat"; this.lbl_VideoFormat.Size = new Size(69, 13); this.lbl_VideoFormat.TabIndex = 8; this.lbl_VideoFormat.Text = "Video Format"; this.btn_Close.AllowAnimations = true; this.btn_Close.BackColor = Color.Transparent; this.btn_Close.Location = new Point(394, 98); this.btn_Close.Name = "btn_Close"; this.btn_Close.RoundedCornersMask = 15; this.btn_Close.RoundedCornersRadius = 0; this.btn_Close.Size = new Size(130, 30); this.btn_Close.TabIndex = 7; this.btn_Close.Text = "Close"; this.btn_Close.UseVisualStyleBackColor = false; this.btn_Close.VIBlendTheme = VIBLEND_THEME.VISTABLUE; this.btn_Close.Click += new EventHandler(this.btn_Close_Click); this.btn_Merge.AllowAnimations = true; this.btn_Merge.BackColor = Color.Transparent; this.btn_Merge.Location = new Point(394, 62); this.btn_Merge.Name = "btn_Merge"; this.btn_Merge.RoundedCornersMask = 15; this.btn_Merge.RoundedCornersRadius = 0; this.btn_Merge.Size = new Size(130, 30); this.btn_Merge.TabIndex = 6; this.btn_Merge.Text = "Merge Video"; this.btn_Merge.UseVisualStyleBackColor = false; this.btn_Merge.VIBlendTheme = VIBLEND_THEME.VISTABLUE; this.btn_Merge.Click += new EventHandler(this.btn_Merge_Click); this.txtName.BackColor = Color.White; this.txtName.BoundsOffset = new Size(1, 1); this.txtName.ControlBorderColor = Color.FromArgb(39, 39, 39); this.txtName.DefaultText = ""; this.txtName.Location = new Point(159, 75); this.txtName.MaxLength = 64; this.txtName.Name = "txtName"; this.txtName.PasswordChar = '\0'; this.txtName.ScrollBars = ScrollBars.None; this.txtName.SelectionLength = 0; this.txtName.SelectionStart = 0; this.txtName.Size = new Size(213, 23); this.txtName.TabIndex = 2; this.txtName.TextAlign = HorizontalAlignment.Left; this.txtName.VIBlendTheme = VIBLEND_THEME.VISTABLUE; this.lbl_VideoName.AutoSize = true; this.lbl_VideoName.Location = new Point(12, 80); this.lbl_VideoName.Name = "lbl_VideoName"; this.lbl_VideoName.Size = new Size(84, 13); this.lbl_VideoName.TabIndex = 1; this.lbl_VideoName.Text = "Video File Name"; this.HeaderPanel.BackColor = Color.FromArgb(64, 64, 64); this.HeaderPanel.BackgroundImageLayout = ImageLayout.Stretch; this.HeaderPanel.Controls.Add(this.lbl_MergeTags); this.HeaderPanel.Dock = DockStyle.Top; this.HeaderPanel.Location = new Point(0, 0); this.HeaderPanel.Name = "HeaderPanel"; this.HeaderPanel.Size = new Size(535, 40); this.HeaderPanel.TabIndex = 0; this.HeaderPanel.MouseDown += new MouseEventHandler(this.HeaderPanel_MouseDown); this.lbl_MergeTags.AutoSize = true; this.lbl_MergeTags.Font = new Font("Microsoft Sans Serif", 12f, FontStyle.Bold, GraphicsUnit.Point, 0); this.lbl_MergeTags.ForeColor = Color.White; this.lbl_MergeTags.Location = new Point(11, 8); this.lbl_MergeTags.Name = "lbl_MergeTags"; this.lbl_MergeTags.Size = new Size(202, 20); this.lbl_MergeTags.TabIndex = 0; this.lbl_MergeTags.Text = "MERGE VIDEO MARKS"; this.lbl_MergeTags.MouseDown += new MouseEventHandler(this.lbl_MergeTags_MouseDown); base.AutoScaleDimensions = new SizeF(6f, 13f); base.AutoScaleMode = AutoScaleMode.Font; this.BackColor = Color.White; base.ClientSize = new Size(537, 376); base.Controls.Add(this.FormPanel); base.FormBorderStyle = FormBorderStyle.None; base.Name = "MergeVideo"; base.StartPosition = FormStartPosition.CenterParent; this.Text = "MergeVideo"; base.Load += new EventHandler(this.MergeVideo_Load); this.FormPanel.ResumeLayout(false); this.FormPanel.PerformLayout(); this.vListBox.ResumeLayout(false); ((ISupportInitialize)this.pictureBox1).EndInit(); this.HeaderPanel.ResumeLayout(false); this.HeaderPanel.PerformLayout(); base.ResumeLayout(false); }
private void InitializeComponent() { components = new Container(); ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(AcctCtrl)); this.vTree = new vTreeView(); this.TreeMenu = new ContextMenuStrip(this.components); this.mnu_RefreshDeptTree = new ToolStripMenuItem(); this.mnu_ShowTreeLines = new ToolStripMenuItem(); this.mnu_ClearAccountList = new ToolStripMenuItem(); this.TreeImages = new ImageList(this.components); this.SearchPanel = new Panel(); this.btn_ResetList = new vButton(); this.btn_Find = new vButton(); this.txtLastName = new vTextBox(); this.lbl_LastName = new Label(); this.txtBadgeNumber = new vTextBox(); this.lbl_BadgeNumber = new Label(); this.vAcctList = new vListBox(); this.AcctImages = new ImageList(this.components); this.TreeMenu.SuspendLayout(); this.SearchPanel.SuspendLayout(); this.SuspendLayout(); this.vTree.AccessibleName = "TreeView"; this.vTree.AccessibleRole = AccessibleRole.List; this.vTree.BorderColor = Color.White; this.vTree.ContextMenuStrip = this.TreeMenu; this.vTree.Dock = DockStyle.Left; this.vTree.ImageList = this.TreeImages; this.vTree.Location = new Point(0, 0); this.vTree.Name = "vTree"; this.vTree.ScrollPosition = new Point(0, 0); this.vTree.SelectedNode = (vTreeNode)null; this.vTree.Size = new Size(189, 402); this.vTree.TabIndex = 0; this.vTree.Text = "vTreeView1"; this.vTree.UseThemeBackColor = false; this.vTree.UseThemeBorderColor = false; this.vTree.VIBlendScrollBarsTheme = VIBLEND_THEME.OFFICE2010SILVER; this.vTree.VIBlendTheme = VIBLEND_THEME.OFFICE2010SILVER; this.vTree.NodeMouseUp += new vTreeViewMouseEventHandler(this.vTree_NodeMouseUp); this.TreeMenu.Items.AddRange(new ToolStripItem[3] { (ToolStripItem)this.mnu_RefreshDeptTree, (ToolStripItem)this.mnu_ShowTreeLines, (ToolStripItem)this.mnu_ClearAccountList }); this.TreeMenu.Name = "TreeMenu"; this.TreeMenu.Size = new Size(171, 70); this.mnu_RefreshDeptTree.Name = "mnu_RefreshDeptTree"; this.mnu_RefreshDeptTree.Size = new Size(170, 22); this.mnu_RefreshDeptTree.Text = "Refresh"; this.mnu_RefreshDeptTree.Click += new EventHandler(this.mnu_RefreshDeptTree_Click); this.mnu_ShowTreeLines.Name = "mnu_ShowTreeLines"; this.mnu_ShowTreeLines.Size = new Size(170, 22); this.mnu_ShowTreeLines.Text = "Show Lines"; this.mnu_ShowTreeLines.Click += new EventHandler(this.mnu_ShowTreeLines_Click); this.mnu_ClearAccountList.Name = "mnu_ClearAccountList"; this.mnu_ClearAccountList.Size = new Size(170, 22); this.mnu_ClearAccountList.Text = "Clear Account List"; this.mnu_ClearAccountList.Click += new EventHandler(this.mnu_ClearAccountList_Click); this.TreeImages.ImageStream = (ImageListStreamer)Resources.AcctCtrl.TreeImages_ImageStream; this.TreeImages.TransparentColor = Color.Transparent; this.TreeImages.Images.SetKeyName(0, "global.png"); this.TreeImages.Images.SetKeyName(1, "dept1.png"); this.TreeImages.Images.SetKeyName(2, "substation.png"); this.TreeImages.Images.SetKeyName(3, "unassigned.png"); this.SearchPanel.Controls.Add((Control)this.btn_ResetList); this.SearchPanel.Controls.Add((Control)this.btn_Find); this.SearchPanel.Controls.Add((Control)this.txtLastName); this.SearchPanel.Controls.Add((Control)this.lbl_LastName); this.SearchPanel.Controls.Add((Control)this.txtBadgeNumber); this.SearchPanel.Controls.Add((Control)this.lbl_BadgeNumber); this.SearchPanel.Dock = DockStyle.Top; this.SearchPanel.Location = new Point(189, 0); this.SearchPanel.Name = "SearchPanel"; this.SearchPanel.Size = new Size(250, 100); this.SearchPanel.TabIndex = 1; this.btn_ResetList.AllowAnimations = true; this.btn_ResetList.BackColor = Color.Transparent; this.btn_ResetList.Location = new Point(10, 67); this.btn_ResetList.Name = "btn_ResetList"; this.btn_ResetList.RoundedCornersMask = (byte)15; this.btn_ResetList.RoundedCornersRadius = 0; this.btn_ResetList.Size = new Size(106, 24); this.btn_ResetList.TabIndex = 5; this.btn_ResetList.Text = "Reset List"; this.btn_ResetList.UseVisualStyleBackColor = false; this.btn_ResetList.VIBlendTheme = VIBLEND_THEME.VISTABLUE; this.btn_ResetList.Click += new EventHandler(this.btn_ResetList_Click); this.btn_Find.AllowAnimations = true; this.btn_Find.BackColor = Color.Transparent; this.btn_Find.Image = (Image)Properties.Resources.search; this.btn_Find.ImageAlign = ContentAlignment.MiddleLeft; this.btn_Find.Location = new Point(122, 67); this.btn_Find.Name = "btn_Find"; this.btn_Find.RoundedCornersMask = (byte)15; this.btn_Find.RoundedCornersRadius = 0; this.btn_Find.Size = new Size(116, 24); this.btn_Find.TabIndex = 4; this.btn_Find.Text = "Find"; this.btn_Find.UseVisualStyleBackColor = false; this.btn_Find.VIBlendTheme = VIBLEND_THEME.VISTABLUE; this.btn_Find.Click += new EventHandler(this.btn_Find_Click); this.txtLastName.BackColor = Color.White; this.txtLastName.BoundsOffset = new Size(1, 1); this.txtLastName.ControlBorderColor = Color.FromArgb(39, 39, 39); this.txtLastName.DefaultText = ""; this.txtLastName.Location = new Point(122, 37); this.txtLastName.MaxLength = 32; this.txtLastName.Name = "txtLastName"; this.txtLastName.PasswordChar = char.MinValue; this.txtLastName.ScrollBars = ScrollBars.None; this.txtLastName.SelectionLength = 0; this.txtLastName.SelectionStart = 0; this.txtLastName.Size = new Size(116, 23); this.txtLastName.TabIndex = 3; this.txtLastName.TextAlign = HorizontalAlignment.Left; this.txtLastName.VIBlendTheme = VIBLEND_THEME.VISTABLUE; this.lbl_LastName.Location = new Point(7, 42); this.lbl_LastName.Name = "lbl_LastName"; this.lbl_LastName.Size = new Size(110, 13); this.lbl_LastName.TabIndex = 2; this.lbl_LastName.Text = "Last Name"; this.txtBadgeNumber.BackColor = Color.White; this.txtBadgeNumber.BoundsOffset = new Size(1, 1); this.txtBadgeNumber.ControlBorderColor = Color.FromArgb(39, 39, 39); this.txtBadgeNumber.DefaultText = ""; this.txtBadgeNumber.Location = new Point(122, 8); this.txtBadgeNumber.MaxLength = 12; this.txtBadgeNumber.Name = "txtBadgeNumber"; this.txtBadgeNumber.PasswordChar = char.MinValue; this.txtBadgeNumber.ScrollBars = ScrollBars.None; this.txtBadgeNumber.SelectionLength = 0; this.txtBadgeNumber.SelectionStart = 0; this.txtBadgeNumber.Size = new Size(116, 23); this.txtBadgeNumber.TabIndex = 1; this.txtBadgeNumber.TextAlign = HorizontalAlignment.Left; this.txtBadgeNumber.VIBlendTheme = VIBLEND_THEME.VISTABLUE; this.lbl_BadgeNumber.Location = new Point(7, 13); this.lbl_BadgeNumber.Name = "lbl_BadgeNumber"; this.lbl_BadgeNumber.Size = new Size(110, 13); this.lbl_BadgeNumber.TabIndex = 0; this.lbl_BadgeNumber.Text = "Badge Number"; this.vAcctList.BorderColor = Color.White; this.vAcctList.Dock = DockStyle.Fill; this.vAcctList.ImageList = this.AcctImages; this.vAcctList.ItemHeight = 24; this.vAcctList.Location = new Point(189, 100); this.vAcctList.Name = "vAcctList"; this.vAcctList.RoundedCornersMaskListItem = (byte)15; this.vAcctList.Size = new Size(250, 302); this.vAcctList.TabIndex = 2; this.vAcctList.VIBlendScrollBarsTheme = VIBLEND_THEME.OFFICE2010SILVER; this.vAcctList.VIBlendTheme = VIBLEND_THEME.OFFICE2010SILVER; this.vAcctList.SelectedItemChanged += new EventHandler(this.vAcctList_SelectedItemChanged); this.vAcctList.DoubleClick += new EventHandler(this.vAcctList_DoubleClick); this.AcctImages.ImageStream = (ImageListStreamer)Resources.AcctCtrl.AcctImages_ImageStream; this.AcctImages.TransparentColor = Color.Transparent; this.AcctImages.Images.SetKeyName(0, "people.png"); this.AutoScaleDimensions = new SizeF(6f, 13f); this.AutoScaleMode = AutoScaleMode.Font; this.BackColor = Color.White; this.Controls.Add((Control)this.vAcctList); this.Controls.Add((Control)this.SearchPanel); this.Controls.Add((Control)this.vTree); this.Name = "AcctCtrl"; this.Size = new Size(439, 402); this.Load += new EventHandler(this.AcctCtrl_Load); this.Resize += new EventHandler(this.AcctCtrl_Resize); this.TreeMenu.ResumeLayout(false); this.SearchPanel.ResumeLayout(false); this.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.pictureBox1 = new PictureBox(); this.HeaderPanel = new Panel(); this.label1 = new Label(); this.groupBox2 = new GroupBox(); this.chk_LocalDB = new vCheckBox(); this.DBPanel = new Panel(); this.chk_Security = new vCheckBox(); this.Catalog = new vTextBox(); this.label3 = new Label(); this.Pwd2 = new vTextBox(); this.UserID = new vTextBox(); this.label5 = new Label(); this.label11 = new Label(); this.label12 = new Label(); this.label4 = new Label(); this.Pwd1 = new vTextBox(); this.DataSource = new vTextBox(); this.btn_Save = new vButton(); this.btn_Test = new vButton(); this.btnClose = new vButton(); ((ISupportInitialize)this.pictureBox1).BeginInit(); this.HeaderPanel.SuspendLayout(); this.groupBox2.SuspendLayout(); this.DBPanel.SuspendLayout(); base.SuspendLayout(); this.pictureBox1.BackColor = Color.Transparent; this.pictureBox1.Image = Properties.Resources.Database; this.pictureBox1.Location = new Point(3, 1); this.pictureBox1.Name = "pictureBox1"; this.pictureBox1.Size = new Size(50, 50); this.pictureBox1.SizeMode = PictureBoxSizeMode.CenterImage; this.pictureBox1.TabIndex = 1; this.pictureBox1.TabStop = false; this.pictureBox1.MouseDown += new MouseEventHandler(this.pictureBox1_MouseDown); this.HeaderPanel.BackgroundImage = Properties.Resources.header; this.HeaderPanel.Controls.Add(this.btnClose); this.HeaderPanel.Controls.Add(this.label1); 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(372, 54); this.HeaderPanel.TabIndex = 0; this.HeaderPanel.MouseDown += new MouseEventHandler(this.HeaderPanel_MouseDown); this.label1.AutoSize = true; this.label1.BackColor = Color.Transparent; this.label1.Font = new Font("Microsoft Sans Serif", 9.75f, FontStyle.Regular, GraphicsUnit.Point, 0); this.label1.ForeColor = Color.White; this.label1.Location = new Point(60, 4); this.label1.Name = "label1"; this.label1.Size = new Size(189, 16); this.label1.TabIndex = 2; this.label1.Text = "C3 Sentinel Database Connection"; this.label1.MouseDown += new MouseEventHandler(this.label1_MouseDown); this.groupBox2.Controls.Add(this.chk_LocalDB); this.groupBox2.Controls.Add(this.DBPanel); this.groupBox2.Location = new Point(9, 62); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new Size(355, 228); this.groupBox2.TabIndex = 6; this.groupBox2.TabStop = false; this.groupBox2.Text = "Database"; this.chk_LocalDB.BackColor = Color.Transparent; this.chk_LocalDB.Location = new Point(128, 11); this.chk_LocalDB.Name = "chk_LocalDB"; this.chk_LocalDB.Size = new Size(205, 24); this.chk_LocalDB.TabIndex = 0; this.chk_LocalDB.Text = "Local Database"; this.chk_LocalDB.UseVisualStyleBackColor = false; this.chk_LocalDB.VIBlendTheme = VIBLEND_THEME.VISTABLUE; this.chk_LocalDB.CheckedChanged += new EventHandler(this.chk_LocalDB_CheckedChanged); this.DBPanel.Controls.Add(this.chk_Security); this.DBPanel.Controls.Add(this.Catalog); this.DBPanel.Controls.Add(this.label3); this.DBPanel.Controls.Add(this.Pwd2); this.DBPanel.Controls.Add(this.UserID); this.DBPanel.Controls.Add(this.label5); this.DBPanel.Controls.Add(this.label11); this.DBPanel.Controls.Add(this.label12); this.DBPanel.Controls.Add(this.label4); this.DBPanel.Controls.Add(this.Pwd1); this.DBPanel.Controls.Add(this.DataSource); this.DBPanel.Location = new Point(5, 39); this.DBPanel.Name = "DBPanel"; this.DBPanel.Size = new Size(345, 184); this.DBPanel.TabIndex = 0; this.chk_Security.BackColor = Color.Transparent; this.chk_Security.Checked = true; this.chk_Security.CheckState = CheckState.Checked; this.chk_Security.Location = new Point(124, 151); this.chk_Security.Name = "chk_Security"; this.chk_Security.Size = new Size(205, 24); this.chk_Security.TabIndex = 9; this.chk_Security.Text = "Persist Security Information"; this.chk_Security.UseVisualStyleBackColor = false; this.chk_Security.VIBlendTheme = VIBLEND_THEME.VISTABLUE; this.Catalog.BackColor = Color.White; this.Catalog.BoundsOffset = new Size(1, 1); this.Catalog.ControlBorderColor = Color.FromArgb(39, 39, 39); this.Catalog.DefaultText = ""; this.Catalog.Location = new Point(124, 34); this.Catalog.MaxLength = 128; this.Catalog.Name = "Catalog"; this.Catalog.PasswordChar = '\0'; this.Catalog.ScrollBars = ScrollBars.None; this.Catalog.SelectionLength = 0; this.Catalog.SelectionStart = 0; this.Catalog.Size = new Size(205, 23); this.Catalog.TabIndex = 3; this.Catalog.TextAlign = HorizontalAlignment.Left; this.Catalog.VIBlendTheme = VIBLEND_THEME.VISTABLUE; this.label3.AutoSize = true; this.label3.Location = new Point(3, 10); this.label3.Name = "label3"; this.label3.Size = new Size(87, 13); this.label3.TabIndex = 0; this.label3.Text = "Database Server"; this.Pwd2.BackColor = Color.White; this.Pwd2.BoundsOffset = new Size(1, 1); this.Pwd2.ControlBorderColor = Color.FromArgb(39, 39, 39); this.Pwd2.DefaultText = ""; this.Pwd2.Location = new Point(124, 121); this.Pwd2.MaxLength = 128; this.Pwd2.Name = "Pwd2"; this.Pwd2.PasswordChar = '•'; this.Pwd2.ScrollBars = ScrollBars.None; this.Pwd2.SelectionLength = 0; this.Pwd2.SelectionStart = 0; this.Pwd2.Size = new Size(205, 23); this.Pwd2.TabIndex = 8; this.Pwd2.TextAlign = HorizontalAlignment.Left; this.Pwd2.VIBlendTheme = VIBLEND_THEME.VISTABLUE; this.UserID.BackColor = Color.White; this.UserID.BoundsOffset = new Size(1, 1); this.UserID.ControlBorderColor = Color.FromArgb(39, 39, 39); this.UserID.DefaultText = ""; this.UserID.Location = new Point(124, 63); this.UserID.MaxLength = 128; this.UserID.Name = "UserID"; this.UserID.PasswordChar = '\0'; this.UserID.ScrollBars = ScrollBars.None; this.UserID.SelectionLength = 0; this.UserID.SelectionStart = 0; this.UserID.Size = new Size(205, 23); this.UserID.TabIndex = 4; this.UserID.TextAlign = HorizontalAlignment.Left; this.UserID.VIBlendTheme = VIBLEND_THEME.VISTABLUE; this.label5.AutoSize = true; this.label5.Location = new Point(3, 68); this.label5.Name = "label5"; this.label5.Size = new Size(64, 13); this.label5.TabIndex = 5; this.label5.Text = "Login Name"; this.label11.AutoSize = true; this.label11.Location = new Point(3, 97); this.label11.Name = "label11"; this.label11.Size = new Size(53, 13); this.label11.TabIndex = 5; this.label11.Text = "Password"; this.label12.AutoSize = true; this.label12.Location = new Point(3, 126); this.label12.Name = "label12"; this.label12.Size = new Size(90, 13); this.label12.TabIndex = 7; this.label12.Text = "Retype Password"; this.label4.AutoSize = true; this.label4.Location = new Point(3, 39); this.label4.Name = "label4"; this.label4.Size = new Size(84, 13); this.label4.TabIndex = 2; this.label4.Text = "Database Name"; this.Pwd1.BackColor = Color.White; this.Pwd1.BoundsOffset = new Size(1, 1); this.Pwd1.ControlBorderColor = Color.FromArgb(39, 39, 39); this.Pwd1.DefaultText = ""; this.Pwd1.Location = new Point(124, 92); this.Pwd1.MaxLength = 128; this.Pwd1.Name = "Pwd1"; this.Pwd1.PasswordChar = '•'; this.Pwd1.ScrollBars = ScrollBars.None; this.Pwd1.SelectionLength = 0; this.Pwd1.SelectionStart = 0; this.Pwd1.Size = new Size(205, 23); this.Pwd1.TabIndex = 6; this.Pwd1.TextAlign = HorizontalAlignment.Left; this.Pwd1.VIBlendTheme = VIBLEND_THEME.VISTABLUE; this.DataSource.BackColor = Color.White; this.DataSource.BoundsOffset = new Size(1, 1); this.DataSource.ControlBorderColor = Color.FromArgb(39, 39, 39); this.DataSource.DefaultText = ""; this.DataSource.Location = new Point(124, 5); this.DataSource.MaxLength = 128; this.DataSource.Name = "DataSource"; this.DataSource.PasswordChar = '\0'; this.DataSource.ScrollBars = ScrollBars.None; this.DataSource.SelectionLength = 0; this.DataSource.SelectionStart = 0; this.DataSource.Size = new Size(205, 23); this.DataSource.TabIndex = 1; this.DataSource.TextAlign = HorizontalAlignment.Left; this.DataSource.VIBlendTheme = VIBLEND_THEME.VISTABLUE; this.btn_Save.AllowAnimations = true; this.btn_Save.BackColor = Color.Transparent; this.btn_Save.Location = new Point(259, 296); this.btn_Save.Name = "btn_Save"; this.btn_Save.RoundedCornersMask = 15; this.btn_Save.Size = new Size(100, 30); this.btn_Save.TabIndex = 7; 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.btn_Test.AllowAnimations = true; this.btn_Test.BackColor = Color.Transparent; this.btn_Test.Location = new Point(14, 296); this.btn_Test.Name = "btn_Test"; this.btn_Test.RoundedCornersMask = 15; this.btn_Test.Size = new Size(147, 30); this.btn_Test.TabIndex = 8; this.btn_Test.Text = "Test Connection"; this.btn_Test.UseVisualStyleBackColor = false; this.btn_Test.VIBlendTheme = VIBLEND_THEME.VISTABLUE; this.btn_Test.Click += new EventHandler(this.btn_Test_Click); this.btnClose.AllowAnimations = true; this.btnClose.BackColor = Color.Transparent; this.btnClose.Image = Properties.Resources.close; this.btnClose.Location = new Point(344, 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(28, 28); this.btnClose.TabIndex = 3; 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(372, 335); base.Controls.Add(this.btn_Test); base.Controls.Add(this.btn_Save); base.Controls.Add(this.groupBox2); base.Controls.Add(this.HeaderPanel); base.FormBorderStyle = FormBorderStyle.None; base.Name = "RegDB"; base.StartPosition = FormStartPosition.CenterScreen; this.Text = "RegDB"; base.Load += new EventHandler(this.RegDB_Load); base.Paint += new PaintEventHandler(this.RegDB_Paint); ((ISupportInitialize)this.pictureBox1).EndInit(); this.HeaderPanel.ResumeLayout(false); this.HeaderPanel.PerformLayout(); this.groupBox2.ResumeLayout(false); this.DBPanel.ResumeLayout(false); this.DBPanel.PerformLayout(); base.ResumeLayout(false); }
private void InitializeComponent() { this.HeaderPanel = new Panel(); this.lbl_SecureFile = new Label(); this.FormPanel = new Panel(); this.chk_ZipFile = new vCheckBox(); this.ZipPanel = new Panel(); this.chk_PwdProtect = new vCheckBox(); this.lbl_ZipFileName = new Label(); this.txtFileName = new vTextBox(); this.PwdPanel = new Panel(); this.txtPwd2 = new vTextBox(); this.lbl_ZipPwd2 = new Label(); this.txtPwd1 = new vTextBox(); this.lbl_ZipPwd1 = new Label(); this.lbl_Folder = new Label(); this.lblFilePath = new Label(); this.btn_Cancel = new vButton(); this.btn_OK = new vButton(); this.HeaderPanel.SuspendLayout(); this.FormPanel.SuspendLayout(); this.ZipPanel.SuspendLayout(); this.PwdPanel.SuspendLayout(); base.SuspendLayout(); this.HeaderPanel.BackColor = Color.FromArgb(64, 64, 64); this.HeaderPanel.Controls.Add(this.lbl_SecureFile); this.HeaderPanel.Dock = DockStyle.Top; this.HeaderPanel.Location = new Point(0, 0); this.HeaderPanel.Name = "HeaderPanel"; this.HeaderPanel.Size = new Size(360, 45); this.HeaderPanel.TabIndex = 0; this.HeaderPanel.MouseDown += new MouseEventHandler(this.HeaderPanel_MouseDown); this.lbl_SecureFile.AutoSize = true; this.lbl_SecureFile.Font = new Font("Verdana", 12f, FontStyle.Bold, GraphicsUnit.Point, 0); this.lbl_SecureFile.ForeColor = Color.White; this.lbl_SecureFile.Location = new Point(6, 11); this.lbl_SecureFile.Name = "lbl_SecureFile"; this.lbl_SecureFile.Size = new Size(158, 18); this.lbl_SecureFile.TabIndex = 4; this.lbl_SecureFile.Text = "SECURE EXPORT"; this.lbl_SecureFile.MouseDown += new MouseEventHandler(this.lbl_SecureFile_MouseDown); this.FormPanel.BorderStyle = BorderStyle.FixedSingle; this.FormPanel.Controls.Add(this.chk_ZipFile); this.FormPanel.Controls.Add(this.ZipPanel); this.FormPanel.Controls.Add(this.lbl_Folder); this.FormPanel.Controls.Add(this.lblFilePath); this.FormPanel.Controls.Add(this.btn_Cancel); this.FormPanel.Controls.Add(this.btn_OK); this.FormPanel.Dock = DockStyle.Fill; this.FormPanel.Location = new Point(0, 45); this.FormPanel.Name = "FormPanel"; this.FormPanel.Size = new Size(360, 235); this.FormPanel.TabIndex = 1; this.chk_ZipFile.BackColor = Color.Transparent; this.chk_ZipFile.Location = new Point(126, 26); this.chk_ZipFile.Name = "chk_ZipFile"; this.chk_ZipFile.Size = new Size(208, 24); this.chk_ZipFile.TabIndex = 9; this.chk_ZipFile.Text = "Export as Zip File"; this.chk_ZipFile.UseVisualStyleBackColor = false; this.chk_ZipFile.VIBlendTheme = VIBLEND_THEME.VISTABLUE; this.chk_ZipFile.CheckedChanged += new EventHandler(this.chk_ZipFile_CheckedChanged); this.ZipPanel.Controls.Add(this.chk_PwdProtect); this.ZipPanel.Controls.Add(this.lbl_ZipFileName); this.ZipPanel.Controls.Add(this.txtFileName); this.ZipPanel.Controls.Add(this.PwdPanel); this.ZipPanel.Enabled = false; this.ZipPanel.Location = new Point(8, 56); this.ZipPanel.Name = "ZipPanel"; this.ZipPanel.Size = new Size(337, 132); this.ZipPanel.TabIndex = 8; this.chk_PwdProtect.BackColor = Color.Transparent; this.chk_PwdProtect.Location = new Point(118, 33); this.chk_PwdProtect.Name = "chk_PwdProtect"; this.chk_PwdProtect.Size = new Size(222, 24); this.chk_PwdProtect.TabIndex = 2; this.chk_PwdProtect.Text = "Password Protect File"; this.chk_PwdProtect.UseVisualStyleBackColor = false; this.chk_PwdProtect.VIBlendTheme = VIBLEND_THEME.VISTABLUE; this.chk_PwdProtect.CheckedChanged += new EventHandler(this.chk_PwdProtect_CheckedChanged); this.lbl_ZipFileName.AutoSize = true; this.lbl_ZipFileName.Location = new Point(12, 9); this.lbl_ZipFileName.Name = "lbl_ZipFileName"; this.lbl_ZipFileName.Size = new Size(54, 13); this.lbl_ZipFileName.TabIndex = 0; this.lbl_ZipFileName.Text = "File Name"; this.txtFileName.BackColor = Color.White; this.txtFileName.BoundsOffset = new Size(1, 1); this.txtFileName.ControlBorderColor = Color.FromArgb(39, 39, 39); this.txtFileName.DefaultText = ""; this.txtFileName.Location = new Point(118, 4); this.txtFileName.MaxLength = 64; this.txtFileName.Name = "txtFileName"; this.txtFileName.PasswordChar = '\0'; this.txtFileName.ScrollBars = ScrollBars.None; this.txtFileName.SelectionLength = 0; this.txtFileName.SelectionStart = 0; this.txtFileName.Size = new Size(183, 23); this.txtFileName.TabIndex = 1; this.txtFileName.TextAlign = HorizontalAlignment.Left; this.txtFileName.VIBlendTheme = VIBLEND_THEME.VISTABLUE; this.PwdPanel.Controls.Add(this.txtPwd2); this.PwdPanel.Controls.Add(this.lbl_ZipPwd2); this.PwdPanel.Controls.Add(this.txtPwd1); this.PwdPanel.Controls.Add(this.lbl_ZipPwd1); this.PwdPanel.Enabled = false; this.PwdPanel.Location = new Point(0, 65); this.PwdPanel.Name = "PwdPanel"; this.PwdPanel.Size = new Size(326, 64); this.PwdPanel.TabIndex = 3; this.txtPwd2.BackColor = Color.White; this.txtPwd2.BoundsOffset = new Size(1, 1); this.txtPwd2.ControlBorderColor = Color.FromArgb(39, 39, 39); this.txtPwd2.DefaultText = ""; this.txtPwd2.Location = new Point(120, 32); this.txtPwd2.MaxLength = 64; this.txtPwd2.Name = "txtPwd2"; this.txtPwd2.PasswordChar = '•'; this.txtPwd2.ScrollBars = ScrollBars.None; this.txtPwd2.SelectionLength = 0; this.txtPwd2.SelectionStart = 0; this.txtPwd2.Size = new Size(183, 23); this.txtPwd2.TabIndex = 3; this.txtPwd2.TextAlign = HorizontalAlignment.Left; this.txtPwd2.VIBlendTheme = VIBLEND_THEME.VISTABLUE; this.lbl_ZipPwd2.AutoSize = true; this.lbl_ZipPwd2.Location = new Point(12, 37); this.lbl_ZipPwd2.Name = "lbl_ZipPwd2"; this.lbl_ZipPwd2.Size = new Size(98, 13); this.lbl_ZipPwd2.TabIndex = 3; this.lbl_ZipPwd2.Text = "Re-Enter Password"; this.txtPwd1.BackColor = Color.White; this.txtPwd1.BoundsOffset = new Size(1, 1); this.txtPwd1.ControlBorderColor = Color.FromArgb(39, 39, 39); this.txtPwd1.DefaultText = ""; this.txtPwd1.Location = new Point(120, 3); this.txtPwd1.MaxLength = 64; this.txtPwd1.Name = "txtPwd1"; this.txtPwd1.PasswordChar = '•'; this.txtPwd1.ScrollBars = ScrollBars.None; this.txtPwd1.SelectionLength = 0; this.txtPwd1.SelectionStart = 0; this.txtPwd1.Size = new Size(183, 23); this.txtPwd1.TabIndex = 2; this.txtPwd1.TextAlign = HorizontalAlignment.Left; this.txtPwd1.VIBlendTheme = VIBLEND_THEME.VISTABLUE; this.lbl_ZipPwd1.AutoSize = true; this.lbl_ZipPwd1.Location = new Point(12, 8); this.lbl_ZipPwd1.Name = "lbl_ZipPwd1"; this.lbl_ZipPwd1.Size = new Size(72, 13); this.lbl_ZipPwd1.TabIndex = 0; this.lbl_ZipPwd1.Text = "File Password"; this.lbl_Folder.AutoSize = true; this.lbl_Folder.Location = new Point(20, 9); this.lbl_Folder.Name = "lbl_Folder"; this.lbl_Folder.Size = new Size(36, 13); this.lbl_Folder.TabIndex = 7; this.lbl_Folder.Text = "Folder"; this.lblFilePath.AutoSize = true; this.lblFilePath.Location = new Point(123, 9); this.lblFilePath.Name = "lblFilePath"; this.lblFilePath.Size = new Size(45, 13); this.lblFilePath.TabIndex = 6; this.lblFilePath.Text = "FilePath"; this.btn_Cancel.AllowAnimations = true; this.btn_Cancel.BackColor = Color.Transparent; this.btn_Cancel.Location = new Point(235, 194); this.btn_Cancel.Name = "btn_Cancel"; this.btn_Cancel.RoundedCornersMask = 15; this.btn_Cancel.RoundedCornersRadius = 0; this.btn_Cancel.Size = new Size(100, 30); this.btn_Cancel.TabIndex = 5; this.btn_Cancel.Text = "Cancel"; this.btn_Cancel.UseVisualStyleBackColor = false; this.btn_Cancel.VIBlendTheme = VIBLEND_THEME.VISTABLUE; this.btn_Cancel.Click += new EventHandler(this.btn_Cancel_Click); this.btn_OK.AllowAnimations = true; this.btn_OK.BackColor = Color.Transparent; this.btn_OK.Location = new Point(128, 194); this.btn_OK.Name = "btn_OK"; this.btn_OK.RoundedCornersMask = 15; this.btn_OK.RoundedCornersRadius = 0; this.btn_OK.Size = new Size(100, 30); this.btn_OK.TabIndex = 4; this.btn_OK.Text = "OK"; this.btn_OK.UseVisualStyleBackColor = false; this.btn_OK.VIBlendTheme = VIBLEND_THEME.VISTABLUE; this.btn_OK.Click += new EventHandler(this.btn_OK_Click); base.AutoScaleDimensions = new SizeF(6f, 13f); base.AutoScaleMode = AutoScaleMode.Font; this.BackColor = Color.White; this.BackgroundImageLayout = ImageLayout.Stretch; base.ClientSize = new Size(360, 280); base.Controls.Add(this.FormPanel); base.Controls.Add(this.HeaderPanel); base.FormBorderStyle = FormBorderStyle.None; base.Name = "ZipDlg"; base.StartPosition = FormStartPosition.CenterParent; this.Text = "ZipDlg"; base.Load += new EventHandler(this.ZipDlg_Load); this.HeaderPanel.ResumeLayout(false); this.HeaderPanel.PerformLayout(); this.FormPanel.ResumeLayout(false); this.FormPanel.PerformLayout(); this.ZipPanel.ResumeLayout(false); this.ZipPanel.PerformLayout(); this.PwdPanel.ResumeLayout(false); this.PwdPanel.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(); 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.components = new Container(); ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(EmailForm)); this.HeaderPanel = new Panel(); this.btnSendEmails = new vButton(); this.btn_Close = new vButton(); this.txtBody = new vRichTextBox(); this.txtSubject = new vTextBox(); this.lbl_EmailSubject = new Label(); this.txtFrom = new vTextBox(); this.lbl_EmailFrom = new Label(); this.AccountList = new vCheckedListBox(); this.ListMenu = new ContextMenuStrip(this.components); this.mnu_SelectAllAccounts = new ToolStripMenuItem(); this.mnu_UnselectAllAccounts = new ToolStripMenuItem(); this.imageList1 = new ImageList(this.components); this.progBar = new vProgressBar(); this.HeaderPanel.SuspendLayout(); this.ListMenu.SuspendLayout(); base.SuspendLayout(); this.HeaderPanel.Controls.Add(this.progBar); this.HeaderPanel.Controls.Add(this.btnSendEmails); this.HeaderPanel.Controls.Add(this.btn_Close); this.HeaderPanel.Controls.Add(this.txtBody); this.HeaderPanel.Controls.Add(this.txtSubject); this.HeaderPanel.Controls.Add(this.lbl_EmailSubject); this.HeaderPanel.Controls.Add(this.txtFrom); this.HeaderPanel.Controls.Add(this.lbl_EmailFrom); this.HeaderPanel.Dock = DockStyle.Top; this.HeaderPanel.Location = new Point(0, 0); this.HeaderPanel.Name = "HeaderPanel"; this.HeaderPanel.Size = new Size(521, 289); this.HeaderPanel.TabIndex = 0; this.btnSendEmails.AllowAnimations = true; this.btnSendEmails.BackColor = Color.Transparent; this.btnSendEmails.ImageAlign = ContentAlignment.MiddleLeft; this.btnSendEmails.Location = new Point(127, 227); this.btnSendEmails.Name = "btnSendEmails"; this.btnSendEmails.RoundedCornersMask = 15; this.btnSendEmails.RoundedCornersRadius = 0; this.btnSendEmails.Size = new Size(166, 30); this.btnSendEmails.TabIndex = 6; this.btnSendEmails.Text = "Send Emails"; this.btnSendEmails.UseVisualStyleBackColor = false; this.btnSendEmails.VIBlendTheme = VIBLEND_THEME.VISTABLUE; this.btnSendEmails.Click += new EventHandler(this.btnSend_Click); this.btn_Close.AllowAnimations = true; this.btn_Close.BackColor = Color.Transparent; this.btn_Close.Location = new Point(409, 227); this.btn_Close.Name = "btn_Close"; this.btn_Close.RoundedCornersMask = 15; this.btn_Close.RoundedCornersRadius = 0; this.btn_Close.Size = new Size(100, 30); this.btn_Close.TabIndex = 5; this.btn_Close.Text = "Close"; this.btn_Close.UseVisualStyleBackColor = false; this.btn_Close.VIBlendTheme = VIBLEND_THEME.VISTABLUE; this.btn_Close.Click += new EventHandler(this.btn_Close_Click); this.txtBody.AllowAnimations = false; this.txtBody.AllowFocused = false; this.txtBody.AllowHighlight = false; this.txtBody.BackColor = Color.White; this.txtBody.ControlBorderColor = Color.FromArgb(39, 39, 39); this.txtBody.GleamWidth = 1; this.txtBody.Location = new Point(127, 71); this.txtBody.MaxLength = 2147483647; this.txtBody.Multiline = true; this.txtBody.Name = "txtBody"; this.txtBody.Readonly = false; this.txtBody.Size = new Size(382, 149); this.txtBody.TabIndex = 4; this.txtBody.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(127, 41); this.txtSubject.MaxLength = 128; 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(235, 23); this.txtSubject.TabIndex = 3; this.txtSubject.TextAlign = HorizontalAlignment.Left; this.txtSubject.VIBlendTheme = VIBLEND_THEME.VISTABLUE; this.lbl_EmailSubject.Location = new Point(13, 46); this.lbl_EmailSubject.Name = "lbl_EmailSubject"; this.lbl_EmailSubject.Size = new Size(110, 13); this.lbl_EmailSubject.TabIndex = 2; this.lbl_EmailSubject.Text = "Subject"; this.txtFrom.BackColor = Color.White; this.txtFrom.BoundsOffset = new Size(1, 1); this.txtFrom.ControlBorderColor = Color.FromArgb(39, 39, 39); this.txtFrom.DefaultText = ""; this.txtFrom.Location = new Point(127, 12); this.txtFrom.MaxLength = 32767; this.txtFrom.Name = "txtFrom"; this.txtFrom.PasswordChar = '\0'; this.txtFrom.Readonly = true; this.txtFrom.ScrollBars = ScrollBars.None; this.txtFrom.SelectionLength = 0; this.txtFrom.SelectionStart = 0; this.txtFrom.Size = new Size(235, 23); this.txtFrom.TabIndex = 1; this.txtFrom.TextAlign = HorizontalAlignment.Left; this.txtFrom.VIBlendTheme = VIBLEND_THEME.VISTABLUE; this.lbl_EmailFrom.Location = new Point(13, 17); this.lbl_EmailFrom.Name = "lbl_EmailFrom"; this.lbl_EmailFrom.Size = new Size(110, 13); this.lbl_EmailFrom.TabIndex = 0; this.lbl_EmailFrom.Text = "From"; this.AccountList.CheckOnClick = false; this.AccountList.ContextMenuStrip = this.ListMenu; this.AccountList.Dock = DockStyle.Fill; this.AccountList.ImageList = this.imageList1; this.AccountList.Location = new Point(0, 289); this.AccountList.Name = "AccountList"; this.AccountList.RoundedCornersMaskListItem = 15; this.AccountList.SelectionMode = SelectionMode.One; this.AccountList.Size = new Size(521, 191); this.AccountList.TabIndex = 1; this.AccountList.Text = "vCheckedListBox1"; this.AccountList.VIBlendScrollBarsTheme = VIBLEND_THEME.VISTABLUE; this.AccountList.VIBlendTheme = VIBLEND_THEME.VISTABLUE; ToolStripItemCollection items = this.ListMenu.Items; ToolStripItem[] mnuSelectAllAccounts = new ToolStripItem[] { this.mnu_SelectAllAccounts, this.mnu_UnselectAllAccounts }; this.ListMenu.Items.AddRange(mnuSelectAllAccounts); this.ListMenu.Name = "ListMenu"; this.ListMenu.Size = new Size(196, 48); this.mnu_SelectAllAccounts.Name = "mnu_SelectAllAccounts"; this.mnu_SelectAllAccounts.Size = new Size(195, 22); this.mnu_SelectAllAccounts.Text = "Select All Accounts"; this.mnu_SelectAllAccounts.Click += new EventHandler(this.mnu_SelectAllAccounts_Click); this.mnu_UnselectAllAccounts.Name = "mnu_UnselectAllAccounts"; this.mnu_UnselectAllAccounts.Size = new Size(195, 22); this.mnu_UnselectAllAccounts.Text = "Un-Select All Accounts"; this.mnu_UnselectAllAccounts.Click += new EventHandler(this.mnu_UnselectAllAccounts_Click); this.imageList1.ImageStream = (ImageListStreamer)Resources.EmailForm.imageList1_ImageStream; this.imageList1.TransparentColor = Color.Transparent; this.imageList1.Images.SetKeyName(0, "people.png"); this.progBar.BackColor = Color.Transparent; this.progBar.Location = new Point(127, 264); this.progBar.Name = "progBar"; this.progBar.RoundedCornersMask = 15; this.progBar.RoundedCornersRadius = 0; this.progBar.Size = new Size(382, 19); this.progBar.TabIndex = 7; this.progBar.Value = 0; this.progBar.VIBlendTheme = VIBLEND_THEME.OFFICE2010SILVER; this.progBar.Visible = false; base.AutoScaleDimensions = new SizeF(6f, 13f); base.AutoScaleMode = AutoScaleMode.Font; this.BackColor = Color.White; base.ClientSize = new Size(521, 480); base.Controls.Add(this.AccountList); base.Controls.Add(this.HeaderPanel); base.FormBorderStyle = FormBorderStyle.FixedDialog; base.Icon = (Icon)Resources.EmailForm.EmailFormIcon; base.MaximizeBox = false; base.MinimizeBox = false; base.Name = "EmailForm"; base.StartPosition = FormStartPosition.CenterParent; this.Text = "Alert Emails"; base.Load += new EventHandler(this.EmailForm_Load); this.HeaderPanel.ResumeLayout(false); this.ListMenu.ResumeLayout(false); 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.FormPanel = new Panel(); this.HeaderPanel = new Panel(); this.lbl_Logout = new Label(); this.lbl_Password = new Label(); this.txtPwd = new vTextBox(); this.btn_OK = new vButton(); this.btn_Cancel = new vButton(); this.FormPanel.SuspendLayout(); this.HeaderPanel.SuspendLayout(); base.SuspendLayout(); this.FormPanel.BorderStyle = BorderStyle.FixedSingle; this.FormPanel.Controls.Add(this.btn_Cancel); this.FormPanel.Controls.Add(this.btn_OK); this.FormPanel.Controls.Add(this.txtPwd); this.FormPanel.Controls.Add(this.lbl_Password); this.FormPanel.Controls.Add(this.HeaderPanel); this.FormPanel.Dock = DockStyle.Fill; this.FormPanel.Location = new Point(0, 0); this.FormPanel.Name = "FormPanel"; this.FormPanel.Size = new Size(382, 173); this.FormPanel.TabIndex = 0; this.HeaderPanel.BackColor = Color.FromArgb(64, 64, 64); this.HeaderPanel.Controls.Add(this.lbl_Logout); this.HeaderPanel.Dock = DockStyle.Top; this.HeaderPanel.Location = new Point(0, 0); this.HeaderPanel.Name = "HeaderPanel"; this.HeaderPanel.Size = new Size(380, 40); this.HeaderPanel.TabIndex = 0; this.HeaderPanel.MouseDown += new MouseEventHandler(this.HeaderPanel_MouseDown); this.lbl_Logout.AutoSize = true; this.lbl_Logout.Font = new Font("Microsoft Sans Serif", 12f, FontStyle.Bold, GraphicsUnit.Point, 0); this.lbl_Logout.ForeColor = Color.White; this.lbl_Logout.Location = new Point(12, 12); this.lbl_Logout.Name = "lbl_Logout"; this.lbl_Logout.Size = new Size(189, 20); this.lbl_Logout.TabIndex = 0; this.lbl_Logout.Text = "LOGOUT PASSWORD"; this.lbl_Logout.MouseDown += new MouseEventHandler(this.lbl_Logout_MouseDown); this.lbl_Password.AutoSize = true; this.lbl_Password.Location = new Point(16, 66); this.lbl_Password.Name = "lbl_Password"; this.lbl_Password.Size = new Size(53, 13); this.lbl_Password.TabIndex = 1; this.lbl_Password.Text = "Password"; this.txtPwd.BackColor = Color.White; this.txtPwd.BoundsOffset = new Size(1, 1); this.txtPwd.ControlBorderColor = Color.FromArgb(39, 39, 39); this.txtPwd.DefaultText = ""; this.txtPwd.Location = new Point(136, 61); this.txtPwd.MaxLength = 32767; this.txtPwd.Name = "txtPwd"; this.txtPwd.PasswordChar = '•'; this.txtPwd.ScrollBars = ScrollBars.None; this.txtPwd.SelectionLength = 0; this.txtPwd.SelectionStart = 0; this.txtPwd.Size = new Size(207, 23); this.txtPwd.TabIndex = 2; this.txtPwd.TextAlign = HorizontalAlignment.Left; this.txtPwd.VIBlendTheme = VIBLEND_THEME.VISTABLUE; this.btn_OK.AllowAnimations = true; this.btn_OK.BackColor = Color.Transparent; this.btn_OK.Location = new Point(136, 103); this.btn_OK.Name = "btn_OK"; this.btn_OK.RoundedCornersMask = 15; this.btn_OK.Size = new Size(100, 30); this.btn_OK.TabIndex = 3; this.btn_OK.Text = "OK"; this.btn_OK.UseVisualStyleBackColor = false; this.btn_OK.VIBlendTheme = VIBLEND_THEME.VISTABLUE; this.btn_OK.Click += new EventHandler(this.btn_OK_Click); this.btn_Cancel.AllowAnimations = true; this.btn_Cancel.BackColor = Color.Transparent; this.btn_Cancel.Location = new Point(243, 103); this.btn_Cancel.Name = "btn_Cancel"; this.btn_Cancel.RoundedCornersMask = 15; this.btn_Cancel.Size = new Size(100, 30); this.btn_Cancel.TabIndex = 4; this.btn_Cancel.Text = "Cancel"; this.btn_Cancel.UseVisualStyleBackColor = false; this.btn_Cancel.VIBlendTheme = VIBLEND_THEME.VISTABLUE; this.btn_Cancel.Click += new EventHandler(this.btn_Cancel_Click); base.AutoScaleDimensions = new SizeF(6f, 13f); base.AutoScaleMode = AutoScaleMode.Font; this.BackColor = Color.White; base.ClientSize = new Size(382, 173); base.Controls.Add(this.FormPanel); base.FormBorderStyle = FormBorderStyle.None; base.Name = "AppLogout"; base.StartPosition = FormStartPosition.CenterParent; this.Text = "AppLogout"; base.Load += new EventHandler(this.AppLogout_Load); this.FormPanel.ResumeLayout(false); this.FormPanel.PerformLayout(); this.HeaderPanel.ResumeLayout(false); this.HeaderPanel.PerformLayout(); base.ResumeLayout(false); }
private void InitializeComponent() { this.FormPanel = new Panel(); this.btn_Cancel = new vButton(); this.btn_OK = new vButton(); this.txtDesc = new vTextBox(); this.lbl_Desc = new Label(); this.HeaderPanel = new Panel(); this.lbl_TagSaveTitle = new Label(); this.FormPanel.SuspendLayout(); this.HeaderPanel.SuspendLayout(); base.SuspendLayout(); this.FormPanel.BorderStyle = BorderStyle.FixedSingle; this.FormPanel.Controls.Add(this.btn_Cancel); this.FormPanel.Controls.Add(this.btn_OK); this.FormPanel.Controls.Add(this.txtDesc); this.FormPanel.Controls.Add(this.lbl_Desc); this.FormPanel.Controls.Add(this.HeaderPanel); this.FormPanel.Dock = DockStyle.Fill; this.FormPanel.Location = new Point(0, 0); this.FormPanel.Name = "FormPanel"; this.FormPanel.Size = new Size(419, 132); this.FormPanel.TabIndex = 0; this.btn_Cancel.AllowAnimations = true; this.btn_Cancel.BackColor = Color.Transparent; this.btn_Cancel.Location = new Point(304, 86); this.btn_Cancel.Name = "btn_Cancel"; this.btn_Cancel.RoundedCornersMask = 15; this.btn_Cancel.Size = new Size(100, 30); this.btn_Cancel.TabIndex = 3; this.btn_Cancel.Text = "Cancel"; this.btn_Cancel.UseVisualStyleBackColor = false; this.btn_Cancel.VIBlendTheme = VIBLEND_THEME.VISTABLUE; this.btn_Cancel.Click += new EventHandler(this.btn_Cancel_Click); this.btn_OK.AllowAnimations = true; this.btn_OK.BackColor = Color.Transparent; this.btn_OK.Location = new Point(198, 86); this.btn_OK.Name = "btn_OK"; this.btn_OK.RoundedCornersMask = 15; this.btn_OK.Size = new Size(100, 30); this.btn_OK.TabIndex = 2; this.btn_OK.Text = "OK"; this.btn_OK.UseVisualStyleBackColor = false; this.btn_OK.VIBlendTheme = VIBLEND_THEME.VISTABLUE; this.btn_OK.Click += new EventHandler(this.btn_OK_Click); this.txtDesc.BackColor = Color.White; this.txtDesc.BoundsOffset = new Size(1, 1); this.txtDesc.ControlBorderColor = Color.FromArgb(39, 39, 39); this.txtDesc.DefaultText = ""; this.txtDesc.Location = new Point(155, 57); this.txtDesc.MaxLength = 64; this.txtDesc.Name = "txtDesc"; this.txtDesc.PasswordChar = '\0'; this.txtDesc.ScrollBars = ScrollBars.None; this.txtDesc.SelectionLength = 0; this.txtDesc.SelectionStart = 0; this.txtDesc.Size = new Size(249, 23); this.txtDesc.TabIndex = 1; this.txtDesc.TextAlign = HorizontalAlignment.Left; this.txtDesc.VIBlendTheme = VIBLEND_THEME.VISTABLUE; this.txtDesc.KeyDown += new KeyEventHandler(this.txtDesc_KeyDown); this.lbl_Desc.AutoSize = true; this.lbl_Desc.Location = new Point(21, 62); this.lbl_Desc.Name = "lbl_Desc"; this.lbl_Desc.Size = new Size(60, 13); this.lbl_Desc.TabIndex = 0; this.lbl_Desc.Text = "Description"; this.HeaderPanel.BackColor = Color.FromArgb(64, 64, 64); this.HeaderPanel.BackgroundImageLayout = ImageLayout.Stretch; this.HeaderPanel.Controls.Add(this.lbl_TagSaveTitle); this.HeaderPanel.Dock = DockStyle.Top; this.HeaderPanel.Location = new Point(0, 0); this.HeaderPanel.Name = "HeaderPanel"; this.HeaderPanel.Size = new Size(417, 40); this.HeaderPanel.TabIndex = 0; this.HeaderPanel.MouseDown += new MouseEventHandler(this.HeaderPanel_MouseDown); this.lbl_TagSaveTitle.AutoSize = true; this.lbl_TagSaveTitle.Font = new Font("Microsoft Sans Serif", 9.75f, FontStyle.Bold, GraphicsUnit.Point, 0); this.lbl_TagSaveTitle.ForeColor = Color.White; this.lbl_TagSaveTitle.Location = new Point(12, 12); this.lbl_TagSaveTitle.Name = "lbl_TagSaveTitle"; this.lbl_TagSaveTitle.Size = new Size(144, 16); this.lbl_TagSaveTitle.TabIndex = 0; this.lbl_TagSaveTitle.Text = "SAVE VIDEO MARK"; this.lbl_TagSaveTitle.MouseDown += new MouseEventHandler(this.lbl_TagSaveTitle_MouseDown); base.AutoScaleDimensions = new SizeF(6f, 13f); base.AutoScaleMode = AutoScaleMode.Font; this.BackColor = Color.White; base.ClientSize = new Size(419, 132); base.Controls.Add(this.FormPanel); base.FormBorderStyle = FormBorderStyle.None; base.Name = "SaveTag"; base.StartPosition = FormStartPosition.CenterParent; this.Text = "SaveTag"; base.Load += new EventHandler(this.SaveTag_Load); this.FormPanel.ResumeLayout(false); this.FormPanel.PerformLayout(); this.HeaderPanel.ResumeLayout(false); this.HeaderPanel.PerformLayout(); base.ResumeLayout(false); }