|
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Diagnostics;
namespace DesktopDict
{
/// <summary>
/// Summary description for frmHelp.
/// </summary>
public class frmHelp : System.Windows.Forms.Form
{
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.Label label5;
private System.Windows.Forms.Label label6;
private System.Windows.Forms.Label label7;
private System.Windows.Forms.Label label8;
private System.Windows.Forms.LinkLabel linkLabel1;
private System.Windows.Forms.Button cancelButton;
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.Container components = null;
public frmHelp()
{
//
// Required for Windows Form Designer support
//
InitializeComponent();
//
// TODO: Add any constructor code after InitializeComponent call
//
}
/// <summary>
/// Clean up any resources being used.
/// </summary>
protected override void Dispose( bool disposing )
{
if( disposing )
{
if(components != null)
{
components.Dispose();
}
}
base.Dispose( disposing );
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(frmHelp));
this.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.label3 = new System.Windows.Forms.Label();
this.label4 = new System.Windows.Forms.Label();
this.label5 = new System.Windows.Forms.Label();
this.label6 = new System.Windows.Forms.Label();
this.label7 = new System.Windows.Forms.Label();
this.label8 = new System.Windows.Forms.Label();
this.linkLabel1 = new System.Windows.Forms.LinkLabel();
this.cancelButton = new System.Windows.Forms.Button();
this.SuspendLayout();
//
// label1
//
this.label1.Location = new System.Drawing.Point(16, 7);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(456, 24);
this.label1.TabIndex = 0;
this.label1.Text = "1. Use either Alt+1 or Click on the tray Icon to show or Hide the text box to ent" +
"er the word. You can also use Esc button to hide the text box.";
//
// label2
//
this.label2.ForeColor = System.Drawing.Color.Navy;
this.label2.Location = new System.Drawing.Point(16, 43);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(456, 40);
this.label2.TabIndex = 1;
this.label2.Text = "2. Use Alt+2 to show the meaning of the word in clipboard. To find the meaning of" +
" a word, select the word for which you want to find the meaning and press Ctrl+C" +
" which moves the word into clipboard and then Press Alt+2 which will show you th" +
"e meaning.";
//
// label3
//
this.label3.Location = new System.Drawing.Point(16, 91);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(456, 51);
this.label3.TabIndex = 2;
this.label3.Text = @"3. This Desktop Dict uses the Encarta or Camebridge online dictionaries to show the meaning for a selected or entered word. To change the Encart to Camebredge and viceversa right click on the Icon and select the dictionary you would like to get the meaning.";
//
// label4
//
this.label4.ForeColor = System.Drawing.Color.Navy;
this.label4.Location = new System.Drawing.Point(16, 152);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(456, 24);
this.label4.TabIndex = 3;
this.label4.Text = "4. This Desktop Dict shows a popup with a random word for every 30 minutes from t" +
"he list of words you have previously selected.";
//
// label5
//
this.label5.Location = new System.Drawing.Point(16, 189);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(456, 40);
this.label5.TabIndex = 4;
this.label5.Text = "5. To stop the random word meaning popup, right click on the tray icon and click " +
"on the \'Stop Rem\' menu option. Again to get back the same you can click choose t" +
"he same option from context menu.";
//
// label6
//
this.label6.ForeColor = System.Drawing.Color.Navy;
this.label6.Location = new System.Drawing.Point(16, 237);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(456, 32);
this.label6.TabIndex = 5;
this.label6.Text = "6. You can change the random word meaning popup which is default to 30 minutes, b" +
"y right clicking on the tray Icon and selecting the \'Set Delay\' option from the " +
"context menu.";
//
// label7
//
this.label7.Location = new System.Drawing.Point(16, 277);
this.label7.Name = "label7";
this.label7.Size = new System.Drawing.Size(456, 32);
this.label7.TabIndex = 6;
this.label7.Text = "7. When you can\'t see the text box just on top of the tray, right click on the tr" +
"ay Icon and select the \'Set Resolution\' from the context menu.";
//
// label8
//
this.label8.ForeColor = System.Drawing.Color.Red;
this.label8.Location = new System.Drawing.Point(16, 317);
this.label8.Name = "label8";
this.label8.Size = new System.Drawing.Size(336, 16);
this.label8.TabIndex = 7;
this.label8.Text = "And finally if you find some thing is missing on this, contact me at";
//
// linkLabel1
//
this.linkLabel1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
this.linkLabel1.Location = new System.Drawing.Point(336, 317);
this.linkLabel1.Name = "linkLabel1";
this.linkLabel1.Size = new System.Drawing.Size(152, 16);
this.linkLabel1.TabIndex = 8;
this.linkLabel1.TabStop = true;
this.linkLabel1.Text = "bvsuresh_reddy@yahoo.com";
this.linkLabel1.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel1_LinkClicked);
//
// cancelButton
//
this.cancelButton.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(224)), ((System.Byte)(224)), ((System.Byte)(224)));
this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
this.cancelButton.Location = new System.Drawing.Point(432, 288);
this.cancelButton.Name = "cancelButton";
this.cancelButton.Size = new System.Drawing.Size(48, 23);
this.cancelButton.TabIndex = 9;
this.cancelButton.Text = "button1";
this.cancelButton.Visible = false;
this.cancelButton.Click += new System.EventHandler(this.cancelButton_Click);
//
// frmHelp
//
this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
this.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(192)));
this.CancelButton = this.cancelButton;
this.ClientSize = new System.Drawing.Size(484, 338);
this.Controls.Add(this.cancelButton);
this.Controls.Add(this.linkLabel1);
this.Controls.Add(this.label8);
this.Controls.Add(this.label7);
this.Controls.Add(this.label6);
this.Controls.Add(this.label5);
this.Controls.Add(this.label4);
this.Controls.Add(this.label3);
this.Controls.Add(this.label2);
this.Controls.Add(this.label1);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.KeyPreview = true;
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "frmHelp";
this.ShowInTaskbar = false;
this.Text = "Desktop Dict - Help";
this.TopMost = true;
this.Load += new System.EventHandler(this.frmHelp_Load);
this.ResumeLayout(false);
}
#endregion
private void linkLabel1_LinkClicked(object sender, System.Windows.Forms.LinkLabelLinkClickedEventArgs e)
{
string sentEmail = "bvsuresh_reddy@yahoo.com";
string subject = "Desktop Dictionary";
string body = "Desktop Dictionary " + "\r\n";
body += System.Threading.Thread.CurrentPrincipal.Identity.Name;
string msg = string.Format( "mailto:{0}?subject={1}&body={2}", sentEmail , subject, body);
Process.Start(msg);
}
private void frmHelp_Load(object sender, System.EventArgs e)
{
this.Left = Screen.PrimaryScreen.WorkingArea.Right - 490;
this.Top = Screen.PrimaryScreen.WorkingArea.Bottom - 360;
}
private void cancelButton_Click(object sender, System.EventArgs e)
{
this.Close();
}
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
I am Suresh Reddy B.V. Currently I am working on ASP.Net, C#.