Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / C# / November 2006

Tip: Looking for answers? Try searching our database.

How can I get the specific file handle information from a System.Diagnostics.Process.Start call?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
forest demon - 18 Nov 2006 05:42 GMT
for example, let's say I do something like,

System.Diagnostics.Process.Start("notepad.exe","sample.txt");

if the user does a SaveAs (in notepad), how can i capture the path that
the user selects?

thanks...
Dave Sexton - 18 Nov 2006 08:39 GMT
Hi,

> for example, let's say I do something like,
>
> System.Diagnostics.Process.Start("notepad.exe","sample.txt");
>
> if the user does a SaveAs (in notepad), how can i capture the path that
> the user selects?

I don't think that's possible, but why run notepad when you could very easily
create the same basic functionality (probably all functionality) yourself in
your own application?

(I realize that you might not really need notepad, in particular, but the code
here was fun to write anyway :)

After my signature is the code for something very similar to Notepad, which
I'll call Textpad (already in use?).

Notes:

- My code targets the 2.0 framework and VS 2005
- I did not add any exception handling logic

- To make this work you must:

   1. add a new Windows Form file to an existing VS 2005 project
   2. name it, "Textpad.cs"
   3. close the Form designer for Textpad, if it's open
   4. replace the Textpad.cs content with the content from my Textpad.cs file
(below).
   5. replace the designer class content generated by VS
(Textpad.designer.cs)
       with the content from my Textpad.designer.cs file (second file below).
   6. replace the "Textpad.resx" content with the content from my mine (last
file below).
   7. open the Textpad Form in the designer and make sure there are no
designer errors.

Signature

Dave Sexton

{Textpad.cs file}

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Drawing.Printing;
using System.IO;

namespace TextpadApp
{
public partial class Textpad : Form
{
 #region Public Properties
 public static readonly string SupportedFileTypeFilter = "Text Document
(*.txt)|*.txt|All Files (*.*)|*.*";
 #endregion

 #region Private / Protected
 private string filePath;
 private bool dirty;
 #endregion

 #region Constructors
 public Textpad()
 {
  InitializeComponent();

  Environment.CurrentDirectory =
Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments);

  ResetState();
 }
 #endregion

 #region Methods
 private void ResetState()
 {
  filePath = null;
  txtInput.Text = null;
  this.Text = "Textpad - New Document";
  dirty = false;
 }

 private void SyncDocumentToFile(string filePath)
 {
  this.filePath = filePath;
  this.Text = "Textpad - " + Path.GetFileName(filePath);
  dirty = false;
 }

 private void OpenDocument(string filePath)
 {
  txtInput.Text = File.ReadAllText(filePath, Encoding.ASCII);

  // this method must be called AFTER txtInput is modified so that
  // the TextChanged property doesn't set dirty to true again
  SyncDocumentToFile(filePath);
 }

 private void SaveDocument()
 {
  if (filePath != null)
   SaveDocument(filePath);
  else
   UserSaveAs();
 }

 private void SaveDocument(string filePath)
 {
  File.WriteAllText(filePath, txtInput.Text, Encoding.ASCII);

  SyncDocumentToFile(filePath);
 }

 private void UserSaveAs()
 {
  using (SaveFileDialog dialog = new SaveFileDialog())
  {
   dialog.CheckFileExists = false;
   dialog.CheckPathExists = true;
   dialog.AddExtension = true;
   dialog.CreatePrompt = false;
   dialog.DefaultExt = "txt";
   dialog.FileName = filePath ?? "NewDocument.txt";
   dialog.Filter = SupportedFileTypeFilter;
   dialog.FilterIndex = 0;  // *.txt
   dialog.OverwritePrompt = true;
   dialog.Title = "Save Document";

   if (dialog.ShowDialog(this) == DialogResult.OK)
    SaveDocument(dialog.FileName);
  }
 }

 private bool EnsureDocumentSaved()
 {
  if (dirty)
  {
   switch (MessageBox.Show(this,
    string.Format("There are unsaved changes to the current document.{0}{0}"
+
     "Do you want the changes saved before continuing?",
Environment.NewLine),
    "Save Changes?", MessageBoxButtons.YesNoCancel, MessageBoxIcon.Question,
MessageBoxDefaultButton.Button1))
   {
    case DialogResult.Yes:
     SaveDocument();
     break;
    case DialogResult.Cancel:
     return false;
   }
  }

  return true;
 }

 private void InitializePrintDocument(PrintDocument document)
 {
  if (txtInput.TextLength == 0)
   // nothing to print, so nothing to be initialized :)
   return;

  string text = txtInput.Text;

  string[] lines = text.Split(new string[] { "\r\n" },
StringSplitOptions.None);

  Font font = txtInput.Font;

  StringFormat format = StringFormat.GenericDefault;
  format.FormatFlags |= StringFormatFlags.MeasureTrailingSpaces |
StringFormatFlags.LineLimit;

  int page = 0;
  int remainder = lines.Length;

  document.BeginPrint += delegate(object sender, PrintEventArgs e)
  // this event handler is required because when the print
  // preview dialog attempts to print the document the state
  // of the local variables will have been retained.  reset them:
  {
   page = 0;
   remainder = lines.Length;
  };

  document.PrintPage += delegate(object sender, PrintPageEventArgs e)
  {
   int nPageChars, nPageLines;
   SizeF size = e.Graphics.MeasureString(text, font, e.MarginBounds.Size,
format, out nPageChars, out nPageLines);

   string pageText = string.Join("\r\n", lines, page++ * nPageLines,
Math.Min(remainder, nPageLines));

   RectangleF bounds = new RectangleF(e.MarginBounds.X, e.MarginBounds.Y,
e.MarginBounds.Width, e.MarginBounds.Height);

   e.Graphics.DrawString(pageText, font, Brushes.Black, bounds, format);

   remainder -= nPageLines;

   e.HasMorePages = remainder > 0;
  };
 }
 #endregion

 #region Event Handlers
 private void exitToolStripMenuItem_Click(object sender, EventArgs e)
 {
  Application.Exit();
 }

