96 lines
2.4 KiB
C#
96 lines
2.4 KiB
C#
using System;
|
|
using System.Collections;
|
|
using System.ComponentModel;
|
|
using System.Drawing;
|
|
using System.Windows.Forms;
|
|
|
|
namespace AyaNova.PlugIn.PTI
|
|
{
|
|
public class SetMemoField : AyaNova.PlugIn.PTI.SetBase
|
|
{
|
|
private System.Windows.Forms.CheckBox ckSetMemo;
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
public SetMemoField()
|
|
{
|
|
// This call is required by the Windows Form Designer.
|
|
InitializeComponent();
|
|
|
|
// TODO: Add any initialization after the InitializeComponent call
|
|
}
|
|
|
|
/// <summary>
|
|
/// Clean up any resources being used.
|
|
/// </summary>
|
|
protected override void Dispose( bool disposing )
|
|
{
|
|
if( disposing )
|
|
{
|
|
if (components != null)
|
|
{
|
|
components.Dispose();
|
|
}
|
|
}
|
|
base.Dispose( disposing );
|
|
}
|
|
|
|
#region Designer generated code
|
|
/// <summary>
|
|
/// Required method for Designer support - do not modify
|
|
/// the contents of this method with the code editor.
|
|
/// </summary>
|
|
private void InitializeComponent()
|
|
{
|
|
this.ckSetMemo = new System.Windows.Forms.CheckBox();
|
|
this.SuspendLayout();
|
|
//
|
|
// ckSetMemo
|
|
//
|
|
this.ckSetMemo.Location = new System.Drawing.Point(16, 302);
|
|
this.ckSetMemo.Name = "ckSetMemo";
|
|
this.ckSetMemo.Size = new System.Drawing.Size(367, 28);
|
|
this.ckSetMemo.TabIndex = 29;
|
|
this.ckSetMemo.Text = "Set memo field";
|
|
//
|
|
// SetMemoField
|
|
//
|
|
this.AutoScaleBaseSize = new System.Drawing.Size(6, 15);
|
|
this.ClientSize = new System.Drawing.Size(637, 408);
|
|
this.Controls.Add(this.ckSetMemo);
|
|
this.Name = "SetMemoField";
|
|
this.Text = "";
|
|
this.Load += new System.EventHandler(this.SetMemoField_Load);
|
|
this.Controls.SetChildIndex(this.ckSetMemo, 0);
|
|
this.ResumeLayout(false);
|
|
|
|
}
|
|
#endregion
|
|
|
|
private void SetMemoField_Load(object sender, System.EventArgs e)
|
|
{
|
|
|
|
}
|
|
|
|
public bool FillMemoField
|
|
{
|
|
get
|
|
{
|
|
return this.ckSetMemo.Checked;
|
|
}
|
|
set
|
|
{
|
|
this.ckSetMemo.Checked=value;
|
|
}
|
|
}
|
|
|
|
|
|
public override void btnOK_Click(object sender, EventArgs e)
|
|
{
|
|
base.ClosingHandled=true;
|
|
this.DialogResult=DialogResult.OK;
|
|
this.Close();
|
|
}
|
|
}
|
|
}
|
|
|