|
//////////////////////////////////////////////////////////////////////
// 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 Form7 : System.Windows.Forms.Form
{
#region Windows Form Designer variables
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.PictureBox pictureBox1;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.Button cont;
private System.ComponentModel.Container components = null;
#endregion
public Form7()
{
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()
{
System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(Form7));
this.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.label3 = new System.Windows.Forms.Label();
this.pictureBox1 = new System.Windows.Forms.PictureBox();
this.label4 = new System.Windows.Forms.Label();
this.cont = new System.Windows.Forms.Button();
this.SuspendLayout();
//
// label1
//
this.label1.Location = new System.Drawing.Point(8, 8);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(344, 16);
this.label1.TabIndex = 0;
this.label1.Text = "Unable to insert the ActiveX control identified as";
//
// label2
//
this.label2.Location = new System.Drawing.Point(8, 32);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(344, 16);
this.label2.TabIndex = 1;
this.label2.Text = "ProgID : ???.???";
//
// label3
//
this.label3.Location = new System.Drawing.Point(8, 56);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(344, 56);
this.label3.TabIndex = 2;
this.label3.Text = "The most likely cause of this problem is that either the control is not available" +
" on the system, or the maximum number of controls which can be hosted by DaeDoe " +
"Forms when running in evaluation mode has been exceeded.";
//
// pictureBox1
//
this.pictureBox1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
this.pictureBox1.Location = new System.Drawing.Point(8, 120);
this.pictureBox1.Name = "pictureBox1";
this.pictureBox1.Size = new System.Drawing.Size(40, 40);
this.pictureBox1.TabIndex = 3;
this.pictureBox1.TabStop = false;
//
// label4
//
this.label4.Location = new System.Drawing.Point(8, 168);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(344, 32);
this.label4.TabIndex = 4;
this.label4.Text = "Use the toolbar button shown above to select from a list of controls available on" +
" the system.";
//
// cont
//
this.cont.DialogResult = System.Windows.Forms.DialogResult.OK;
this.cont.Location = new System.Drawing.Point(8, 208);
this.cont.Name = "cont";
this.cont.Size = new System.Drawing.Size(328, 24);
this.cont.TabIndex = 5;
this.cont.Text = "Continue";
//
// Form7
//
this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
this.ClientSize = new System.Drawing.Size(346, 240);
this.Controls.Add(this.cont);
this.Controls.Add(this.label4);
this.Controls.Add(this.pictureBox1);
this.Controls.Add(this.label3);
this.Controls.Add(this.label2);
this.Controls.Add(this.label1);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "Form7";
this.ShowInTaskbar = false;
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
this.Text = "Error";
this.ResumeLayout(false);
}
#endregion
public string ProgID
{
set
{
label2.Text="ProgID : " + value;
}
}
}
}
|
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.