 private void printToolStripMenuItem_Click(object sender, EventArgs e)
 {
  PrintDocument document = new PrintDocument();
  InitializePrintDocument(document);

  using (PrintDialog dialog = new PrintDialog())
  {
   // This line will be useful in case InitializePrintDocument
   // is extended to configure page settings
   dialog.Document = document;

   if (dialog.ShowDialog(this) == DialogResult.OK)
    document.Print();
  }
 }

 private void printPreviewToolStripMenuItem_Click(object sender, EventArgs e)
 {
  PrintDocument document = new PrintDocument();
  InitializePrintDocument(document);

  using (PrintPreviewDialog dialog = new PrintPreviewDialog())
  {
   dialog.Document = document;
   dialog.ShowDialog(this);
  }
 }

 private void newToolStripMenuItem_Click(object sender, EventArgs e)
 {
  if (!EnsureDocumentSaved())
   return;

  ResetState();
 }

 private void openToolStripMenuItem_Click(object sender, EventArgs e)
 {
  if (!EnsureDocumentSaved())
   return;

  using (OpenFileDialog dialog = new OpenFileDialog())
  {
   dialog.CheckFileExists = true;
   dialog.CheckPathExists = true;
   dialog.AddExtension = true;
   dialog.DefaultExt = "txt";
   dialog.Filter = SupportedFileTypeFilter;
   dialog.FilterIndex = 0;  // *.txt
   dialog.RestoreDirectory = false;
   dialog.Title = "Open Document";

   if (dialog.ShowDialog(this) == DialogResult.OK)
    OpenDocument(dialog.FileName);
  }
 }

 private void saveToolStripMenuItem_Click(object sender, EventArgs e)
 {
  SaveDocument();
 }

 private void saveAsToolStripMenuItem_Click(object sender, EventArgs e)
 {
  UserSaveAs();
 }

 private void undoToolStripMenuItem_Click(object sender, EventArgs e)
 {
  txtInput.Undo();
 }

 private void cutToolStripMenuItem_Click(object sender, EventArgs e)
 {
  txtInput.Cut();
 }

 private void copyToolStripMenuItem_Click(object sender, EventArgs e)
 {
  txtInput.Copy();
 }

 private void pasteToolStripMenuItem_Click(object sender, EventArgs e)
 {
  txtInput.Paste();
 }

 private void selectAllToolStripMenuItem_Click(object sender, EventArgs e)
 {
  txtInput.SelectAll();
 }

 private void aboutToolStripMenuItem_Click(object sender, EventArgs e)
 {
  MessageBox.Show(this, string.Format("Textpad{0}{0}Written by Dave Sexton
(2006)", Environment.NewLine),
   "About Textpad", MessageBoxButtons.OK, MessageBoxIcon.Information);
 }

 private void txtInput_TextChanged(object sender, EventArgs e)
 {
  if (!dirty)
   this.Text += "*";

  dirty = true;
 }

 protected override void OnFormClosing(FormClosingEventArgs e)
 {
  if (!EnsureDocumentSaved())
   e.Cancel = true;

  base.OnFormClosing(e);
 }
 #endregion
}
}

-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --  
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --  
-- -- -- -- -- -- -- -- -- --
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --  
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --  
-- -- -- -- -- -- -- -- -- --
{Textpad.designer.cs file}

namespace TextpadApp
{
partial class Textpad
{
 /// <summary>
 /// Required designer variable.
 /// </summary>
 private System.ComponentModel.IContainer components = null;

 /// <summary>
 /// Clean up any resources being used.
 /// </summary>
 /// <param name="disposing">true if managed resources should be disposed;
otherwise, false.</param>
 protected override void Dispose(bool disposing)
 {
  if (disposing && (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.ComponentModel.ComponentResourceManager resources = new
System.ComponentModel.ComponentResourceManager(typeof(Textpad));
  this.txtInput = new System.Windows.Forms.TextBox();
  this.menuStrip1 = new System.Windows.Forms.MenuStrip();
  this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
  this.newToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
  this.openToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
  this.toolStripSeparator = new System.Windows.Forms.ToolStripSeparator();
  this.saveToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
  this.saveAsToolStripMenuItem = new
System.Windows.Forms.ToolStripMenuItem();
  this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
  this.printToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
  this.printPreviewToolStripMenuItem = new
System.Windows.Forms.ToolStripMenuItem();
  this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
  this.exitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
  this.editToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
  this.undoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
  this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator();
  this.cutToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
  this.copyToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
  this.pasteToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
  this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator();
  this.selectAllToolStripMenuItem = new
System.Windows.Forms.ToolStripMenuItem();
  this.toolsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
  this.customizeToolStripMenuItem = new
System.Windows.Forms.ToolStripMenuItem();
  this.optionsToolStripMenuItem = new
System.Windows.Forms.ToolStripMenuItem();
  this.helpToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
  this.contentsToolStripMenuItem = new
System.Windows.Forms.ToolStripMenuItem();
  this.indexToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
  this.searchToolStripMenuItem = new
System.Windows.Forms.ToolStripMenuItem();
  this.toolStripSeparator5 = new System.Windows.Forms.ToolStripSeparator();
  this.aboutToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
  this.menuStrip1.SuspendLayout();
  this.SuspendLayout();
  //
  // txtInput
  //
  this.txtInput.AcceptsReturn = true;
  this.txtInput.AcceptsTab = true;
  this.txtInput.Dock = System.Windows.Forms.DockStyle.Fill;
  this.txtInput.Location = new System.Drawing.Point(0, 24);
  this.txtInput.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
  this.txtInput.MaxLength = 2147483647;
  this.txtInput.Multiline = true;
  this.txtInput.Name = "txtInput";
  this.txtInput.ScrollBars = System.Windows.Forms.ScrollBars.Both;
  this.txtInput.Size = new System.Drawing.Size(613, 351);
  this.txtInput.TabIndex = 0;
  this.txtInput.WordWrap = false;
  this.txtInput.TextChanged += new
System.EventHandler(this.txtInput_TextChanged);
  //
  // menuStrip1
  //
  this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
           this.fileToolStripMenuItem,
           this.editToolStripMenuItem,
           this.toolsToolStripMenuItem,
           this.helpToolStripMenuItem});
  this.menuStrip1.Location = new System.Drawing.Point(0, 0);
  this.menuStrip1.Name = "menuStrip1";
  this.menuStrip1.Padding = new System.Windows.Forms.Padding(8, 2, 0, 2);
  this.menuStrip1.Size = new System.Drawing.Size(613, 24);
  this.menuStrip1.TabIndex = 1;
  this.menuStrip1.Text = "menuStrip1";
  //
  // fileToolStripMenuItem
  //
  this.fileToolStripMenuItem.DropDownItems.AddRange(new
System.Windows.Forms.ToolStripItem[] {
           this.newToolStripMenuItem,
           this.openToolStripMenuItem,
           this.toolStripSeparator,
           this.saveToolStripMenuItem,
           this.saveAsToolStripMenuItem,
           this.toolStripSeparator1,
           this.printToolStripMenuItem,
           this.printPreviewToolStripMenuItem,
           this.toolStripSeparator2,
           this.exitToolStripMenuItem});
  this.fileToolStripMenuItem.Name = "fileToolStripMenuItem";
  this.fileToolStripMenuItem.Size = new System.Drawing.Size(35, 20);
  this.fileToolStripMenuItem.Text = "&File";
  //
  // newToolStripMenuItem
  //
  this.newToolStripMenuItem.Image = ((System.Drawing.Image)
(resources.GetObject("newToolStripMenuItem.Image")));
  this.newToolStripMenuItem.ImageTransparentColor =
System.Drawing.Color.Magenta;
  this.newToolStripMenuItem.Name = "newToolStripMenuItem";
  this.newToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)
((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.N)));
  this.newToolStripMenuItem.Size = new System.Drawing.Size(151, 22);
  this.newToolStripMenuItem.Text = "&New";
  this.newToolStripMenuItem.Click += new
System.EventHandler(this.newToolStripMenuItem_Click);
  //
  // openToolStripMenuItem
  //
  this.openToolStripMenuItem.Image = ((System.Drawing.Image)
(resources.GetObject("openToolStripMenuItem.Image")));
  this.openToolStripMenuItem.ImageTransparentColor =
System.Drawing.Color.Magenta;
  this.openToolStripMenuItem.Name = "openToolStripMenuItem";
  this.openToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)
