127 lines
4.2 KiB
C#
127 lines
4.2 KiB
C#
using System;
|
|
using System.Drawing;
|
|
using System.Collections;
|
|
using System.ComponentModel;
|
|
using System.Windows.Forms;
|
|
|
|
namespace AyaNova.PlugIn.PTI
|
|
{
|
|
/// <summary>
|
|
/// Summary description for Waiting.
|
|
/// </summary>
|
|
public class Waiting : System.Windows.Forms.Form
|
|
{
|
|
private Infragistics.Win.Misc.UltraLabel lblStep;
|
|
private Infragistics.Win.Misc.UltraLabel lblOps;
|
|
/// <summary>
|
|
/// Required designer variable.
|
|
/// </summary>
|
|
private System.ComponentModel.Container components = null;
|
|
|
|
public Waiting()
|
|
{
|
|
//
|
|
// Required for Windows Form Designer support
|
|
//
|
|
InitializeComponent();
|
|
|
|
//
|
|
// TODO: Add any constructor code after 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 Windows Form 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()
|
|
{
|
|
Infragistics.Win.Appearance appearance1 = new Infragistics.Win.Appearance();
|
|
Infragistics.Win.Appearance appearance2 = new Infragistics.Win.Appearance();
|
|
this.lblOps = new Infragistics.Win.Misc.UltraLabel();
|
|
this.lblStep = new Infragistics.Win.Misc.UltraLabel();
|
|
this.SuspendLayout();
|
|
//
|
|
// lblOps
|
|
//
|
|
appearance1.TextHAlignAsString = "Center";
|
|
appearance1.TextVAlignAsString = "Middle";
|
|
this.lblOps.Appearance = appearance1;
|
|
this.lblOps.BorderStyleInner = Infragistics.Win.UIElementBorderStyle.None;
|
|
this.lblOps.Cursor = System.Windows.Forms.Cursors.AppStarting;
|
|
this.lblOps.Dock = System.Windows.Forms.DockStyle.Top;
|
|
this.lblOps.Font = new System.Drawing.Font("Microsoft Sans Serif", 11F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.lblOps.Location = new System.Drawing.Point(0, 0);
|
|
this.lblOps.Name = "lblOps";
|
|
this.lblOps.Size = new System.Drawing.Size(308, 32);
|
|
this.lblOps.TabIndex = 0;
|
|
//
|
|
// lblStep
|
|
//
|
|
appearance2.TextHAlignAsString = "Center";
|
|
appearance2.TextVAlignAsString = "Middle";
|
|
this.lblStep.Appearance = appearance2;
|
|
this.lblStep.BorderStyleInner = Infragistics.Win.UIElementBorderStyle.None;
|
|
this.lblStep.Cursor = System.Windows.Forms.Cursors.AppStarting;
|
|
this.lblStep.Dock = System.Windows.Forms.DockStyle.Top;
|
|
this.lblStep.Font = new System.Drawing.Font("Microsoft Sans Serif", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.lblStep.Location = new System.Drawing.Point(0, 32);
|
|
this.lblStep.Name = "lblStep";
|
|
this.lblStep.Size = new System.Drawing.Size(308, 33);
|
|
this.lblStep.TabIndex = 1;
|
|
//
|
|
// Waiting
|
|
//
|
|
this.AutoScaleBaseSize = new System.Drawing.Size(6, 15);
|
|
this.BackColor = System.Drawing.SystemColors.Window;
|
|
this.ClientSize = new System.Drawing.Size(308, 56);
|
|
this.ControlBox = false;
|
|
this.Controls.Add(this.lblStep);
|
|
this.Controls.Add(this.lblOps);
|
|
this.Cursor = System.Windows.Forms.Cursors.AppStarting;
|
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
|
|
this.Name = "Waiting";
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
|
this.Text = "Processing";
|
|
this.TopMost = true;
|
|
this.ResumeLayout(false);
|
|
|
|
}
|
|
#endregion
|
|
|
|
public string Ops
|
|
{
|
|
set
|
|
{
|
|
lblOps.Text=value;
|
|
this.Refresh();
|
|
}
|
|
}
|
|
|
|
public string Step
|
|
{
|
|
set
|
|
{
|
|
lblStep.Text=value;
|
|
this.Refresh();
|
|
}
|
|
}
|
|
}
|
|
}
|