144 lines
4.8 KiB
C#
144 lines
4.8 KiB
C#
/*********************************************************************************************
|
|
* Copyright 2005 - Volian Enterprises, Inc. All rights reserved.
|
|
* Volian Enterprises - Proprietary Information - DO NOT COPY OR DISTRIBUTE
|
|
* ------------------------------------------------------------------------------
|
|
* $Workfile: ArcData.cs $ $Revision: 1 $
|
|
* $Author: Kathy $ $Date: 3/08/05 1:44p $
|
|
*
|
|
* $History: ArcData.cs $
|
|
*
|
|
* ***************** Version 1 *****************
|
|
* User: Kathy Date: 3/08/05 Time: 1:44p
|
|
* Created in $/LibSource/GUI_Utils
|
|
* Approval
|
|
*
|
|
* ***************** Version 1 *****************
|
|
* User: Kathy Date: 3/08/05 Time: 1:40p
|
|
* Created in $/LibSource/GUI_Utils/GUI_Utils
|
|
*
|
|
* ***************** Version 1 *****************
|
|
* User: Kathy Date: 3/08/05 Time: 1:33p
|
|
* Created in $/LibSource/GUI_Utils/GUI_Utils
|
|
*
|
|
* ***************** Version 1 *****************
|
|
* User: Kathy Date: 3/08/05 Time: 1:32p
|
|
* Created in $/LibSource/GUI_Utils/GUI_Utils
|
|
*
|
|
* ***************** Version 1 *****************
|
|
* User: Kathy Date: 3/08/05 Time: 1:30p
|
|
* Created in $/GUI_Utils/GUI_Utils
|
|
*
|
|
* ***************** Version 1 *****************
|
|
* User: Kathy Date: 3/08/05 Time: 1:16p
|
|
* Created in $/EXE/GUI_Utils
|
|
* Approval
|
|
*********************************************************************************************/
|
|
using System;
|
|
using System.Drawing;
|
|
using System.Collections;
|
|
using System.ComponentModel;
|
|
using System.Windows.Forms;
|
|
|
|
namespace GUI_Utils
|
|
{
|
|
/// <summary>
|
|
/// Summary description for ArcData.
|
|
/// </summary>
|
|
public class ArcData : System.Windows.Forms.Form
|
|
{
|
|
private System.Windows.Forms.Label lblPrompt;
|
|
private System.Windows.Forms.Button btnYes;
|
|
private System.Windows.Forms.Button btnNo;
|
|
/// <summary>
|
|
/// Required designer variable.
|
|
/// </summary>
|
|
private System.ComponentModel.Container components = null;
|
|
|
|
public ArcData(string Caption, string Message)
|
|
{
|
|
//
|
|
// Required for Windows Form Designer support
|
|
//
|
|
InitializeComponent();
|
|
this.Text = Caption;
|
|
this.lblPrompt.Text = Message;
|
|
}
|
|
|
|
/// <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()
|
|
{
|
|
System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(ArcData));
|
|
this.lblPrompt = new System.Windows.Forms.Label();
|
|
this.btnYes = new System.Windows.Forms.Button();
|
|
this.btnNo = new System.Windows.Forms.Button();
|
|
this.SuspendLayout();
|
|
//
|
|
// lblPrompt
|
|
//
|
|
this.lblPrompt.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
|
|
this.lblPrompt.Location = new System.Drawing.Point(40, 16);
|
|
this.lblPrompt.Name = "lblPrompt";
|
|
this.lblPrompt.Size = new System.Drawing.Size(224, 56);
|
|
this.lblPrompt.TabIndex = 0;
|
|
this.lblPrompt.Text = "Do you want to save the current data to an archive file before proceeding with th" +
|
|
"e Approval or Revise?";
|
|
//
|
|
// btnYes
|
|
//
|
|
this.btnYes.DialogResult = System.Windows.Forms.DialogResult.Yes;
|
|
this.btnYes.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
|
|
this.btnYes.Location = new System.Drawing.Point(56, 88);
|
|
this.btnYes.Name = "btnYes";
|
|
this.btnYes.Size = new System.Drawing.Size(80, 24);
|
|
this.btnYes.TabIndex = 1;
|
|
this.btnYes.Text = "Yes";
|
|
//
|
|
// btnNo
|
|
//
|
|
this.btnNo.DialogResult = System.Windows.Forms.DialogResult.No;
|
|
this.btnNo.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
|
|
this.btnNo.Location = new System.Drawing.Point(176, 88);
|
|
this.btnNo.Name = "btnNo";
|
|
this.btnNo.Size = new System.Drawing.Size(72, 24);
|
|
this.btnNo.TabIndex = 2;
|
|
this.btnNo.Text = "No";
|
|
//
|
|
// ArcData
|
|
//
|
|
this.AutoScale = false;
|
|
this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
|
|
this.ClientSize = new System.Drawing.Size(292, 126);
|
|
this.Controls.Add(this.btnNo);
|
|
this.Controls.Add(this.btnYes);
|
|
this.Controls.Add(this.lblPrompt);
|
|
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
|
this.MaximizeBox = false;
|
|
this.MinimizeBox = false;
|
|
this.Name = "ArcData";
|
|
this.Text = "Archive Data";
|
|
this.ResumeLayout(false);
|
|
|
|
}
|
|
#endregion
|
|
}
|
|
}
|