((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.O)));
  this.openToolStripMenuItem.Size = new System.Drawing.Size(151, 22);
  this.openToolStripMenuItem.Text = "&Open";
  this.openToolStripMenuItem.Click += new
System.EventHandler(this.openToolStripMenuItem_Click);
  //
  // toolStripSeparator
  //
  this.toolStripSeparator.Name = "toolStripSeparator";
  this.toolStripSeparator.Size = new System.Drawing.Size(148, 6);
  //
  // saveToolStripMenuItem
  //
  this.saveToolStripMenuItem.Image = ((System.Drawing.Image)
(resources.GetObject("saveToolStripMenuItem.Image")));
  this.saveToolStripMenuItem.ImageTransparentColor =
System.Drawing.Color.Magenta;
  this.saveToolStripMenuItem.Name = "saveToolStripMenuItem";
  this.saveToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)
((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.S)));
  this.saveToolStripMenuItem.Size = new System.Drawing.Size(151, 22);
  this.saveToolStripMenuItem.Text = "&Save";
  this.saveToolStripMenuItem.Click += new
System.EventHandler(this.saveToolStripMenuItem_Click);
  //
  // saveAsToolStripMenuItem
  //
  this.saveAsToolStripMenuItem.Name = "saveAsToolStripMenuItem";
  this.saveAsToolStripMenuItem.Size = new System.Drawing.Size(151, 22);
  this.saveAsToolStripMenuItem.Text = "Save &As";
  this.saveAsToolStripMenuItem.Click += new
System.EventHandler(this.saveAsToolStripMenuItem_Click);
  //
  // toolStripSeparator1
  //
  this.toolStripSeparator1.Name = "toolStripSeparator1";
  this.toolStripSeparator1.Size = new System.Drawing.Size(148, 6);
  //
  // printToolStripMenuItem
  //
  this.printToolStripMenuItem.Image = ((System.Drawing.Image)
(resources.GetObject("printToolStripMenuItem.Image")));
  this.printToolStripMenuItem.ImageTransparentColor =
System.Drawing.Color.Magenta;
  this.printToolStripMenuItem.Name = "printToolStripMenuItem";
  this.printToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)
((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.P)));
  this.printToolStripMenuItem.Size = new System.Drawing.Size(151, 22);
  this.printToolStripMenuItem.Text = "&Print";
  this.printToolStripMenuItem.Click += new
System.EventHandler(this.printToolStripMenuItem_Click);
  //
  // printPreviewToolStripMenuItem
  //
  this.printPreviewToolStripMenuItem.Image = ((System.Drawing.Image)
(resources.GetObject("printPreviewToolStripMenuItem.Image")));
  this.printPreviewToolStripMenuItem.ImageTransparentColor =
System.Drawing.Color.Magenta;
  this.printPreviewToolStripMenuItem.Name = "printPreviewToolStripMenuItem";
  this.printPreviewToolStripMenuItem.Size = new System.Drawing.Size(151, 22);
  this.printPreviewToolStripMenuItem.Text = "Print Pre&view";
  this.printPreviewToolStripMenuItem.Click += new
System.EventHandler(this.printPreviewToolStripMenuItem_Click);
  //
  // toolStripSeparator2
  //
  this.toolStripSeparator2.Name = "toolStripSeparator2";
  this.toolStripSeparator2.Size = new System.Drawing.Size(148, 6);
  //
  // exitToolStripMenuItem
  //
  this.exitToolStripMenuItem.Name = "exitToolStripMenuItem";
  this.exitToolStripMenuItem.Size = new System.Drawing.Size(151, 22);
  this.exitToolStripMenuItem.Text = "E&xit";
  this.exitToolStripMenuItem.Click += new
