using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace SolidEdgeMovieRecorder
{
    public partial class SummaryInfoForm : Form
    {
        private string m_Title = "";
        private string m_SubTitle = "";
        private string m_Description = "";
        private string m_Copyright = "";
        private string m_Author = "";
        private string m_AuthorURL = "";

        public SummaryInfoForm()
        {
            InitializeComponent();
        }

# region Properties

        public string Title
        {
            get { return m_Title; }
            set { m_Title = value; }
        }

        public string SubTitle
        {
            get { return m_SubTitle; }
            set { m_SubTitle = value; }
        }

        public string Description
        {
            get { return m_Description; }
            set { m_Description = value; }
        }

        public string Copyright
        {
            get { return m_Copyright; }
            set { m_Copyright = value; }
        }

        public string Author
        {
            get { return m_Author; }
            set { m_Author = value; }
        }

        public string AuthorURL
        {
            get { return m_AuthorURL; }
            set { m_AuthorURL = value; }
        }

#endregion

        private void SummaryInfoForm_Load(object sender, EventArgs e)
        {
            TitleTextBox.Text = m_Title;
            SubTitleTextBox.Text = m_SubTitle;
            DescriptionTextBox.Text = m_Description;
            CopyrightTextBox.Text = m_Copyright;
            AuthorTextBox.Text = m_Author;
            AuthorURLTextBox.Text = m_AuthorURL;
        }

        private void OkButton_Click(object sender, EventArgs e)
        {
            m_Title = TitleTextBox.Text;
            m_SubTitle = SubTitleTextBox.Text;
            m_Description = DescriptionTextBox.Text;
            m_Copyright = CopyrightTextBox.Text;
            m_Author = AuthorTextBox.Text;
            m_AuthorURL = AuthorURLTextBox.Text;

            Close();
        }

    }
}
