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

namespace TheNovel
{
	partial class AddChapter : Form
	{
		Chapter chapter;

		public Chapter GetMyChapter { get { return chapter; } }

		public AddChapter ()
		{
			InitializeComponent ();
			Langsup.ApplyAddChapter ( this );
		}

		private void Cancel_Click ( object sender, EventArgs e )
		{
			DialogResult = DialogResult.Cancel;
		}

		private void Create_Click ( object sender, EventArgs e )
		{
			chapter = new Chapter ( Title.Text );
			DialogResult = DialogResult.OK;
		}
	}
}