System.EventHandler(this.exitToolStripMenuItem_Click);
  //
  // editToolStripMenuItem
  //
  this.editToolStripMenuItem.DropDownItems.AddRange(new
System.Windows.Forms.ToolStripItem[] {
           this.undoToolStripMenuItem,
           this.toolStripSeparator3,
           this.cutToolStripMenuItem,
           this.copyToolStripMenuItem,
           this.pasteToolStripMenuItem,
           this.toolStripSeparator4,
           this.selectAllToolStripMenuItem});
  this.editToolStripMenuItem.Name = "editToolStripMenuItem";
  this.editToolStripMenuItem.Size = new System.Drawing.Size(37, 20);
  this.editToolStripMenuItem.Text = "&Edit";
  //
  // undoToolStripMenuItem
  //
  this.undoToolStripMenuItem.Name = "undoToolStripMenuItem";
  this.undoToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)
((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Z)));
  this.undoToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
  this.undoToolStripMenuItem.Text = "&Undo";
  this.undoToolStripMenuItem.Click += new
System.EventHandler(this.undoToolStripMenuItem_Click);
  //
  // toolStripSeparator3
  //
  this.toolStripSeparator3.Name = "toolStripSeparator3";
  this.toolStripSeparator3.Size = new System.Drawing.Size(149, 6);
  //
  // cutToolStripMenuItem
  //
  this.cutToolStripMenuItem.Image = ((System.Drawing.Image)
(resources.GetObject("cutToolStripMenuItem.Image")));
  this.cutToolStripMenuItem.ImageTransparentColor =
System.Drawing.Color.Magenta;
  this.cutToolStripMenuItem.Name = "cutToolStripMenuItem";
  this.cutToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)
((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.X)));
  this.cutToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
  this.cutToolStripMenuItem.Text = "Cu&t";
  this.cutToolStripMenuItem.Click += new
System.EventHandler(this.cutToolStripMenuItem_Click);
  //
  // copyToolStripMenuItem
  //
  this.copyToolStripMenuItem.Image = ((System.Drawing.Image)
(resources.GetObject("copyToolStripMenuItem.Image")));
  this.copyToolStripMenuItem.ImageTransparentColor =
System.Drawing.Color.Magenta;
  this.copyToolStripMenuItem.Name = "copyToolStripMenuItem";
  this.copyToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)
((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.C)));
  this.copyToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
  this.copyToolStripMenuItem.Text = "&Copy";
  this.copyToolStripMenuItem.Click += new
System.EventHandler(this.copyToolStripMenuItem_Click);
  //
  // pasteToolStripMenuItem
  //
  this.pasteToolStripMenuItem.Image = ((System.Drawing.Image)
(resources.GetObject("pasteToolStripMenuItem.Image")));
  this.pasteToolStripMenuItem.ImageTransparentColor =
System.Drawing.Color.Magenta;
  this.pasteToolStripMenuItem.Name = "pasteToolStripMenuItem";
  this.pasteToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)
((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.V)));
  this.pasteToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
  this.pasteToolStripMenuItem.Text = "&Paste";
  this.pasteToolStripMenuItem.Click += new
System.EventHandler(this.pasteToolStripMenuItem_Click);
  //
  // toolStripSeparator4
  //
  this.toolStripSeparator4.Name = "toolStripSeparator4";
  this.toolStripSeparator4.Size = new System.Drawing.Size(149, 6);
  //
  // selectAllToolStripMenuItem
  //
  this.selectAllToolStripMenuItem.Name = "selectAllToolStripMenuItem";
  this.selectAllToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
  this.selectAllToolStripMenuItem.Text = "Select &All";
  this.selectAllToolStripMenuItem.Click += new
System.EventHandler(this.selectAllToolStripMenuItem_Click);
  //
  // toolsToolStripMenuItem
  //
  this.toolsToolStripMenuItem.DropDownItems.AddRange(new
System.Windows.Forms.ToolStripItem[] {
           this.customizeToolStripMenuItem,
           this.optionsToolStripMenuItem});
  this.toolsToolStripMenuItem.Name = "toolsToolStripMenuItem";
  this.toolsToolStripMenuItem.Size = new System.Drawing.Size(44, 20);
  this.toolsToolStripMenuItem.Text = "&Tools";
  this.toolsToolStripMenuItem.Visible = false;
  //
  // customizeToolStripMenuItem
  //
  this.customizeToolStripMenuItem.Name = "customizeToolStripMenuItem";
  this.customizeToolStripMenuItem.Size = new System.Drawing.Size(134, 22);
  this.customizeToolStripMenuItem.Text = "&Customize";
  //
  // optionsToolStripMenuItem
  //
  this.optionsToolStripMenuItem.Name = "optionsToolStripMenuItem";
  this.optionsToolStripMenuItem.Size = new System.Drawing.Size(134, 22);
  this.optionsToolStripMenuItem.Text = "&Options";
  //
  // helpToolStripMenuItem
  //
  this.helpToolStripMenuItem.DropDownItems.AddRange(new
System.Windows.Forms.ToolStripItem[] {
           this.contentsToolStripMenuItem,
           this.indexToolStripMenuItem,
           this.searchToolStripMenuItem,
           this.toolStripSeparator5,
           this.aboutToolStripMenuItem});
  this.helpToolStripMenuItem.Name = "helpToolStripMenuItem";
  this.helpToolStripMenuItem.Size = new System.Drawing.Size(40, 20);
  this.helpToolStripMenuItem.Text = "&Help";
  //
  // contentsToolStripMenuItem
  //
  this.contentsToolStripMenuItem.Name = "contentsToolStripMenuItem";
  this.contentsToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
  this.contentsToolStripMenuItem.Text = "&Contents";
  this.contentsToolStripMenuItem.Visible = false;
  //
  // indexToolStripMenuItem
  //
  this.indexToolStripMenuItem.Name = "indexToolStripMenuItem";
  this.indexToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
  this.indexToolStripMenuItem.Text = "&Index";
  this.indexToolStripMenuItem.Visible = false;
  //
  // searchToolStripMenuItem
  //
  this.searchToolStripMenuItem.Name = "searchToolStripMenuItem";
  this.searchToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
  this.searchToolStripMenuItem.Text = "&Search";
  this.searchToolStripMenuItem.Visible = false;
  //
  // toolStripSeparator5
  //
  this.toolStripSeparator5.Name = "toolStripSeparator5";
  this.toolStripSeparator5.Size = new System.Drawing.Size(149, 6);
  this.toolStripSeparator5.Visible = false;
  //
  // aboutToolStripMenuItem
  //
  this.aboutToolStripMenuItem.Name = "aboutToolStripMenuItem";
  this.aboutToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
  this.aboutToolStripMenuItem.Text = "&About...";
  this.aboutToolStripMenuItem.Click += new
