Exemplo n.º 1
0
        private void InitializeComponent()
        {
            ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(License));

            this.txtLic = new vRichTextBox();
            base.SuspendLayout();
            this.txtLic.AllowAnimations    = false;
            this.txtLic.AllowFocused       = false;
            this.txtLic.AllowHighlight     = false;
            this.txtLic.BackColor          = Color.White;
            this.txtLic.ControlBorderColor = Color.FromArgb(39, 39, 39);
            this.txtLic.Dock         = DockStyle.Fill;
            this.txtLic.GleamWidth   = 1;
            this.txtLic.Location     = new Point(0, 0);
            this.txtLic.MaxLength    = 2147483647;
            this.txtLic.Multiline    = true;
            this.txtLic.Name         = "txtLic";
            this.txtLic.Readonly     = true;
            this.txtLic.Size         = new Size(416, 516);
            this.txtLic.TabIndex     = 0;
            this.txtLic.VIBlendTheme = VIBLEND_THEME.VISTABLUE;
            base.AutoScaleDimensions = new SizeF(6f, 13f);
            base.AutoScaleMode       = AutoScaleMode.Font;
            base.ClientSize          = new Size(416, 516);
            base.Controls.Add(this.txtLic);
            base.Icon          = (Icon)Resources.License.LicenseIcon;
            base.Name          = "License";
            base.StartPosition = FormStartPosition.CenterParent;
            this.Text          = "License";
            base.Load         += new EventHandler(this.License_Load);
            base.ResumeLayout(false);
        }
Exemplo n.º 2
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);
        }