Пример #1
0
        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);
        }
Пример #2
0
        private void InitializeComponent()
        {
            this.components           = new Container();
            this.vListBox             = new vCheckedListBox();
            this.TagMenu              = new ContextMenuStrip(this.components);
            this.mnu_SelectAllTags    = new ToolStripMenuItem();
            this.mnu_DelselectAllTags = new ToolStripMenuItem();
            this.mnu_DeleteTags       = new ToolStripMenuItem();
            this.btn_MergeVideo       = new vButton();
            this.folderBrowserDialog  = new FolderBrowserDialog();
            this.lbl_VideoMarks       = new Label();
            this.HeaderPanel          = new Panel();
            this.TagMenu.SuspendLayout();
            this.HeaderPanel.SuspendLayout();
            base.SuspendLayout();
            this.vListBox.CheckOnClick               = true;
            this.vListBox.ContextMenuStrip           = this.TagMenu;
            this.vListBox.Dock                       = DockStyle.Fill;
            this.vListBox.ItemHeight                 = 34;
            this.vListBox.Location                   = new Point(0, 44);
            this.vListBox.Name                       = "vListBox";
            this.vListBox.RoundedCornersMaskListItem = 15;
            this.vListBox.SelectionMode              = SelectionMode.One;
            this.vListBox.Size                       = new Size(351, 509);
            this.vListBox.TabIndex                   = 1;
            this.vListBox.Text                       = "vCheckedListBox1";
            this.vListBox.VIBlendScrollBarsTheme     = VIBLEND_THEME.OFFICE2010SILVER;
            this.vListBox.VIBlendTheme               = VIBLEND_THEME.OFFICE2010SILVER;
            ToolStripItemCollection items = this.TagMenu.Items;

            ToolStripItem[] mnuSelectAllTags = new ToolStripItem[] { this.mnu_SelectAllTags, this.mnu_DelselectAllTags, this.mnu_DeleteTags };
            this.TagMenu.Items.AddRange(mnuSelectAllTags);
            this.TagMenu.Name                           = "TagMenu";
            this.TagMenu.Size                           = new Size(190, 70);
            this.mnu_SelectAllTags.Name                 = "mnu_SelectAllTags";
            this.mnu_SelectAllTags.Size                 = new Size(189, 22);
            this.mnu_SelectAllTags.Text                 = "Select All";
            this.mnu_SelectAllTags.Click               += new EventHandler(this.mnu_SelectAllTags_Click);
            this.mnu_DelselectAllTags.Name              = "mnu_DelselectAllTags";
            this.mnu_DelselectAllTags.Size              = new Size(189, 22);
            this.mnu_DelselectAllTags.Text              = "Deselect All";
            this.mnu_DelselectAllTags.Click            += new EventHandler(this.mnu_DelselectAllTags_Click);
            this.mnu_DeleteTags.Name                    = "mnu_DeleteTags";
            this.mnu_DeleteTags.Size                    = new Size(189, 22);
            this.mnu_DeleteTags.Text                    = "Delete Selected Marks";
            this.mnu_DeleteTags.Click                  += new EventHandler(this.mnu_DeleteTags_Click);
            this.btn_MergeVideo.AllowAnimations         = true;
            this.btn_MergeVideo.BackColor               = Color.Transparent;
            this.btn_MergeVideo.Image                   = Properties.Resources.frame;
            this.btn_MergeVideo.ImageAlign              = ContentAlignment.MiddleLeft;
            this.btn_MergeVideo.Location                = new Point(8, 8);
            this.btn_MergeVideo.Name                    = "btn_MergeVideo";
            this.btn_MergeVideo.RoundedCornersMask      = 15;
            this.btn_MergeVideo.RoundedCornersRadius    = 0;
            this.btn_MergeVideo.Size                    = new Size(164, 30);
            this.btn_MergeVideo.TabIndex                = 2;
            this.btn_MergeVideo.Text                    = "Merge Video";
            this.btn_MergeVideo.UseVisualStyleBackColor = false;
            this.btn_MergeVideo.VIBlendTheme            = VIBLEND_THEME.VISTABLUE;
            this.btn_MergeVideo.Click                  += new EventHandler(this.btn_Merge_Click);
            this.lbl_VideoMarks.Anchor                  = AnchorStyles.Right;
            this.lbl_VideoMarks.AutoSize                = true;
            this.lbl_VideoMarks.BackColor               = Color.Transparent;
            this.lbl_VideoMarks.Font                    = new Font("Verdana", 9.75f, FontStyle.Bold, GraphicsUnit.Point, 0);
            this.lbl_VideoMarks.ForeColor               = Color.White;
            this.lbl_VideoMarks.Location                = new Point(252, 17);
            this.lbl_VideoMarks.Name                    = "lbl_VideoMarks";
            this.lbl_VideoMarks.Size                    = new Size(96, 16);
            this.lbl_VideoMarks.TabIndex                = 3;
            this.lbl_VideoMarks.Text                    = "Video Marks";
            this.HeaderPanel.BackColor                  = Color.FromArgb(64, 64, 64);
            this.HeaderPanel.BackgroundImageLayout      = ImageLayout.Stretch;
            this.HeaderPanel.Controls.Add(this.lbl_VideoMarks);
            this.HeaderPanel.Controls.Add(this.btn_MergeVideo);
            this.HeaderPanel.Dock     = DockStyle.Top;
            this.HeaderPanel.Location = new Point(0, 0);
            this.HeaderPanel.Name     = "HeaderPanel";
            this.HeaderPanel.Size     = new Size(351, 44);
            this.HeaderPanel.TabIndex = 4;
            base.AutoScaleDimensions  = new SizeF(6f, 13f);
            base.AutoScaleMode        = AutoScaleMode.Font;
            this.BackColor            = Color.White;
            base.Controls.Add(this.vListBox);
            base.Controls.Add(this.HeaderPanel);
            base.Name  = "TagPanel";
            base.Size  = new Size(351, 553);
            base.Load += new EventHandler(this.TagPanel_Load);
            this.TagMenu.ResumeLayout(false);
            this.HeaderPanel.ResumeLayout(false);
            this.HeaderPanel.PerformLayout();
            base.ResumeLayout(false);
        }
