pascalabcnet/VisualPascalABCNET/FormsDesignerBinding/ToolBoxForm.cs
Бондарев Иван 1872434f19 added license info
2015-06-02 22:06:57 +02:00

33 lines
921 B
C#

// Copyright (c) Ivan Bondarev, Stanislav Mihalkovich (for details please see \doc\copyright.txt)
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
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;
using WeifenLuo.WinFormsUI.Docking;
namespace VisualPascalABC
{
public partial class ToolBoxForm : DockContent
{
public ToolBoxForm()
{
InitializeComponent();
TabText = PascalABCCompiler.StringResources.Get("VP_MF_M_TOOLBOX");
}
private void ToolBoxForm_FormClosing(object sender, FormClosingEventArgs e)
{
if (e.CloseReason == CloseReason.UserClosing)
{
e.Cancel = true;
this.Hide();
}
}
}
}