System.EventHandler(this.aboutToolStripMenuItem_Click);
  //
  // Textpad
  //
  this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 13F);
  this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
  this.ClientSize = new System.Drawing.Size(613, 375);
  this.Controls.Add(this.txtInput);
  this.Controls.Add(this.menuStrip1);
  this.DoubleBuffered = true;
  this.Font = new System.Drawing.Font("Lucida Console", 9.75F,
System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)
(0)));
  this.MainMenuStrip = this.menuStrip1;
  this.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
  this.Name = "Textpad";
  this.Text = "Textpad";
  this.menuStrip1.ResumeLayout(false);
  this.menuStrip1.PerformLayout();
  this.ResumeLayout(false);
  this.PerformLayout();

 }

 #endregion

 private System.Windows.Forms.TextBox txtInput;
 private System.Windows.Forms.MenuStrip menuStrip1;
 private System.Windows.Forms.ToolStripMenuItem fileToolStripMenuItem;
 private System.Windows.Forms.ToolStripMenuItem newToolStripMenuItem;
 private System.Windows.Forms.ToolStripMenuItem openToolStripMenuItem;
 private System.Windows.Forms.ToolStripSeparator toolStripSeparator;
 private System.Windows.Forms.ToolStripMenuItem saveToolStripMenuItem;
 private System.Windows.Forms.ToolStripMenuItem saveAsToolStripMenuItem;
 private System.Windows.Forms.ToolStripSeparator toolStripSeparator1;
 private System.Windows.Forms.ToolStripMenuItem printToolStripMenuItem;
 private System.Windows.Forms.ToolStripMenuItem
printPreviewToolStripMenuItem;
 private System.Windows.Forms.ToolStripSeparator toolStripSeparator2;
 private System.Windows.Forms.ToolStripMenuItem exitToolStripMenuItem;
 private System.Windows.Forms.ToolStripMenuItem editToolStripMenuItem;
 private System.Windows.Forms.ToolStripMenuItem undoToolStripMenuItem;
 private System.Windows.Forms.ToolStripSeparator toolStripSeparator3;
 private System.Windows.Forms.ToolStripMenuItem cutToolStripMenuItem;
 private System.Windows.Forms.ToolStripMenuItem copyToolStripMenuItem;
 private System.Windows.Forms.ToolStripMenuItem pasteToolStripMenuItem;
 private System.Windows.Forms.ToolStripSeparator toolStripSeparator4;
 private System.Windows.Forms.ToolStripMenuItem selectAllToolStripMenuItem;
 private System.Windows.Forms.ToolStripMenuItem toolsToolStripMenuItem;
 private System.Windows.Forms.ToolStripMenuItem customizeToolStripMenuItem;
 private System.Windows.Forms.ToolStripMenuItem optionsToolStripMenuItem;
 private System.Windows.Forms.ToolStripMenuItem helpToolStripMenuItem;
 private System.Windows.Forms.ToolStripMenuItem contentsToolStripMenuItem;
 private System.Windows.Forms.ToolStripMenuItem indexToolStripMenuItem;
 private System.Windows.Forms.ToolStripMenuItem searchToolStripMenuItem;
 private System.Windows.Forms.ToolStripSeparator toolStripSeparator5;
 private System.Windows.Forms.ToolStripMenuItem aboutToolStripMenuItem;
}
}

-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --  
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --  
-- -- -- -- -- -- -- -- -- --
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --  
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --  
-- -- -- -- -- -- -- -- -- --
{Textpad.resx file}

<?xml version="1.0" encoding="utf-8"?>
<root>
 <!--
   Microsoft ResX Schema

   Version 2.0

   The primary goals of this format is to allow a simple XML format
   that is mostly human readable. The generation and parsing of the
   various data types are done through the TypeConverter classes
   associated with the data types.

   Example:

   ... ado.net/XML headers & schema ...
   <resheader name="resmimetype">text/microsoft-resx</resheader>
   <resheader name="version">2.0</resheader>
   <resheader name="reader">System.Resources.ResXResourceReader,
System.Windows.Forms, ...</resheader>
   <resheader name="writer">System.Resources.ResXResourceWriter,
System.Windows.Forms, ...</resheader>
   <data name="Name1"><value>this is my long string</value><comment>this is a
comment</comment></data>
   <data name="Color1" type="System.Drawing.Color,
System.Drawing">Blue</data>
   <data name="Bitmap1"
mimetype="application/x-microsoft.net.object.binary.base64">
       <value>[base64 mime encoded serialized .NET Framework object]</value>
   </data>
   <data name="Icon1" type="System.Drawing.Icon, System.Drawing"