Пример #3
0
        private void InitializeComponent()
        {
            this.components = new Container();
            ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(MemoForm));

            this.imageList1     = new ImageList(this.components);
            this.ListBox        = new vCheckedListBox();
            this.ListMenu       = new ContextMenuStrip(this.components);
            this.mnuSelectAll   = new ToolStripMenuItem();
            this.mnuClearSelect = new ToolStripMenuItem();
            this.btnCloseDlg    = new vButton();
            this.HeaderPanel    = new Panel();
            this.chk_PageBreaks = new CheckBox();
            this.btn_View       = new vButton();
            this.ListMenu.SuspendLayout();
            this.HeaderPanel.SuspendLayout();
            base.SuspendLayout();
            this.imageList1.ImageStream      = (ImageListStreamer)Resources.MemoForm.imageList1_ImageStream;
            this.imageList1.TransparentColor = Color.Transparent;
            this.imageList1.Images.SetKeyName(0, "notes.png");
            this.ListBox.CheckOnClick               = true;
            this.ListBox.ContextMenuStrip           = this.ListMenu;
            this.ListBox.Dock                       = DockStyle.Fill;
            this.ListBox.ItemHeight                 = 36;
            this.ListBox.Location                   = new Point(0, 45);
            this.ListBox.Name                       = "ListBox";
            this.ListBox.RoundedCornersMaskListItem = 15;
            this.ListBox.SelectionMode              = SelectionMode.One;
            this.ListBox.Size                       = new Size(550, 555);
            this.ListBox.TabIndex                   = 2;
            this.ListBox.VIBlendScrollBarsTheme     = VIBLEND_THEME.VISTABLUE;
            this.ListBox.VIBlendTheme               = VIBLEND_THEME.VISTABLUE;
            ToolStripItemCollection items = this.ListMenu.Items;

            ToolStripItem[] toolStripItemArray = new ToolStripItem[] { this.mnuSelectAll, this.mnuClearSelect };
            this.ListMenu.Items.AddRange(toolStripItemArray);
            this.ListMenu.Name                       = "ListMenu";
            this.ListMenu.Size                       = new Size(187, 48);
            this.mnuSelectAll.Name                   = "mnuSelectAll";
            this.mnuSelectAll.Size                   = new Size(186, 22);
            this.mnuSelectAll.Text                   = "Select All Documents";
            this.mnuSelectAll.Click                 += new EventHandler(this.mnuSelectAll_Click);
            this.mnuClearSelect.Name                 = "mnuClearSelect";
            this.mnuClearSelect.Size                 = new Size(186, 22);
            this.mnuClearSelect.Text                 = "Clear Selection";
            this.mnuClearSelect.Click               += new EventHandler(this.mnuClearSelect_Click);
            this.btnCloseDlg.AllowAnimations         = true;
            this.btnCloseDlg.BackColor               = Color.Transparent;
            this.btnCloseDlg.DialogResult            = DialogResult.Cancel;
            this.btnCloseDlg.Dock                    = DockStyle.Right;
            this.btnCloseDlg.Image                   = Properties.Resources.close;
            this.btnCloseDlg.Location                = new Point(505, 0);
            this.btnCloseDlg.Name                    = "btnCloseDlg";
            this.btnCloseDlg.PaintBorder             = false;
            this.btnCloseDlg.PaintDefaultBorder      = false;
            this.btnCloseDlg.PaintDefaultFill        = false;
            this.btnCloseDlg.RoundedCornersMask      = 15;
            this.btnCloseDlg.RoundedCornersRadius    = 0;
            this.btnCloseDlg.Size                    = new Size(45, 45);
            this.btnCloseDlg.TabIndex                = 0;
            this.btnCloseDlg.UseVisualStyleBackColor = false;
            this.btnCloseDlg.VIBlendTheme            = VIBLEND_THEME.VISTABLUE;
            this.btnCloseDlg.Click                  += new EventHandler(this.btnCloseDlg_Click);
            this.HeaderPanel.BackColor               = Color.FromArgb(64, 64, 64);
            this.HeaderPanel.Controls.Add(this.chk_PageBreaks);
            this.HeaderPanel.Controls.Add(this.btn_View);
            this.HeaderPanel.Controls.Add(this.btnCloseDlg);
            this.HeaderPanel.Dock         = DockStyle.Top;
            this.HeaderPanel.Location     = new Point(0, 0);
            this.HeaderPanel.Name         = "HeaderPanel";
            this.HeaderPanel.Size         = new Size(550, 45);
            this.HeaderPanel.TabIndex     = 1;
            this.HeaderPanel.MouseDown   += new MouseEventHandler(this.HeaderPanel_MouseDown);
            this.chk_PageBreaks.AutoSize  = true;
            this.chk_PageBreaks.BackColor = Color.Transparent;
            this.chk_PageBreaks.ForeColor = Color.White;
            this.chk_PageBreaks.Location  = new Point(155, 13);
            this.chk_PageBreaks.Name      = "chk_PageBreaks";
            this.chk_PageBreaks.Size      = new Size(116, 17);
            this.chk_PageBreaks.TabIndex  = 3;
            this.chk_PageBreaks.Text      = "Insert Page Breaks";
            this.chk_PageBreaks.UseVisualStyleBackColor = false;
            this.btn_View.AllowAnimations         = true;
            this.btn_View.BackColor               = Color.Transparent;
            this.btn_View.Image                   = Properties.Resources.search;
            this.btn_View.ImageAlign              = ContentAlignment.MiddleLeft;
            this.btn_View.Location                = new Point(13, 6);
            this.btn_View.Name                    = "btn_View";
            this.btn_View.RoundedCornersMask      = 15;
            this.btn_View.RoundedCornersRadius    = 0;
            this.btn_View.Size                    = new Size(136, 30);
            this.btn_View.TabIndex                = 2;
            this.btn_View.Text                    = "Review";
            this.btn_View.UseVisualStyleBackColor = false;
            this.btn_View.VIBlendTheme            = VIBLEND_THEME.VISTABLUE;
            this.btn_View.Click                  += new EventHandler(this.btn_View_Click);
            base.AutoScaleDimensions              = new SizeF(6f, 13f);
            base.AutoScaleMode                    = AutoScaleMode.Font;
            base.CancelButton = this.btnCloseDlg;
            base.ClientSize   = new Size(550, 600);
            base.Controls.Add(this.ListBox);
            base.Controls.Add(this.HeaderPanel);
            base.FormBorderStyle = FormBorderStyle.None;
            base.Icon            = (Icon)Resources.MemoForm.MemoListIcon;
            base.MaximizeBox     = false;
            base.MinimizeBox     = false;
            base.Name            = "MemoForm";
            base.StartPosition   = FormStartPosition.CenterParent;
            this.Text            = "Memos";
            base.Load           += new EventHandler(this.MemoForm_Load);
            this.ListMenu.ResumeLayout(false);
            this.HeaderPanel.ResumeLayout(false);
            this.HeaderPanel.PerformLayout();
            base.ResumeLayout(false);
        }