|
//////////////////////////////////////////////////////////////////////
// Author : David Shepherd
// Copyright (c) 2003, DaeDoe-Software
//////////////////////////////////////////////////////////////////////
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
namespace CSDemo
{
public class Form5 : System.Windows.Forms.Form
{
#region Windows Form Designer variables
private System.Windows.Forms.TextBox errorInfo;
private System.Windows.Forms.Button close;
private System.ComponentModel.Container components = null;
#endregion
public Form5()
{
InitializeComponent();
}
protected override void Dispose( bool disposing )
{
if( disposing )
{
if(components != null)
{
components.Dispose();
}
}
base.Dispose( disposing );
}
#region Windows Form Designer generated code
private void InitializeComponent()
{
this.errorInfo = new System.Windows.Forms.TextBox();
this.close = new System.Windows.Forms.Button();
this.SuspendLayout();
//
// errorInfo
//
this.errorInfo.Location = new System.Drawing.Point(8, 8);
this.errorInfo.Multiline = true;
this.errorInfo.Name = "errorInfo";
this.errorInfo.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
this.errorInfo.Size = new System.Drawing.Size(248, 88);
this.errorInfo.TabIndex = 0;
this.errorInfo.Text = "textBox1";
//
// close
//
this.close.DialogResult = System.Windows.Forms.DialogResult.OK;
this.close.Location = new System.Drawing.Point(8, 104);
this.close.Name = "close";
this.close.Size = new System.Drawing.Size(248, 24);
this.close.TabIndex = 1;
this.close.Text = "Close";
//
// Form5
//
this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
this.ClientSize = new System.Drawing.Size(266, 136);
this.Controls.Add(this.close);
this.Controls.Add(this.errorInfo);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "Form5";
this.ShowInTaskbar = false;
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
this.Text = "Script Error";
this.ResumeLayout(false);
}
#endregion
public string ErrorInfo
{
set
{
errorInfo.Text=value;
errorInfo.SelectionStart=0;
errorInfo.SelectionLength=0;
}
}
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.