Changeset 1159


Ignore:
Timestamp:
7/4/2009 3:53:01 AM (5 years ago)
Author:
lowjoel
Message:

First draft of the Documentation with a few blank sections. I'm not sure if Word is the best way to make documentation... but yeah it will work.. for now.

Location:
trunk/eraser6
Files:
10 added
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/eraser6/Eraser/MainForm.Designer.cs

    r1018 r1159  
    214214            this.tbHelp.Padding = new System.Windows.Forms.Padding(0); 
    215215            resources.ApplyResources(this.tbHelp, "tbHelp"); 
     216            this.tbHelp.Click += new System.EventHandler(this.tbHelp_Click); 
    216217            //  
    217218            // tbHelpDropDown 
  • trunk/eraser6/Eraser/MainForm.cs

    r1106 r1159  
    3333using System.IO; 
    3434using System.Diagnostics; 
     35using System.Reflection; 
    3536 
    3637namespace Eraser 
     
    248249                    } 
    249250                } 
     251            } 
     252        } 
     253 
     254        private void tbHelp_Click(object sender, EventArgs e) 
     255        { 
     256            try 
     257            { 
     258                Process.Start(Path.Combine(Path.GetDirectoryName( 
     259                        Assembly.GetEntryAssembly().Location), 
     260                    "Eraser Documentation.pdf")); 
     261            } 
     262            catch (Win32Exception ex) 
     263            { 
     264                MessageBox.Show(this, S._("Eraser"), S._("The Eraser documentation file " + 
     265                    "could not be opened. Check that Adobe Reader installed and that your " + 
     266                    "Eraser install is not corrupt.\n\nThe error returned was: {0}", ex.Message), 
     267                    MessageBoxButtons.OK, MessageBoxIcon.Error, MessageBoxDefaultButton.Button1, 
     268                    S.IsRightToLeft(this) ? MessageBoxOptions.RtlReading : 0); 
    250269            } 
    251270        } 
  • trunk/eraser6/Eraser/Strings.NL.resx

    r1095 r1159  
    142142    <value>(Untranslated)</value> 
    143143  </data> 
     144  <data name="The Eraser documentation file could not be opened. Check that Adobe Reader installed and that your Eraser install is not corrupt.\n\nThe error returned was: {0}" xml:space="preserve"> 
     145    <value>(Untranslated)</value> 
     146  </data> 
    144147  <data name="Processing:" xml:space="preserve"> 
    145148    <value>(Untranslated)</value> 
  • trunk/eraser6/Eraser/Strings.en.resx

    r1095 r1159  
    142142    <value>Session: {0:F}</value> 
    143143  </data> 
     144  <data name="The Eraser documentation file could not be opened. Check that Adobe Reader installed and that your Eraser install is not corrupt.\n\nThe error returned was: {0}" xml:space="preserve"> 
     145    <value>The Eraser documentation file could not be opened. Check that Adobe Reader installed and that your Eraser install is not corrupt.\n\nThe error returned was: {0}</value> 
     146  </data> 
    144147  <data name="Processing:" xml:space="preserve"> 
    145148    <value>Processing:</value> 
  • trunk/eraser6/Eraser/Strings.resx

    r1095 r1159  
    142142    <value>Session: {0:F}</value> 
    143143  </data> 
     144  <data name="The Eraser documentation file could not be opened. Check that Adobe Reader installed and that your Eraser install is not corrupt.\n\nThe error returned was: {0}" xml:space="preserve"> 
     145    <value>The Eraser documentation file could not be opened. Check that Adobe Reader installed and that your Eraser install is not corrupt.\n\nThe error returned was: {0}</value> 
     146  </data> 
    144147  <data name="Processing:" xml:space="preserve"> 
    145148    <value>Processing:</value> 
Note: See TracChangeset for help on using the changeset viewer.