private void InitializeComponent( ) { this.textBoxName = new Growl.Destinations.HighlightTextBox ( ); this.labelName = new System.Windows.Forms.Label ( ); this.panelDetails.SuspendLayout ( ); this.SuspendLayout ( ); // // panelDetails // this.panelDetails.Controls.Add ( this.labelName ); this.panelDetails.Controls.Add ( this.textBoxName ); // // textBoxName // this.textBoxName.HighlightColor = System.Drawing.Color.FromArgb ( ( (int)( ( (byte)( 254 ) ) ) ), ( (int)( ( (byte)( 250 ) ) ) ), ( (int)( ( (byte)( 184 ) ) ) ) ); this.textBoxName.Location = new System.Drawing.Point ( 63, 16 ); this.textBoxName.Name = "textBoxName"; this.textBoxName.Size = new System.Drawing.Size ( 227, 20 ); this.textBoxName.TabIndex = 1; this.textBoxName.TextChanged += new System.EventHandler ( this.textBoxName_TextChanged ); // // labelName // this.labelName.AutoSize = true; this.labelName.Location = new System.Drawing.Point ( 19, 19 ); this.labelName.Name = "labelName"; this.labelName.Size = new System.Drawing.Size ( 38, 13 ); this.labelName.TabIndex = 3; this.labelName.Text = "Name:"; // // NotificationCenterSettingsPanel // this.AutoScaleDimensions = new System.Drawing.SizeF ( 6F, 13F ); this.Name = "NotificationCenterSettingsPanel"; this.panelDetails.ResumeLayout ( false ); this.panelDetails.PerformLayout ( ); this.ResumeLayout ( false ); }
private void InitializeComponent() { this.textBoxUrl = new Growl.Destinations.HighlightTextBox(); this.labelUrl = new System.Windows.Forms.Label(); this.textBoxName = new Growl.Destinations.HighlightTextBox(); this.labelName = new System.Windows.Forms.Label(); this.labelInfo = new System.Windows.Forms.Label(); this.panelDetails.SuspendLayout(); this.SuspendLayout(); // // panelDetails // this.panelDetails.Controls.Add(this.labelInfo); this.panelDetails.Controls.Add(this.labelName); this.panelDetails.Controls.Add(this.textBoxName); this.panelDetails.Controls.Add(this.labelUrl); this.panelDetails.Controls.Add(this.textBoxUrl); // // textBoxUrl // this.textBoxUrl.HighlightColor = System.Drawing.Color.FromArgb(((int)(((byte)(254)))), ((int)(((byte)(250)))), ((int)(((byte)(184))))); this.textBoxUrl.Location = new System.Drawing.Point(63, 42); this.textBoxUrl.Name = "textBoxUrl"; this.textBoxUrl.Size = new System.Drawing.Size(227, 20); this.textBoxUrl.TabIndex = 2; this.textBoxUrl.TextChanged += new System.EventHandler(this.textBoxUrl_TextChanged); // // labelUrl // this.labelUrl.AutoSize = true; this.labelUrl.Location = new System.Drawing.Point(19, 45); this.labelUrl.Name = "labelUrl"; this.labelUrl.Size = new System.Drawing.Size(23, 13); this.labelUrl.TabIndex = 0; this.labelUrl.Text = "Url:"; // // textBoxName // this.textBoxName.HighlightColor = System.Drawing.Color.FromArgb(((int)(((byte)(254)))), ((int)(((byte)(250)))), ((int)(((byte)(184))))); this.textBoxName.Location = new System.Drawing.Point(63, 16); this.textBoxName.Name = "textBoxName"; this.textBoxName.Size = new System.Drawing.Size(227, 20); this.textBoxName.TabIndex = 1; this.textBoxName.TextChanged += new System.EventHandler(this.textBoxName_TextChanged); // // labelName // this.labelName.AutoSize = true; this.labelName.Location = new System.Drawing.Point(19, 19); this.labelName.Name = "labelName"; this.labelName.Size = new System.Drawing.Size(38, 13); this.labelName.TabIndex = 3; this.labelName.Text = "Name:"; // // labelInfo // this.labelInfo.Location = new System.Drawing.Point(36, 84); this.labelInfo.Name = "labelInfo"; this.labelInfo.Size = new System.Drawing.Size(254, 67); this.labelInfo.TabIndex = 4; this.labelInfo.Text = "The notification data will be POSTed to the url specified. See the documentation " + "for information on the available field values."; // // WebhookInputs // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.Name = "WebhookInputs"; this.panelDetails.ResumeLayout(false); this.panelDetails.PerformLayout(); this.ResumeLayout(false); }
private void InitializeComponent() { this.textBoxApi = new Growl.Destinations.HighlightTextBox(); this.labelUrl = new System.Windows.Forms.Label(); this.textBoxName = new Growl.Destinations.HighlightTextBox(); this.labelName = new System.Windows.Forms.Label(); this.linkLabel1 = new System.Windows.Forms.LinkLabel(); this.panelDetails.SuspendLayout(); this.SuspendLayout(); // // panelDetails // this.panelDetails.Controls.Add(this.linkLabel1); this.panelDetails.Controls.Add(this.labelName); this.panelDetails.Controls.Add(this.textBoxName); this.panelDetails.Controls.Add(this.labelUrl); this.panelDetails.Controls.Add(this.textBoxApi); // // textBoxApi // this.textBoxApi.HighlightColor = System.Drawing.Color.FromArgb(((int)(((byte)(254)))), ((int)(((byte)(250)))), ((int)(((byte)(184))))); this.textBoxApi.Location = new System.Drawing.Point(83, 42); this.textBoxApi.Name = "textBoxApi"; this.textBoxApi.Size = new System.Drawing.Size(227, 20); this.textBoxApi.TabIndex = 2; this.textBoxApi.TextChanged += new System.EventHandler(this.textBoxUrl_TextChanged); // // labelUrl // this.labelUrl.AutoSize = true; this.labelUrl.Location = new System.Drawing.Point(19, 45); this.labelUrl.Name = "labelUrl"; this.labelUrl.Size = new System.Drawing.Size(61, 13); this.labelUrl.TabIndex = 0; this.labelUrl.Text = "API Secret:"; // // textBoxName // this.textBoxName.HighlightColor = System.Drawing.Color.FromArgb(((int)(((byte)(254)))), ((int)(((byte)(250)))), ((int)(((byte)(184))))); this.textBoxName.Location = new System.Drawing.Point(83, 16); this.textBoxName.Name = "textBoxName"; this.textBoxName.Size = new System.Drawing.Size(227, 20); this.textBoxName.TabIndex = 1; this.textBoxName.TextChanged += new System.EventHandler(this.textBoxName_TextChanged); // // labelName // this.labelName.AutoSize = true; this.labelName.Location = new System.Drawing.Point(19, 19); this.labelName.Name = "labelName"; this.labelName.Size = new System.Drawing.Size(58, 13); this.labelName.TabIndex = 3; this.labelName.Text = "Username:"******"Forwards notification to "; string desc2 = "Notifo"; string desc3 = ". See your "; string desc4 = "settings page"; string desc5 = " for your API secret."; this.linkLabel1.Location = new System.Drawing.Point(22, 72); this.linkLabel1.Name = "linkLabel1"; this.linkLabel1.Size = new System.Drawing.Size(288, 56); this.linkLabel1.TabIndex = 5; this.linkLabel1.TabStop = true; this.linkLabel1.Text = desc1 + desc2 + desc3 + desc4 + desc5; this.linkLabel1.Links.Add(desc1.Length, desc2.Length, "http://www.notifo.com"); this.linkLabel1.Links.Add(desc1.Length + desc2.Length + desc3.Length, desc4.Length, "http://www.notifo.com/user/settings"); this.linkLabel1.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel1_LinkClicked); // // WebhookInputs // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.Name = "WebhookInputs"; this.panelDetails.ResumeLayout(false); this.panelDetails.PerformLayout(); this.ResumeLayout(false); }
private void InitializeComponent() { this.textBoxUrl = new Growl.Destinations.HighlightTextBox(); this.labelUrl = new System.Windows.Forms.Label(); this.textBoxName = new Growl.Destinations.HighlightTextBox(); this.labelName = new System.Windows.Forms.Label(); this.labelInfo = new System.Windows.Forms.Label(); this.panelDetails.SuspendLayout(); this.SuspendLayout(); // // panelDetails // this.panelDetails.Controls.Add(this.labelInfo); this.panelDetails.Controls.Add(this.labelName); this.panelDetails.Controls.Add(this.textBoxName); this.panelDetails.Controls.Add(this.labelUrl); this.panelDetails.Controls.Add(this.textBoxUrl); // // textBoxUrl // this.textBoxUrl.HighlightColor = System.Drawing.Color.FromArgb(((int)(((byte)(254)))), ((int)(((byte)(250)))), ((int)(((byte)(184))))); this.textBoxUrl.Location = new System.Drawing.Point(63, 42); this.textBoxUrl.Name = "textBoxUrl"; this.textBoxUrl.Size = new System.Drawing.Size(227, 20); this.textBoxUrl.TabIndex = 2; this.textBoxUrl.TextChanged += new System.EventHandler(this.textBoxUrl_TextChanged); // // labelUrl // this.labelUrl.AutoSize = true; this.labelUrl.Location = new System.Drawing.Point(19, 45); this.labelUrl.Name = "labelUrl"; this.labelUrl.Size = new System.Drawing.Size(23, 13); this.labelUrl.TabIndex = 0; this.labelUrl.Text = "Url:"; // // textBoxName // this.textBoxName.HighlightColor = System.Drawing.Color.FromArgb(((int)(((byte)(254)))), ((int)(((byte)(250)))), ((int)(((byte)(184))))); this.textBoxName.Location = new System.Drawing.Point(63, 16); this.textBoxName.Name = "textBoxName"; this.textBoxName.Size = new System.Drawing.Size(227, 20); this.textBoxName.TabIndex = 1; this.textBoxName.TextChanged += new System.EventHandler(this.textBoxName_TextChanged); // // labelName // this.labelName.AutoSize = true; this.labelName.Location = new System.Drawing.Point(19, 19); this.labelName.Name = "labelName"; this.labelName.Size = new System.Drawing.Size(38, 13); this.labelName.TabIndex = 3; this.labelName.Text = "Name:"; // // labelInfo // this.labelInfo.Location = new System.Drawing.Point(36, 84); this.labelInfo.Name = "labelInfo"; this.labelInfo.Size = new System.Drawing.Size(254, 67); this.labelInfo.TabIndex = 4; this.labelInfo.Text = "The notification data will be POSTed to the url specified. See the documentation " + "for information on the available field values."; // // WebhookInputs // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.Name = "WebhookInputs"; this.panelDetails.ResumeLayout(false); this.panelDetails.PerformLayout(); this.ResumeLayout(false); }
private void InitializeComponent() { this.textBoxUrl = new Growl.Destinations.HighlightTextBox(); this.labelUrl = new System.Windows.Forms.Label(); this.textBoxName = new Growl.Destinations.HighlightTextBox(); this.labelName = new System.Windows.Forms.Label(); this.comboBox1 = new System.Windows.Forms.ComboBox(); this.label1 = new System.Windows.Forms.Label(); this.checkBox1 = new System.Windows.Forms.CheckBox(); this.label2 = new System.Windows.Forms.Label(); this.comboBox2 = new System.Windows.Forms.ComboBox(); this.label3 = new System.Windows.Forms.Label(); this.label4 = new System.Windows.Forms.Label(); this.textBox1 = new Growl.Destinations.HighlightTextBox(); this.panelDetails.SuspendLayout(); this.SuspendLayout(); // // panelDetails // this.panelDetails.Controls.Add(this.textBox1); this.panelDetails.Controls.Add(this.label4); this.panelDetails.Controls.Add(this.label3); this.panelDetails.Controls.Add(this.comboBox2); this.panelDetails.Controls.Add(this.label2); this.panelDetails.Controls.Add(this.checkBox1); this.panelDetails.Controls.Add(this.label1); this.panelDetails.Controls.Add(this.comboBox1); this.panelDetails.Controls.Add(this.labelName); this.panelDetails.Controls.Add(this.textBoxName); this.panelDetails.Controls.Add(this.labelUrl); this.panelDetails.Controls.Add(this.textBoxUrl); // // textBoxUrl // this.textBoxUrl.HighlightColor = System.Drawing.Color.FromArgb(((int)(((byte)(254)))), ((int)(((byte)(250)))), ((int)(((byte)(184))))); this.textBoxUrl.Location = new System.Drawing.Point(88, 46); this.textBoxUrl.Name = "textBoxUrl"; this.textBoxUrl.Size = new System.Drawing.Size(227, 20); this.textBoxUrl.TabIndex = 2; this.textBoxUrl.TextChanged += new System.EventHandler(this.textBoxUrl_TextChanged); // // labelUrl // this.labelUrl.AutoSize = true; this.labelUrl.Location = new System.Drawing.Point(19, 49); this.labelUrl.Name = "labelUrl"; this.labelUrl.Size = new System.Drawing.Size(48, 13); this.labelUrl.TabIndex = 0; this.labelUrl.Text = "API Key:"; // // textBoxName // this.textBoxName.HighlightColor = System.Drawing.Color.FromArgb(((int)(((byte)(254)))), ((int)(((byte)(250)))), ((int)(((byte)(184))))); this.textBoxName.Location = new System.Drawing.Point(88, 20); this.textBoxName.Name = "textBoxName"; this.textBoxName.Size = new System.Drawing.Size(227, 20); this.textBoxName.TabIndex = 1; this.textBoxName.TextChanged += new System.EventHandler(this.textBoxName_TextChanged); // // labelName // this.labelName.AutoSize = true; this.labelName.Location = new System.Drawing.Point(19, 23); this.labelName.Name = "labelName"; this.labelName.Size = new System.Drawing.Size(63, 13); this.labelName.TabIndex = 3; this.labelName.Text = "Description:"; // // comboBox1 // this.comboBox1.FormattingEnabled = true; this.comboBox1.Items.AddRange(new object[] { "Very Low", "Moderate", "Normal", "High", "Emergency"}); this.comboBox1.Location = new System.Drawing.Point(209, 72); this.comboBox1.Name = "comboBox1"; this.comboBox1.Size = new System.Drawing.Size(106, 21); this.comboBox1.TabIndex = 6; this.comboBox1.SelectedIndex = 2; // // label1 // this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(19, 75); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(190, 13); this.label1.TabIndex = 7; this.label1.Text = "Only forward when priority is at LEAST:"; // // checkBox1 // this.checkBox1.AutoSize = true; this.checkBox1.Location = new System.Drawing.Point(22, 147); this.checkBox1.Name = "checkBox1"; this.checkBox1.Size = new System.Drawing.Size(173, 17); this.checkBox1.TabIndex = 9; this.checkBox1.Text = "Only forward when idle or away"; this.checkBox1.UseVisualStyleBackColor = true; // // label2 // this.label2.AutoSize = true; this.label2.Location = new System.Drawing.Point(19, 3); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(299, 13); this.label2.TabIndex = 10; this.label2.Text = "Note: Moderate and High are considered Normal to Pushover!"; // // comboBox2 // this.comboBox2.FormattingEnabled = true; this.comboBox2.Items.AddRange(new object[] { " ", "Pushover", "Bike", "Bugle", "Cashregister", "Classical", "Cosmic", "Falling", "Gamelan", "Incoming", "Intermission", "Magic", "Mechanical", "Pianobar", "Siren", "Spacealarm", "Tugboat", "None (silent)"}); this.comboBox2.Location = new System.Drawing.Point(209, 99); this.comboBox2.Name = "comboBox2"; this.comboBox2.Size = new System.Drawing.Size(106, 21); this.comboBox2.TabIndex = 11; this.comboBox2.SelectedIndex = 0; // // label3 // this.label3.AutoSize = true; this.label3.Location = new System.Drawing.Point(19, 102); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(184, 13); this.label3.TabIndex = 12; this.label3.Text = "Pushover notification sound(optional):"; // // label4 // this.label4.AutoSize = true; this.label4.Location = new System.Drawing.Point(20, 126); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(118, 13); this.label4.TabIndex = 13; this.label4.Text = "Device Name(optional):"; // // textBox1 // this.textBox1.HighlightColor = System.Drawing.Color.FromArgb(((int)(((byte)(254)))), ((int)(((byte)(250)))), ((int)(((byte)(184))))); this.textBox1.Location = new System.Drawing.Point(209, 126); this.textBox1.Name = "textBox1"; this.textBox1.Size = new System.Drawing.Size(106, 20); this.textBox1.TabIndex = 14; this.textBox1.TextChanged += new System.EventHandler(this.textBox1_TextChanged); // // WebhookInputs // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.Name = "WebhookInputs"; this.panelDetails.ResumeLayout(false); this.panelDetails.PerformLayout(); this.ResumeLayout(false); }