Subversion Repositories SoapBoxCore

Rev

Rev 8 | Rev 13 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
8 scott 1
#region "SoapBox.Demo License"
2
/// <header module="SoapBox.Demo"> 
3
/// Copyright (C) 2009 SoapBox Automation Inc., All Rights Reserved.
4
/// Contact: SoapBox Automation Licencing (license@soapboxautomation.com)
5
/// 
6
/// This file is part of SoapBox Demo.
7
/// 
8
/// GNU Lesser General Public License Usage
9
/// SoapBox Demo is free software: you can redistribute it and/or modify 
10
/// it under the terms of the GNU Lesser General Public License
11
/// as published by the Free Software Foundation, either version 3 of the
12
/// License, or (at your option) any later version.
13
/// 
14
/// SoapBox Demo is distributed in the hope that it will be useful, 
15
/// but WITHOUT ANY WARRANTY; without even the implied warranty of
16
/// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17
/// GNU Lesser General Public License for more details.
18
/// 
19
/// You should have received a copy of the GNU Lesser General Public License 
20
/// along with SoapBox Demo. If not, see <http://www.gnu.org/licenses/>.
21
/// </header>
22
#endregion
23
 
24
using System;
25
using System.Collections.Generic;
26
using System.Linq;
27
using System.Text;
28
using SoapBox.Core;
29
using System.ComponentModel.Composition;
30
 
31
namespace SoapBox.Demo.PinBall
32
{
12 scott 33
    [Export(SoapBox.Core.ExtensionPoints.Workbench.Pads, typeof(IPad))]
34
    [Export(CompositionPoints.Workbench.Pads.Instructions, typeof(Instructions))]
35
    [Pad(Name = Instructions.PAD_NAME)]
8 scott 36
    class Instructions : AbstractPad
37
    {
12 scott 38
        public const string PAD_NAME = "Instructions";
39
 
8 scott 40
        public Instructions()
41
        {
12 scott 42
            Name = PAD_NAME;
8 scott 43
            Title = Resources.Strings.Pads_Instructions_Title;
44
        }
45
 
46
        public string Text
47
        {
48
            get
49
            {
50
                return Resources.Strings.Pads_Instructions_Text;
51
            }
52
        }
53
 
54
        public override string ToString()
55
        {
56
            return Text;
57
        }
58
    }
59
}