pascalabcnet/VisualPascalABCNET/FormsDesignerBinding/ToolBoxForm.cs
Бондарев Иван e6e67c193c initial commit
2015-05-14 21:35:07 +02:00

31 lines
734 B
C#

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();
}
}
}
}