mimetype="application/x-microsoft.net.object.bytearray.base64">
       <value>[base64 mime encoded string representing a byte array form of
the .NET Framework object]</value>
       <comment>This is a comment</comment>
   </data>

   There are any number of "resheader" rows that contain simple
   name/value pairs.

   Each data row contains a name, and value. The row also contains a
   type or mimetype. Type corresponds to a .NET class that support
   text/value conversion through the TypeConverter architecture.
   Classes that don't support this are serialized and stored with the
   mimetype set.

   The mimetype is used for serialized objects, and tells the
   ResXResourceReader how to depersist the object. This is currently not
   extensible. For a given mimetype the value must be set accordingly:

   Note - application/x-microsoft.net.object.binary.base64 is the format
   that the ResXResourceWriter will generate, however the reader can
   read any of the formats listed below.

   mimetype: application/x-microsoft.net.object.binary.base64
   value   : The object must be serialized with
           : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
           : and then encoded with base64 encoding.

   mimetype: application/x-microsoft.net.object.soap.base64
   value   : The object must be serialized with
           : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
           : and then encoded with base64 encoding.

   mimetype: application/x-microsoft.net.object.bytearray.base64
   value   : The object must be serialized into a byte array
           : using a System.ComponentModel.TypeConverter
           : and then encoded with base64 encoding.
   -->
 <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
   <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
   <xsd:element name="root" msdata:IsDataSet="true">
     <xsd:complexType>
       <xsd:choice maxOccurs="unbounded">
         <xsd:element name="metadata">
           <xsd:complexType>
             <xsd:sequence>
               <xsd:element name="value" type="xsd:string" minOccurs="0" />
             </xsd:sequence>
             <xsd:attribute name="name" use="required" type="xsd:string" />
             <xsd:attribute name="type" type="xsd:string" />
             <xsd:attribute name="mimetype" type="xsd:string" />
             <xsd:attribute ref="xml:space" />
           </xsd:complexType>
         </xsd:element>
         <xsd:element name="assembly">
           <xsd:complexType>
             <xsd:attribute name="alias" type="xsd:string" />
             <xsd:attribute name="name" type="xsd:string" />
           </xsd:complexType>
         </xsd:element>
         <xsd:element name="data">
           <xsd:complexType>
             <xsd:sequence>
               <xsd:element name="value" type="xsd:string" minOccurs="0"
msdata:Ordinal="1" />
               <xsd:element name="comment" type="xsd:string" minOccurs="0"
msdata:Ordinal="2" />
             </xsd:sequence>
             <xsd:attribute name="name" type="xsd:string" use="required"
msdata:Ordinal="1" />
             <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3"
/>
             <xsd:attribute name="mimetype" type="xsd:string"
msdata:Ordinal="4" />
             <xsd:attribute ref="xml:space" />
           </xsd:complexType>
         </xsd:element>
         <xsd:element name="resheader">
           <xsd:complexType>
             <xsd:sequence>
               <xsd:element name="value" type="xsd:string" minOccurs="0"
msdata:Ordinal="1" />
             </xsd:sequence>
             <xsd:attribute name="name" type="xsd:string" use="required" />
           </xsd:complexType>
         </xsd:element>
       </xsd:choice>
     </xsd:complexType>
   </xsd:element>
 </xsd:schema>
 <resheader name="resmimetype">
   <value>text/microsoft-resx</value>
 </resheader>
 <resheader name="version">
   <value>2.0</value>
 </resheader>
 <resheader name="reader">
   <value>System.Resources.ResXResourceReader, System.Windows.Forms,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
 </resheader>
 <resheader name="writer">
   <value>System.Resources.ResXResourceWriter, System.Windows.Forms,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
 </resheader>
 <metadata name="menuStrip1.TrayLocation" type="System.Drawing.Point,
System.Drawing, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a">
   <value>17, 17</value>
 </metadata>
 <assembly alias="System.Drawing" name="System.Drawing, Version=2.0.0.0,
Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
 <data name="newToolStripMenuItem.Image" type="System.Drawing.Bitmap,
System.Drawing"
mimetype="application/x-microsoft.net.object.bytearray.base64">
   <value>
       iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
       YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAQ9JREFUOE+t09lq
       wkAUBmBfyr5DfY32jaReSOmFCyKCgkKLFrVUBZeKiEbshqRuaNw1xiXmLxMJBJ0Zc+GBw9zMfDPnHMZm
       u1ZE35s4zXCqjmC8Al+sgHLjD9y7yGFWPIbecOO45yORtMAEHnxxJHL1IyKI9JeEXqtMwOl50Q8bSS0l
       8PzBBPbqAQQxICrgjeapgKZpkJUdBmNZB+y3d/QSnsIZKrDdqZjMFYj9OR9wB1NngHrQsJC36EkrfIkT
       PuDyJ84AZbOHNF2j1Z2h9i3xAVKfOUjjZssN2oMFmq0xSkLfOmBu3E97iurnENlKxzpgbpzwO0Kh1kOy
       KFoDjHmzVuYYjRmTDZfyWh9Yd/4B2Mz2w1z7EGUAAAAASUVORK5CYII=
</value>
 </data>
 <data name="openToolStripMenuItem.Image" type="System.Drawing.Bitmap,
System.Drawing"
mimetype="application/x-microsoft.net.object.bytearray.base64">
   <value>
       iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
       YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAlpJREFUOE+tk21I
       k1EYhif0oyA0sqIQCix/+GcQFFH9CCmiUBTLLEjShJofVBgL2fxoU9Pp5ubUlS5rU9f8rCyjsA+pUCRC
       TR1ppmVFUSlmhq78unrnQF1KGHTg/nEOz30993PO+7qJFrmUeiv2n+Mij+XLRLLYULdF2pxlEVIDcw0p
       AsyxD5fmI/rQ94pqi26eOlsfuZj+7BgSm01QdA4ih7m73Yx9qGpavwatjPebqCzOprPt8YKQgzFagqL0
       BEjyEFWVaBkdLHMxT34uYNwWR9nVTEoL0zHlp2DMSeaSRk6eKt4VWm5WM/rVPNN5SjDTLQebZEHNA1wr
       UvHjk3E6tsNcV62e1r3KLGqtKm6WplNpSsVqVFJsOM8VfSKFWjkGtcyZptSYzvC7XByx3zQoqCnTMvlG
       CX1prnornPUmQJcUXsbSVhGK5bIOkcmQyveeTHiv4VZ5Nk33Nc6iuSO8CIfmECYa/bE/8ON1iRipJNh5
       F0V6Bd86lfQ1JlFj1TDVq4COKCegLVIwHmGiKRB7/V6G7+5koHozymgfYRy5E1CgTWKgXcZ1i5qWp0KS
       rjgBcAJawph6FszYk/2M1O1isGYLX8p9ab6wgqP+3rMvYciS01GfzA1LFvQkQ6sQ9/khxhoCGHnox1Dt
       NvorxXw0b8Km8UQh2cip6GOzgNyMeKqKM7HdjqFZJ5pRk2YJ9aql3EnxoCJxNaZ4Ly6e3UDY3O6OEXRp
       59ApTpIhiyDh9GHORAZyPHQPB/ZtZ/cOMVvFPvh6e7F+3SrWrHRnraf7Xz/xf/rJ/kvxb84I3U1y+9/W
       AAAAAElFTkSuQmCC
