Exemplo n.º 1
0
        public VersionDialog(VersionWrapper version)
        {
            InitializeComponent();

            major.Text = version.Version.Major.ToString();
            minor.Text = version.Version.Minor.ToString();
            build.Text = version.Version.Build.ToString();
            revision.Text = version.Version.Revision.ToString();
        }
Exemplo n.º 2
0
        public VersionDialog(VersionWrapper version)
        {
            InitializeComponent();

            major.Text    = version.Version.Major.ToString();
            minor.Text    = version.Version.Minor.ToString();
            build.Text    = version.Version.Build.ToString();
            revision.Text = version.Version.Revision.ToString();
        }
Exemplo n.º 3
0
 public SledLuaLuaVersionService(ICommandService commandService)
 {
     m_luaVerBox = new ToolStripComboBox("Lua Version");
     {
         var ver = new VersionWrapper(LuaVersion.Lua51, "Lua 5.1.4");
         m_luaVerBox.Items.Add(ver);
         m_luaVerBox.Items.Add(new VersionWrapper(LuaVersion.Lua52, "Lua 5.2.3"));
         m_luaVerBox.SelectedItem = ver;
         CurrentLuaVersion        = ver.Version;
     }
     m_luaVerBox.SelectedIndexChanged += LuaVerBoxSelectedIndexChanged;
 }
Exemplo n.º 4
0
 public SledLuaLuaVersionService(ICommandService commandService)
 {
     m_luaVerBox = new ToolStripComboBox("Lua Version");
     {
         var ver = new VersionWrapper(LuaVersion.Lua51, "Lua 5.1.4");
         m_luaVerBox.Items.Add(ver);
         m_luaVerBox.Items.Add(new VersionWrapper(LuaVersion.Lua52, "Lua 5.2.3"));
         m_luaVerBox.SelectedItem = ver;
         CurrentLuaVersion = ver.Version;
     }
     m_luaVerBox.SelectedIndexChanged += LuaVerBoxSelectedIndexChanged;
 }