#region License
// Copyright 2005-2019 Paul Kohler (https://github.com/paulkohler/minisqlquery). All rights reserved.
// This source code is made available under the terms of the GNU Lesser General Public License v3.0
// https://github.com/paulkohler/minisqlquery/blob/master/LICENSE
#endregion
using System;
using System.Windows.Forms;
namespace MiniSqlQuery
{
/// The copy form.
public partial class CopyForm : Form
{
/// Initializes a new instance of the class.
public CopyForm()
{
InitializeComponent();
rbTAB.Checked = true;
}
/// Gets Delimiter.
public string Delimiter
{
get
{
if (rbCSV.Checked) return ",";
if (rbTAB.Checked) return "\t";
return txtOther.Text;
}
}
/// Gets a value indicating whether IncludeHeaders.
public bool IncludeHeaders
{
get { return xbIncludeHeaders.Checked; }
}
/// The cancel button_ click.
/// The sender.
/// The e.
private void cancelButton_Click(object sender, EventArgs e)
{
Close();
}
/// The ok button_ click.
/// The sender.
/// The e.
private void okButton_Click(object sender, EventArgs e)
{
Close();
}
private void CopyForm_Load(object sender, EventArgs e)
{
}
}
}