</value>
 </data>
 <data name="saveToolStripMenuItem.Image" type="System.Drawing.Bitmap,
System.Drawing"
mimetype="application/x-microsoft.net.object.bytearray.base64">
   <value>
       iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
       YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAixJREFUOE+tk91L
       k3EUx/cvdN9N0EW3NTWGa7EaPOUcyqphWBG9PZEv5dJlmqhYmUYtXyBb4dJJy+kknFT4BqZIjaFMJUsz
       V7TEoabYRDD49ju/6Pm1Mi+iH5zLz+c855zvo1L9j/fsaRRUvvZltHmX8Ni9gMaGCO47ZlBb8wn22yHc
       KJ9CackECgteIy93FBfOB6H0JrC3B6ipXsVGb2V1Dca0XhxOe8JLEXhbF7mgsuLLX3mCIwsr2G1+DrVa
       huWQRwjcj+a5oLTk87qCn/D78CLiTD4UXJ7GAXOTEDjrZ7ngku3dH4Jf4ZHJCLZJXlhzxpGa4hSCurth
       LsjOGo0R/A4PBsPYrHdDlgMwmRxCUF31kQvkMwFFsB7c4/+ATYkNOHL0BZKSaoXgZuU0urvATgkcP/kK
       lmMDfNu0MJqZPps6/4D7cNDSCUmyC8HVskl0+MAyADS5vrG7f0X59Tm+VFoYzZyZEVTg5NR2GAwVQnCl
       cByeZuChc40FJwpjek5MmU/YkH6uiHdOTmHwfg/0+jIhsOWNMRiouhPlnUnAQoI4rYSht7MYm5qDnHsN
       e41tHNbucUGnKxICiqXjHpTPJgHBZ/Nv4U1oHqGZJVwstiNe72JwI+J3PYA2MV8IMjOG2dzLfOatBg+2
       7JDQ0tEPX9cguvv8GHg5hH0mC9S6eiQweLumDhqNVQgo06dP9fN4UsIoJHRnOhVtmxZGM1NXKoJ3JmTH
       Cv71r/4OTrQ4xWMwWlcAAAAASUVORK5CYII=
</value>
 </data>
 <data name="printToolStripMenuItem.Image" type="System.Drawing.Bitmap,
System.Drawing"
mimetype="application/x-microsoft.net.object.bytearray.base64">
   <value>
       iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
       YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAi1JREFUOE+1k/9P
       UlEYxv2nWK2tVlttGmpltrCcEQ1XUjSMaUHJNLIpNcnCragplBvUoC/okJhZLG92ySUpU8RNICdIhAio
       EF+e7r1UZMDW1jrb+8t7z/N83vucc8rK/sdyeYIwvpopWYbRaZTk0uIx0o0/V/JbGt7lVTwxT6CKKylt
       oLd8xGYihS/hKGz2WaaeWUnoTATsMz7UCztx9Ex7cYN3jkUQU4tb4DR5LZaAcyEAg4VE5YlLMFmJQoNQ
       JA61gUA6k4XPH9pCN9s+gZz2oq5Jjlq+DDfUz3Fba86bOGY9jHiUdDF0mvqT7A/F4fKEcE9nZf5d1jOI
       B4ZxVJ2U5gyc8z70akegMX3AXb0ND1+8R6/GgvZbeog61OA2K3CA2lxR34JjZ69B2T8EsVyN/Q0XcwY3
       B14iGk8UpE43UukMNqhA6QyC4Q0srcQg7dagsbWHmuDHScj7jDC9nsJTqx0a4xjuaIfRqXoMSXc/hG0q
       8C4owGnqwEGeFOXHxThH9eoEV7G7VpiboE2pK0qnm9H1JLz+NUzOBfHWEcAQsQSuqAuVDa1gVZzKGUgU
       jwoMqAzxNZbC3Od1jDvDYPdth+7NCpP8Yf4V7KoR5A1arg8gmQIoGMLxLJYjWSwEMphwb2J4MoZB2yqU
       LBZUIxHGYB9HlBfTE4jl9+GmBPTHv6lfo//+GGoaZajmXQabumXl1HHt5TRjz5Hz2HlIgB3Vp7GNzWeo
       RcX/+pq/AwHYL0leVl8fAAAAAElFTkSuQmCC
</value>
 </data>
 <data name="printPreviewToolStripMenuItem.Image"
type="System.Drawing.Bitmap, System.Drawing"
mimetype="application/x-microsoft.net.object.bytearray.base64">
   <value>
       iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
       YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAY5JREFUOE+d081L
       AkEUAPD1T+hYhzoERV77OHUo8JBBt+4RRkSQ4U0SunaJOkSRKQWZWCiF5kdroa0WRAoRFXXoEEkWCUFY
       Wbvrvnqz7NK6OxANPIZh5v1m3uyOKZK5AaamiaLICILACDzPtDXXM+3mRlPtGnWMAK15g4fQabVBYDej
       20QFdtJXVGBxg4Xk8aWMRDhjJLh/TgUW1hPQ1T+ihmEZgXieCghiFRBRIEPAFzkxBO4fSsByOfBsRkkE
       4xkoFEv6Mla3szoAF2Jy+E2A0KMc/nyRINe3BS2yspXSAf4YR5Kfq/LUE1QJopxEU8qSP6kD5nwxFUAE
       A0E8hdM1rz0BXtDvhheHwMEnwKkkJ2OPAJMuw+TUDB2QJAneKzxgCRNnHwTBUJJd3ijYx8fowBcvwstr
       BXIXdxBOZAmCu2JgssMxBGvOOmNA+d5KP+sJw17qiJRjn3bDwOAocF4LQMWtRTABf9W/hLWjFcpsA0Fc
       tm76+6C+vJ+J4b4WgmAp/0bMTXVg6ekFNrQM3y3xMcC3lb+tAAAAAElFTkSuQmCC
</value>
 </data>
 <data name="cutToolStripMenuItem.Image" type="System.Drawing.Bitmap,
System.Drawing"
mimetype="application/x-microsoft.net.object.bytearray.base64">
   <value>
       iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
       YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAYdJREFUOE+t001L
       QlEQBuB+TdCmRVEJRRIWtRAUlKsQhFmkpZQtIiWyAlMwP5KkXS0shLqGFkgoFqWQmaRR2qIvU7FMwWhd
       8JZXkFx0uVGzOcNh5jkDw6mr+++4SN7B6fbju/uQecYm6a25+/Hdl2IJptWNmmJyL4DwWZwZUJbtayT8
       RxGqIV8oQaaaRfrxkTmw4z2G+WuKbC6PYDgOkUSJp6ccc+AgdI4luwPbHh/UCxb0S0aZN5fHTmefMTVv
       wfDEHIiBMegMpt8BZUShNoGQTIKQGxA8TTIHMoUPGF1vEOvTWHTcgqeJQahNwLqVQiRRpIdS+XcM2l4h
       1t2DI3WAP7oGoSYE3kwSPQofljcqm/kxjK4SCH0OXSMetItsUC26wZuOVptYhI0eEOuz1YI2gZnKBdpr
       6iR9V2jkKOkBQpeiCryhFFr4eioft16iU7qNho4h1Dc00QOqlRuwpSSa+UawuZXdByIZsPoUaOmWwrUf
       owcOozlwZeto7ZXDuXvCfHV/+dGfqqrf44qgu28AAAAASUVORK5CYII=
</value>
 </data>
 <data name="copyToolStripMenuItem.Image" type="System.Drawing.Bitmap,
System.Drawing"
mimetype="application/x-microsoft.net.object.bytearray.base64">
   <value>
       iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
       YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAeJJREFUOE+lk9FP
       klEYxv1TSsecde0f0FpZrTbbal7URVvZuuJCr7pq2WzLNWy0iSHNwtIB9qG0ltLSYRJpBomUgZPMGSyU
       8SmJIOiv7zssCdrAzXd77s77e5/nnPdUVR20HBPfUCWNB4QsI176HB8IL/9iX2y1ubTMwx6utz0nuLhc
       GWIfCxT153Z26ep/g9Md4FJLZ2WIZdQnAM4QSJ/BH5Z5aH6NNCljm0hgdSV4MppAPxQXCq5kil31OTx7
       DjLbOeSNNJFYUgBKq31glfpmN76F9QLEZHOJc73ubXQjMreln7Q+DdP/du0/QIsxhmNK5mjTMJ/m43mI
       Qcmr5t5MZVlNpFiKrPM1vIbpVVQAOqSckF+ZekUX5UjTS+ouDFLb+CwPUPNupbN7k7WmEDcMX3hgXSpy
       IP/OsrCyhXtuA6M0g+bc4wJATqaZ/x7DF4zg8f9g/OMibb355701kERriHL5fojzd2aFjNI0mjPdBUD9
       6auUqlU/KwBZJV4skWUuvMmYV8b+Ls6jQQ81DfryO3KtfUoA/p3810G37T3VJ3TlARdvukhldjANeemx
       z2B8MS0mq80GyySHj98rD2jQOpXbtgrVNprRnO2h5lQX1Sc7leYODh27W3nN9/WZDnroDx0A5wwhdtmt
       AAAAAElFTkSuQmCC
</value>
 </data>
 <data name="pasteToolStripMenuItem.Image" type="System.Drawing.Bitmap,
System.Drawing"
mimetype="application/x-microsoft.net.object.bytearray.base64">
   <value>
       iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
       YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAlBJREFUOE+1k1lI
       lGEUhn/owm6KFuqqq4LoJooIqouMwixMM4zEjKyJGJUSlcnSITU1RSe3SdPGyGVQc6tEUSkSIXFo13CM
       FonUyGmy5p9xz+Lp/z8ZbGjzpgMv5+a8z1n4Pkn6H9HZnEH7zVQayxKYF7+hMg+3ynKO4LBVMWa7xmBf
       Nme1vuSl67hi0GNMj/sVqBon5XqmnXVMOqoxF+sYH6kgJyWKF13xnD/tT7xmM7bOY4y0riY6bL8nRAWo
       5mlnDUUZR+m2ZCO/L2C4T89bywmaSgIJD/WmKnEVT/MkIg/v8wTUVeTMAuQbGBLDSNaFoI8K5lxkEDpt
       IDEafyJCfciPXiMAIX7enoDqUgNTci1TdhPjQ5nYn0dhrVgu1Fu+jO7iRTwyegmzKp9tGz0BZlMGE/Yy
       JgbSGH95irFnB5GbF5Nb3kqmqZELl2uJN5iJSS0hPMFIWGyWJ6C0MJXRQSNjfVpGH/vjur+Jj7dXCLM7
       pme+4XBOMjDsIDgihYDj+jlISW4S8qs0XA99cXWsx9m2ksFySXRWo/RWp5Cppp3efpsw3+2ysidIMwsp
       zErgc88ZnO3rkFuWYq/3ov+6JMb+OvOdLy6l8wcHvW9sWHre4Rcag69i3rX3AN7bdyDlX4zD/iBCMS/h
       U8NChioXYC2SiFZ2Vsd2T3BVmaDA3EZTh1VkVVs3rEW6lBwrHoj7yu6sVQ72c+d7ltfCXH+nm5rWJ3MA
       dY3cpJPKCwtEE7SbgJ1bBFm9trqzu9vvspjgT3FIubZa8C/N67P9regHTvjvLQ3rR38AAAAASUVORK5C
       YII=
</value>
 </data>
</root>

Dave Sexton - 18 Nov 2006 08:48 GMT
Wow - watching for wrapping.

I really hate NNTP :p

Signature

Dave Sexton

> Hi,
>
[quoted text clipped - 29 lines]
>    6. replace the "Textpad.resx" content with the content from my mine (last file below).
>    7. open the Textpad Form in the designer and make sure there are no designer errors.
forest demon - 19 Nov 2006 02:16 GMT
> Wow - watching for wrapping.
>
> I really hate NNTP :p

<Major Snippage>

the notepad piece was just an example. thanks for your input dave...

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.