initial commit
This commit is contained in:
815
Cs_HMI/Project/Dialog/DriveDetector.cs
Normal file
815
Cs_HMI/Project/Dialog/DriveDetector.cs
Normal file
@@ -0,0 +1,815 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.Windows.Forms; // required for Message
|
||||
using System.Runtime.InteropServices; // required for Marshal
|
||||
using System.IO;
|
||||
using Microsoft.Win32.SafeHandles;
|
||||
// DriveDetector - rev. 1, Oct. 31 2007
|
||||
|
||||
namespace usbdetect
|
||||
{
|
||||
/// <summary>
|
||||
/// Hidden Form which we use to receive Windows messages about flash drives
|
||||
/// </summary>
|
||||
internal class DetectorForm : Form
|
||||
{
|
||||
private Label label1;
|
||||
private DriveDetector mDetector = null;
|
||||
|
||||
/// <summary>
|
||||
/// Set up the hidden form.
|
||||
/// </summary>
|
||||
/// <param name="detector">DriveDetector object which will receive notification about USB drives, see WndProc</param>
|
||||
public DetectorForm(DriveDetector detector)
|
||||
{
|
||||
mDetector = detector;
|
||||
this.MinimizeBox = false;
|
||||
this.MaximizeBox = false;
|
||||
this.ShowInTaskbar = false;
|
||||
this.ShowIcon = false;
|
||||
this.FormBorderStyle = FormBorderStyle.None;
|
||||
this.Load += new System.EventHandler(this.Load_Form);
|
||||
this.Activated += new EventHandler(this.Form_Activated);
|
||||
}
|
||||
|
||||
private void Load_Form(object sender, EventArgs e)
|
||||
{
|
||||
// We don't really need this, just to display the label in designer ...
|
||||
InitializeComponent();
|
||||
|
||||
// Create really small form, invisible anyway.
|
||||
this.Size = new System.Drawing.Size(5, 5);
|
||||
}
|
||||
|
||||
private void Form_Activated(object sender, EventArgs e)
|
||||
{
|
||||
this.Visible = false;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// This function receives all the windows messages for this window (form).
|
||||
/// We call the DriveDetector from here so that is can pick up the messages about
|
||||
/// drives arrived and removed.
|
||||
/// </summary>
|
||||
protected override void WndProc(ref Message m)
|
||||
{
|
||||
base.WndProc(ref m);
|
||||
|
||||
if (mDetector != null)
|
||||
{
|
||||
mDetector.WndProc(ref m);
|
||||
}
|
||||
}
|
||||
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// label1
|
||||
//
|
||||
this.label1.AutoSize = true;
|
||||
this.label1.Location = new System.Drawing.Point(13, 30);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(377, 12);
|
||||
this.label1.TabIndex = 0;
|
||||
this.label1.Text = "This is invisible form. To see DriveDetector code click View Code";
|
||||
//
|
||||
// DetectorForm
|
||||
//
|
||||
this.ClientSize = new System.Drawing.Size(435, 80);
|
||||
this.Controls.Add(this.label1);
|
||||
this.Name = "DetectorForm";
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
}
|
||||
} // class DetectorForm
|
||||
|
||||
|
||||
// Delegate for event handler to handle the device events
|
||||
public delegate void DriveDetectorEventHandler(Object sender, DriveDetectorEventArgs e);
|
||||
|
||||
/// <summary>
|
||||
/// Our class for passing in custom arguments to our event handlers
|
||||
///
|
||||
/// </summary>
|
||||
public class DriveDetectorEventArgs : EventArgs
|
||||
{
|
||||
|
||||
|
||||
public DriveDetectorEventArgs()
|
||||
{
|
||||
Cancel = false;
|
||||
Drive = "";
|
||||
HookQueryRemove = false;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Get/Set the value indicating that the event should be cancelled
|
||||
/// Only in QueryRemove handler.
|
||||
/// </summary>
|
||||
public bool Cancel;
|
||||
|
||||
/// <summary>
|
||||
/// Drive letter for the device which caused this event
|
||||
/// </summary>
|
||||
public string Drive;
|
||||
|
||||
/// <summary>
|
||||
/// Set to true in your DeviceArrived event handler if you wish to receive the
|
||||
/// QueryRemove event for this drive.
|
||||
/// </summary>
|
||||
public bool HookQueryRemove;
|
||||
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Detects insertion or removal of removable drives.
|
||||
/// Use it in 1 or 2 steps:
|
||||
/// 1) Create instance of this class in your project and add handlers for the
|
||||
/// DeviceArrived, DeviceRemoved and QueryRemove events.
|
||||
/// AND (if you do not want drive detector to creaate a hidden form))
|
||||
/// 2) Override WndProc in your form and call DriveDetector's WndProc from there.
|
||||
/// If you do not want to do step 2, just use the DriveDetector constructor without arguments and
|
||||
/// it will create its own invisible form to receive messages from Windows.
|
||||
/// </summary>
|
||||
class DriveDetector : IDisposable
|
||||
{
|
||||
/// <summary>
|
||||
/// Events signalized to the client app.
|
||||
/// Add handlers for these events in your form to be notified of removable device events
|
||||
/// </summary>
|
||||
public event DriveDetectorEventHandler DeviceArrived;
|
||||
public event DriveDetectorEventHandler DeviceRemoved;
|
||||
public event DriveDetectorEventHandler QueryRemove;
|
||||
|
||||
/// <summary>
|
||||
/// The easiest way to use DriveDetector.
|
||||
/// It will create hidden form for processing Windows messages about USB drives
|
||||
/// You do not need to override WndProc in your form.
|
||||
/// </summary>
|
||||
public DriveDetector()
|
||||
{
|
||||
DetectorForm frm = new DetectorForm(this);
|
||||
frm.Show(); // will be hidden immediatelly
|
||||
Init(frm, null);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Alternate constructor.
|
||||
/// Pass in your Form and DriveDetector will not create hidden form.
|
||||
/// </summary>
|
||||
/// <param name="control">object which will receive Windows messages.
|
||||
/// Pass "this" as this argument from your form class.</param>
|
||||
public DriveDetector(Control control)
|
||||
{
|
||||
Init(control, null);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Consructs DriveDetector object setting also path to file which should be opened
|
||||
/// when registering for query remove.
|
||||
/// </summary>
|
||||
///<param name="control">object which will receive Windows messages.
|
||||
/// Pass "this" as this argument from your form class.</param>
|
||||
/// <param name="FileToOpen">Optional. Name of a file on the removable drive which should be opened.
|
||||
/// If null, root directory of the drive will be opened. Opening a file is needed for us
|
||||
/// to be able to register for the query remove message. TIP: For files use relative path without drive letter.
|
||||
/// e.g. "SomeFolder\file_on_flash.txt"</param>
|
||||
public DriveDetector(Control control, string FileToOpen)
|
||||
{
|
||||
Init(control, FileToOpen);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// init the DriveDetector object
|
||||
/// </summary>
|
||||
/// <param name="intPtr"></param>
|
||||
private void Init(Control control, string fileToOpen)
|
||||
{
|
||||
mFileToOpen = fileToOpen;
|
||||
mFileOnFlash = null;
|
||||
mDeviceNotifyHandle = IntPtr.Zero;
|
||||
mRecipientHandle = control.Handle;
|
||||
mDirHandle = IntPtr.Zero; // handle to the root directory of the flash drive which we open
|
||||
mCurrentDrive = "";
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets the value indicating whether the query remove event will be fired.
|
||||
/// </summary>
|
||||
public bool IsQueryHooked
|
||||
{
|
||||
get
|
||||
{
|
||||
if (mDeviceNotifyHandle == IntPtr.Zero)
|
||||
return false;
|
||||
else
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets letter of drive which is currently hooked. Empty string if none.
|
||||
/// See also IsQueryHooked.
|
||||
/// </summary>
|
||||
public string HookedDrive
|
||||
{
|
||||
get
|
||||
{
|
||||
return mCurrentDrive;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets the file stream for file which this class opened on a drive to be notified
|
||||
/// about it's removal.
|
||||
/// This will be null unless you specified a file to open (DriveDetector opens root directory of the flash drive)
|
||||
/// </summary>
|
||||
public FileStream OpenedFile
|
||||
{
|
||||
get
|
||||
{
|
||||
return mFileOnFlash;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Hooks specified drive to receive a message when it is being removed.
|
||||
/// This can be achieved also by setting e.HookQueryRemove to true in your
|
||||
/// DeviceArrived event handler.
|
||||
/// By default DriveDetector will open the root directory of the flash drive to obtain notification handle
|
||||
/// from Windows (to learn when the drive is about to be removed).
|
||||
/// </summary>
|
||||
/// <param name="fileOnDrive">Drive letter or relative path to a file on the drive which should be
|
||||
/// used to get a handle - required for registering to receive query remove messages.
|
||||
/// If only drive letter is specified (e.g. "D:\\", root directory of the drive will be opened.</param>
|
||||
/// <returns>true if hooked ok, false otherwise</returns>
|
||||
public bool EnableQueryRemove(string fileOnDrive)
|
||||
{
|
||||
if (fileOnDrive == null || fileOnDrive.Length == 0)
|
||||
throw new ArgumentException("Drive path must be supplied to register for Query remove.");
|
||||
|
||||
if ( fileOnDrive.Length == 2 && fileOnDrive[1] == ':' )
|
||||
fileOnDrive += '\\'; // append "\\" if only drive letter with ":" was passed in.
|
||||
|
||||
if (mDeviceNotifyHandle != IntPtr.Zero)
|
||||
{
|
||||
// Unregister first...
|
||||
RegisterForDeviceChange(false, null);
|
||||
}
|
||||
|
||||
if (Path.GetFileName(fileOnDrive).Length == 0 ||!File.Exists(fileOnDrive))
|
||||
mFileToOpen = null; // use root directory...
|
||||
else
|
||||
mFileToOpen = fileOnDrive;
|
||||
|
||||
RegisterQuery(Path.GetPathRoot(fileOnDrive));
|
||||
if (mDeviceNotifyHandle == IntPtr.Zero)
|
||||
return false; // failed to register
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Unhooks any currently hooked drive so that the query remove
|
||||
/// message is not generated for it.
|
||||
/// </summary>
|
||||
public void DisableQueryRemove()
|
||||
{
|
||||
if (mDeviceNotifyHandle != IntPtr.Zero)
|
||||
{
|
||||
RegisterForDeviceChange(false, null);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Unregister and close the file we may have opened on the removable drive.
|
||||
/// Garbage collector will call this method.
|
||||
/// </summary>
|
||||
public void Dispose()
|
||||
{
|
||||
RegisterForDeviceChange(false, null);
|
||||
}
|
||||
|
||||
|
||||
#region WindowProc
|
||||
/// <summary>
|
||||
/// Message handler which must be called from client form.
|
||||
/// Processes Windows messages and calls event handlers.
|
||||
/// </summary>
|
||||
/// <param name="m"></param>
|
||||
public void WndProc(ref Message m)
|
||||
{
|
||||
int devType;
|
||||
char c;
|
||||
|
||||
if (m.Msg == WM_DEVICECHANGE)
|
||||
{
|
||||
// WM_DEVICECHANGE can have several meanings depending on the WParam value...
|
||||
switch (m.WParam.ToInt32())
|
||||
{
|
||||
|
||||
//
|
||||
// New device has just arrived
|
||||
//
|
||||
case DBT_DEVICEARRIVAL:
|
||||
|
||||
devType = Marshal.ReadInt32(m.LParam, 4);
|
||||
if (devType == DBT_DEVTYP_VOLUME)
|
||||
{
|
||||
DEV_BROADCAST_VOLUME vol;
|
||||
vol = (DEV_BROADCAST_VOLUME)
|
||||
Marshal.PtrToStructure(m.LParam, typeof(DEV_BROADCAST_VOLUME));
|
||||
|
||||
// Get the drive letter
|
||||
c = DriveMaskToLetter(vol.dbcv_unitmask);
|
||||
|
||||
|
||||
//
|
||||
// Call the client event handler
|
||||
//
|
||||
// We should create copy of the event before testing it and
|
||||
// calling the delegate - if any
|
||||
DriveDetectorEventHandler tempDeviceArrived = DeviceArrived;
|
||||
if ( tempDeviceArrived != null )
|
||||
{
|
||||
DriveDetectorEventArgs e = new DriveDetectorEventArgs();
|
||||
e.Drive = c + ":\\";
|
||||
tempDeviceArrived(this, e);
|
||||
|
||||
// Register for query remove if requested
|
||||
if (e.HookQueryRemove)
|
||||
{
|
||||
// If something is already hooked, unhook it now
|
||||
if (mDeviceNotifyHandle != IntPtr.Zero)
|
||||
{
|
||||
RegisterForDeviceChange(false, null);
|
||||
}
|
||||
|
||||
RegisterQuery(c + ":\\");
|
||||
}
|
||||
} // if has event handler
|
||||
|
||||
|
||||
}
|
||||
break;
|
||||
|
||||
|
||||
|
||||
//
|
||||
// Device is about to be removed
|
||||
// Any application can cancel the removal
|
||||
//
|
||||
case DBT_DEVICEQUERYREMOVE:
|
||||
|
||||
devType = Marshal.ReadInt32(m.LParam, 4);
|
||||
if (devType == DBT_DEVTYP_HANDLE)
|
||||
{
|
||||
// TODO: we could get the handle for which this message is sent
|
||||
// from vol.dbch_handle and compare it against a list of handles for
|
||||
// which we have registered the query remove message (?)
|
||||
//DEV_BROADCAST_HANDLE vol;
|
||||
//vol = (DEV_BROADCAST_HANDLE)
|
||||
// Marshal.PtrToStructure(m.LParam, typeof(DEV_BROADCAST_HANDLE));
|
||||
// if ( vol.dbch_handle ....
|
||||
|
||||
|
||||
//
|
||||
// Call the event handler in client
|
||||
//
|
||||
DriveDetectorEventHandler tempQuery = QueryRemove;
|
||||
if (tempQuery != null)
|
||||
{
|
||||
DriveDetectorEventArgs e = new DriveDetectorEventArgs();
|
||||
e.Drive = mCurrentDrive; // drive which is hooked
|
||||
tempQuery(this, e);
|
||||
|
||||
// If the client wants to cancel, let Windows know
|
||||
if (e.Cancel)
|
||||
{
|
||||
m.Result = (IntPtr)BROADCAST_QUERY_DENY;
|
||||
}
|
||||
else
|
||||
{
|
||||
// Change 28.10.2007: Unregister the notification, this will
|
||||
// close the handle to file or root directory also.
|
||||
// We have to close it anyway to allow the removal so
|
||||
// even if some other app cancels the removal we would not know about it...
|
||||
RegisterForDeviceChange(false, null); // will also close the mFileOnFlash
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
|
||||
//
|
||||
// Device has been removed
|
||||
//
|
||||
case DBT_DEVICEREMOVECOMPLETE:
|
||||
|
||||
devType = Marshal.ReadInt32(m.LParam, 4);
|
||||
if (devType == DBT_DEVTYP_VOLUME)
|
||||
{
|
||||
devType = Marshal.ReadInt32(m.LParam, 4);
|
||||
if (devType == DBT_DEVTYP_VOLUME)
|
||||
{
|
||||
DEV_BROADCAST_VOLUME vol;
|
||||
vol = (DEV_BROADCAST_VOLUME)
|
||||
Marshal.PtrToStructure(m.LParam, typeof(DEV_BROADCAST_VOLUME));
|
||||
c = DriveMaskToLetter(vol.dbcv_unitmask);
|
||||
|
||||
//
|
||||
// Call the client event handler
|
||||
//
|
||||
DriveDetectorEventHandler tempDeviceRemoved = DeviceRemoved;
|
||||
if (tempDeviceRemoved != null)
|
||||
{
|
||||
DriveDetectorEventArgs e = new DriveDetectorEventArgs();
|
||||
e.Drive = c + ":\\";
|
||||
tempDeviceRemoved(this, e);
|
||||
}
|
||||
|
||||
// TODO: we could unregister the notify handle here if we knew it is the
|
||||
// right drive which has been just removed
|
||||
//RegisterForDeviceChange(false, null);
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
|
||||
|
||||
#region Private Area
|
||||
|
||||
/// <summary>
|
||||
/// New: 28.10.2007 - handle to root directory of flash drive which is opened
|
||||
/// for device notification
|
||||
/// </summary>
|
||||
private IntPtr mDirHandle = IntPtr.Zero;
|
||||
|
||||
/// <summary>
|
||||
/// Class which contains also handle to the file opened on the flash drive
|
||||
/// </summary>
|
||||
private FileStream mFileOnFlash = null;
|
||||
|
||||
/// <summary>
|
||||
/// Name of the file to try to open on the removable drive for query remove registration
|
||||
/// </summary>
|
||||
private string mFileToOpen;
|
||||
|
||||
/// <summary>
|
||||
/// Handle to file which we keep opened on the drive if query remove message is required by the client
|
||||
/// </summary>
|
||||
private IntPtr mDeviceNotifyHandle;
|
||||
|
||||
/// <summary>
|
||||
/// Handle of the window which receives messages from Windows. This will be a form.
|
||||
/// </summary>
|
||||
private IntPtr mRecipientHandle;
|
||||
|
||||
/// <summary>
|
||||
/// Drive which is currently hooked for query remove
|
||||
/// </summary>
|
||||
private string mCurrentDrive;
|
||||
|
||||
|
||||
// Win32 constants
|
||||
private const int DBT_DEVTYP_DEVICEINTERFACE = 5;
|
||||
private const int DBT_DEVTYP_HANDLE = 6;
|
||||
private const int BROADCAST_QUERY_DENY = 0x424D5144;
|
||||
private const int WM_DEVICECHANGE = 0x0219;
|
||||
private const int DBT_DEVICEARRIVAL = 0x8000; // system detected a new device
|
||||
private const int DBT_DEVICEQUERYREMOVE = 0x8001; // Preparing to remove (any program can disable the removal)
|
||||
private const int DBT_DEVICEREMOVECOMPLETE = 0x8004; // removed
|
||||
private const int DBT_DEVTYP_VOLUME = 0x00000002; // drive type is logical volume
|
||||
|
||||
/// <summary>
|
||||
/// Registers for receiving the query remove message for a given drive.
|
||||
/// We need to open a handle on that drive and register with this handle.
|
||||
/// Client can specify this file in mFileToOpen or we will open root directory of the drive
|
||||
/// </summary>
|
||||
/// <param name="drive">drive for which to register. </param>
|
||||
private void RegisterQuery(string drive)
|
||||
{
|
||||
bool register = true;
|
||||
|
||||
if (mFileToOpen == null)
|
||||
{
|
||||
// Change 28.10.2007 - Open the root directory if no file specified - leave mFileToOpen null
|
||||
// If client gave us no file, let's pick one on the drive...
|
||||
//mFileToOpen = GetAnyFile(drive);
|
||||
//if (mFileToOpen.Length == 0)
|
||||
// return; // no file found on the flash drive
|
||||
}
|
||||
else
|
||||
{
|
||||
// Make sure the path in mFileToOpen contains valid drive
|
||||
// If there is a drive letter in the path, it may be different from the actual
|
||||
// letter assigned to the drive now. We will cut it off and merge the actual drive
|
||||
// with the rest of the path.
|
||||
if (mFileToOpen.Contains(":"))
|
||||
{
|
||||
string tmp = mFileToOpen.Substring(3);
|
||||
string root = Path.GetPathRoot(drive);
|
||||
mFileToOpen = Path.Combine(root, tmp);
|
||||
}
|
||||
else
|
||||
mFileToOpen = Path.Combine(drive, mFileToOpen);
|
||||
}
|
||||
|
||||
|
||||
try
|
||||
{
|
||||
//mFileOnFlash = new FileStream(mFileToOpen, FileMode.Open);
|
||||
// Change 28.10.2007 - Open the root directory
|
||||
if (mFileToOpen == null) // open root directory
|
||||
mFileOnFlash = null;
|
||||
else
|
||||
mFileOnFlash = new FileStream(mFileToOpen, FileMode.Open);
|
||||
}
|
||||
catch (Exception)
|
||||
{
|
||||
// just do not register if the file could not be opened
|
||||
register = false;
|
||||
}
|
||||
|
||||
|
||||
if (register)
|
||||
{
|
||||
//RegisterForDeviceChange(true, mFileOnFlash.SafeFileHandle);
|
||||
//mCurrentDrive = drive;
|
||||
// Change 28.10.2007 - Open the root directory
|
||||
if (mFileOnFlash == null)
|
||||
RegisterForDeviceChange(drive);
|
||||
else
|
||||
// old version
|
||||
RegisterForDeviceChange(true, mFileOnFlash.SafeFileHandle);
|
||||
|
||||
mCurrentDrive = drive;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// New version which gets the handle automatically for specified directory
|
||||
/// Only for registering! Unregister with the old version of this function...
|
||||
/// </summary>
|
||||
/// <param name="register"></param>
|
||||
/// <param name="dirPath">e.g. C:\\dir</param>
|
||||
private void RegisterForDeviceChange(string dirPath)
|
||||
{
|
||||
IntPtr handle = Native.OpenDirectory(dirPath);
|
||||
if (handle == IntPtr.Zero)
|
||||
{
|
||||
mDeviceNotifyHandle = IntPtr.Zero;
|
||||
return;
|
||||
}
|
||||
else
|
||||
mDirHandle = handle; // save handle for closing it when unregistering
|
||||
|
||||
// Register for handle
|
||||
DEV_BROADCAST_HANDLE data = new DEV_BROADCAST_HANDLE();
|
||||
data.dbch_devicetype = DBT_DEVTYP_HANDLE;
|
||||
data.dbch_reserved = 0;
|
||||
data.dbch_nameoffset = 0;
|
||||
//data.dbch_data = null;
|
||||
//data.dbch_eventguid = 0;
|
||||
data.dbch_handle = handle;
|
||||
data.dbch_hdevnotify = (IntPtr)0;
|
||||
int size = Marshal.SizeOf(data);
|
||||
data.dbch_size = size;
|
||||
IntPtr buffer = Marshal.AllocHGlobal(size);
|
||||
Marshal.StructureToPtr(data, buffer, true);
|
||||
|
||||
mDeviceNotifyHandle = Native.RegisterDeviceNotification(mRecipientHandle, buffer, 0);
|
||||
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Registers to be notified when the volume is about to be removed
|
||||
/// This is requierd if you want to get the QUERY REMOVE messages
|
||||
/// </summary>
|
||||
/// <param name="register">true to register, false to unregister</param>
|
||||
/// <param name="fileHandle">handle of a file opened on the removable drive</param>
|
||||
private void RegisterForDeviceChange(bool register, SafeFileHandle fileHandle)
|
||||
{
|
||||
if (register)
|
||||
{
|
||||
// Register for handle
|
||||
DEV_BROADCAST_HANDLE data = new DEV_BROADCAST_HANDLE();
|
||||
data.dbch_devicetype = DBT_DEVTYP_HANDLE;
|
||||
data.dbch_reserved = 0;
|
||||
data.dbch_nameoffset = 0;
|
||||
//data.dbch_data = null;
|
||||
//data.dbch_eventguid = 0;
|
||||
data.dbch_handle = fileHandle.DangerousGetHandle(); //Marshal. fileHandle;
|
||||
data.dbch_hdevnotify = (IntPtr)0;
|
||||
int size = Marshal.SizeOf(data);
|
||||
data.dbch_size = size;
|
||||
IntPtr buffer = Marshal.AllocHGlobal(size);
|
||||
Marshal.StructureToPtr(data, buffer, true);
|
||||
|
||||
mDeviceNotifyHandle = Native.RegisterDeviceNotification(mRecipientHandle, buffer, 0);
|
||||
}
|
||||
else
|
||||
{
|
||||
// close the directory handle
|
||||
if (mDirHandle != IntPtr.Zero)
|
||||
{
|
||||
Native.CloseDirectoryHandle(mDirHandle);
|
||||
// string er = Marshal.GetLastWin32Error().ToString();
|
||||
}
|
||||
|
||||
// unregister
|
||||
if (mDeviceNotifyHandle != IntPtr.Zero)
|
||||
{
|
||||
Native.UnregisterDeviceNotification(mDeviceNotifyHandle);
|
||||
}
|
||||
|
||||
|
||||
mDeviceNotifyHandle = IntPtr.Zero;
|
||||
mDirHandle = IntPtr.Zero;
|
||||
|
||||
mCurrentDrive = "";
|
||||
if (mFileOnFlash != null)
|
||||
{
|
||||
mFileOnFlash.Close();
|
||||
mFileOnFlash = null;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets drive letter from a bit mask where bit 0 = A, bit 1 = B etc.
|
||||
/// There can actually be more than one drive in the mask but we
|
||||
/// just use the last one in this case.
|
||||
/// </summary>
|
||||
/// <param name="mask"></param>
|
||||
/// <returns></returns>
|
||||
private static char DriveMaskToLetter(int mask)
|
||||
{
|
||||
char letter;
|
||||
string drives = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
|
||||
// 1 = A
|
||||
// 2 = B
|
||||
// 4 = C...
|
||||
int cnt = 0;
|
||||
int pom = mask / 2;
|
||||
while (pom != 0)
|
||||
{
|
||||
// while there is any bit set in the mask
|
||||
// shift it to the righ...
|
||||
pom = pom / 2;
|
||||
cnt++;
|
||||
}
|
||||
|
||||
if (cnt < drives.Length)
|
||||
letter = drives[cnt];
|
||||
else
|
||||
letter = '?';
|
||||
|
||||
return letter;
|
||||
}
|
||||
|
||||
/* 28.10.2007 - no longer needed
|
||||
/// <summary>
|
||||
/// Searches for any file in a given path and returns its full path
|
||||
/// </summary>
|
||||
/// <param name="drive">drive to search</param>
|
||||
/// <returns>path of the file or empty string</returns>
|
||||
private string GetAnyFile(string drive)
|
||||
{
|
||||
string file = "";
|
||||
// First try files in the root
|
||||
string[] files = Directory.GetFiles(drive);
|
||||
if (files.Length == 0)
|
||||
{
|
||||
// if no file in the root, search whole drive
|
||||
files = Directory.GetFiles(drive, "*.*", SearchOption.AllDirectories);
|
||||
}
|
||||
|
||||
if (files.Length > 0)
|
||||
file = files[0]; // get the first file
|
||||
|
||||
// return empty string if no file found
|
||||
return file;
|
||||
}*/
|
||||
#endregion
|
||||
|
||||
|
||||
#region Native Win32 API
|
||||
/// <summary>
|
||||
/// WinAPI functions
|
||||
/// </summary>
|
||||
private class Native
|
||||
{
|
||||
// HDEVNOTIFY RegisterDeviceNotification(HANDLE hRecipient,LPVOID NotificationFilter,DWORD Flags);
|
||||
[DllImport("user32.dll", CharSet = CharSet.Auto)]
|
||||
public static extern IntPtr RegisterDeviceNotification(IntPtr hRecipient, IntPtr NotificationFilter, uint Flags);
|
||||
|
||||
[DllImport("user32.dll", CharSet = CharSet.Auto)]
|
||||
public static extern uint UnregisterDeviceNotification(IntPtr hHandle);
|
||||
|
||||
//
|
||||
// CreateFile - MSDN
|
||||
const uint GENERIC_READ = 0x80000000;
|
||||
const uint OPEN_EXISTING = 3;
|
||||
const uint FILE_SHARE_READ = 0x00000001;
|
||||
const uint FILE_SHARE_WRITE = 0x00000002;
|
||||
const uint FILE_ATTRIBUTE_NORMAL = 128;
|
||||
const uint FILE_FLAG_BACKUP_SEMANTICS = 0x02000000;
|
||||
static readonly IntPtr INVALID_HANDLE_VALUE = new IntPtr(-1);
|
||||
|
||||
|
||||
// should be "static extern unsafe"
|
||||
[DllImport("kernel32", SetLastError = true)]
|
||||
static extern IntPtr CreateFile(
|
||||
string FileName, // file name
|
||||
uint DesiredAccess, // access mode
|
||||
uint ShareMode, // share mode
|
||||
uint SecurityAttributes, // Security Attributes
|
||||
uint CreationDisposition, // how to create
|
||||
uint FlagsAndAttributes, // file attributes
|
||||
int hTemplateFile // handle to template file
|
||||
);
|
||||
|
||||
|
||||
[DllImport("kernel32", SetLastError = true)]
|
||||
static extern bool CloseHandle(
|
||||
IntPtr hObject // handle to object
|
||||
);
|
||||
|
||||
/// <summary>
|
||||
/// Opens a directory, returns it's handle or zero.
|
||||
/// </summary>
|
||||
/// <param name="dirPath">path to the directory, e.g. "C:\\dir"</param>
|
||||
/// <returns>handle to the directory. Close it with CloseHandle().</returns>
|
||||
static public IntPtr OpenDirectory(string dirPath)
|
||||
{
|
||||
// open the existing file for reading
|
||||
IntPtr handle = CreateFile(
|
||||
dirPath,
|
||||
GENERIC_READ,
|
||||
FILE_SHARE_READ | FILE_SHARE_WRITE,
|
||||
0,
|
||||
OPEN_EXISTING,
|
||||
FILE_FLAG_BACKUP_SEMANTICS | FILE_ATTRIBUTE_NORMAL,
|
||||
0);
|
||||
|
||||
if ( handle == INVALID_HANDLE_VALUE)
|
||||
return IntPtr.Zero;
|
||||
else
|
||||
return handle;
|
||||
}
|
||||
|
||||
|
||||
public static bool CloseDirectoryHandle(IntPtr handle)
|
||||
{
|
||||
return CloseHandle(handle);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Structure with information for RegisterDeviceNotification.
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public struct DEV_BROADCAST_HANDLE
|
||||
{
|
||||
public int dbch_size;
|
||||
public int dbch_devicetype;
|
||||
public int dbch_reserved;
|
||||
public IntPtr dbch_handle;
|
||||
public IntPtr dbch_hdevnotify;
|
||||
public Guid dbch_eventguid;
|
||||
public long dbch_nameoffset;
|
||||
//public byte[] dbch_data[1]; // = new byte[1];
|
||||
public byte dbch_data;
|
||||
public byte dbch_data1;
|
||||
}
|
||||
|
||||
// Struct for parameters of the WM_DEVICECHANGE message
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public struct DEV_BROADCAST_VOLUME
|
||||
{
|
||||
public int dbcv_size;
|
||||
public int dbcv_devicetype;
|
||||
public int dbcv_reserved;
|
||||
public int dbcv_unitmask;
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
}
|
||||
687
Cs_HMI/Project/Dialog/fCounter.Designer.cs
generated
Normal file
687
Cs_HMI/Project/Dialog/fCounter.Designer.cs
generated
Normal file
@@ -0,0 +1,687 @@
|
||||
namespace Project.Dialog
|
||||
{
|
||||
partial class fCounter
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (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()
|
||||
{
|
||||
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.label2 = new System.Windows.Forms.Label();
|
||||
this.label3 = new System.Windows.Forms.Label();
|
||||
this.label4 = new System.Windows.Forms.Label();
|
||||
this.label5 = new System.Windows.Forms.Label();
|
||||
this.label6 = new System.Windows.Forms.Label();
|
||||
this.label7 = new System.Windows.Forms.Label();
|
||||
this.label8 = new System.Windows.Forms.Label();
|
||||
this.label9 = new System.Windows.Forms.Label();
|
||||
this.label10 = new System.Windows.Forms.Label();
|
||||
this.lbcnt1 = new arCtl.arLabel();
|
||||
this.lbcnt2 = new arCtl.arLabel();
|
||||
this.lbcnt3 = new arCtl.arLabel();
|
||||
this.lbcnt4 = new arCtl.arLabel();
|
||||
this.lbcnt5 = new arCtl.arLabel();
|
||||
this.lbcnta = new arCtl.arLabel();
|
||||
this.lbcntm = new arCtl.arLabel();
|
||||
this.lbcnte = new arCtl.arLabel();
|
||||
this.lbcntqa = new arCtl.arLabel();
|
||||
this.lbcntqc = new arCtl.arLabel();
|
||||
this.tableLayoutPanel1.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// tableLayoutPanel1
|
||||
//
|
||||
this.tableLayoutPanel1.CellBorderStyle = System.Windows.Forms.TableLayoutPanelCellBorderStyle.Single;
|
||||
this.tableLayoutPanel1.ColumnCount = 5;
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F));
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F));
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F));
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F));
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F));
|
||||
this.tableLayoutPanel1.Controls.Add(this.label1, 0, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.label2, 1, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.label3, 2, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.label4, 3, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.label5, 4, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.label6, 4, 2);
|
||||
this.tableLayoutPanel1.Controls.Add(this.label7, 3, 2);
|
||||
this.tableLayoutPanel1.Controls.Add(this.label8, 2, 2);
|
||||
this.tableLayoutPanel1.Controls.Add(this.label9, 1, 2);
|
||||
this.tableLayoutPanel1.Controls.Add(this.label10, 0, 2);
|
||||
this.tableLayoutPanel1.Controls.Add(this.lbcnt1, 0, 1);
|
||||
this.tableLayoutPanel1.Controls.Add(this.lbcnt2, 1, 1);
|
||||
this.tableLayoutPanel1.Controls.Add(this.lbcnt3, 2, 1);
|
||||
this.tableLayoutPanel1.Controls.Add(this.lbcnt4, 3, 1);
|
||||
this.tableLayoutPanel1.Controls.Add(this.lbcnt5, 4, 1);
|
||||
this.tableLayoutPanel1.Controls.Add(this.lbcnta, 0, 3);
|
||||
this.tableLayoutPanel1.Controls.Add(this.lbcntm, 1, 3);
|
||||
this.tableLayoutPanel1.Controls.Add(this.lbcnte, 2, 3);
|
||||
this.tableLayoutPanel1.Controls.Add(this.lbcntqa, 3, 3);
|
||||
this.tableLayoutPanel1.Controls.Add(this.lbcntqc, 4, 3);
|
||||
this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0);
|
||||
this.tableLayoutPanel1.Name = "tableLayoutPanel1";
|
||||
this.tableLayoutPanel1.RowCount = 4;
|
||||
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
|
||||
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
|
||||
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
|
||||
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
|
||||
this.tableLayoutPanel1.Size = new System.Drawing.Size(392, 135);
|
||||
this.tableLayoutPanel1.TabIndex = 0;
|
||||
//
|
||||
// label1
|
||||
//
|
||||
this.label1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.label1.Location = new System.Drawing.Point(4, 1);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(71, 20);
|
||||
this.label1.TabIndex = 0;
|
||||
this.label1.Text = "FVI-1";
|
||||
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
//
|
||||
// label2
|
||||
//
|
||||
this.label2.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.label2.Location = new System.Drawing.Point(82, 1);
|
||||
this.label2.Name = "label2";
|
||||
this.label2.Size = new System.Drawing.Size(71, 20);
|
||||
this.label2.TabIndex = 0;
|
||||
this.label2.Text = "FVI-2";
|
||||
this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
//
|
||||
// label3
|
||||
//
|
||||
this.label3.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.label3.Location = new System.Drawing.Point(160, 1);
|
||||
this.label3.Name = "label3";
|
||||
this.label3.Size = new System.Drawing.Size(71, 20);
|
||||
this.label3.TabIndex = 0;
|
||||
this.label3.Text = "FVI-3";
|
||||
this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
//
|
||||
// label4
|
||||
//
|
||||
this.label4.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.label4.Location = new System.Drawing.Point(238, 1);
|
||||
this.label4.Name = "label4";
|
||||
this.label4.Size = new System.Drawing.Size(71, 20);
|
||||
this.label4.TabIndex = 0;
|
||||
this.label4.Text = "FVI-4";
|
||||
this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
//
|
||||
// label5
|
||||
//
|
||||
this.label5.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.label5.Location = new System.Drawing.Point(316, 1);
|
||||
this.label5.Name = "label5";
|
||||
this.label5.Size = new System.Drawing.Size(72, 20);
|
||||
this.label5.TabIndex = 0;
|
||||
this.label5.Text = "--";
|
||||
this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
//
|
||||
// label6
|
||||
//
|
||||
this.label6.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.label6.Location = new System.Drawing.Point(316, 68);
|
||||
this.label6.Name = "label6";
|
||||
this.label6.Size = new System.Drawing.Size(72, 20);
|
||||
this.label6.TabIndex = 0;
|
||||
this.label6.Text = "QC";
|
||||
this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
//
|
||||
// label7
|
||||
//
|
||||
this.label7.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.label7.Location = new System.Drawing.Point(238, 68);
|
||||
this.label7.Name = "label7";
|
||||
this.label7.Size = new System.Drawing.Size(71, 20);
|
||||
this.label7.TabIndex = 0;
|
||||
this.label7.Text = "QA";
|
||||
this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
//
|
||||
// label8
|
||||
//
|
||||
this.label8.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.label8.Location = new System.Drawing.Point(160, 68);
|
||||
this.label8.Name = "label8";
|
||||
this.label8.Size = new System.Drawing.Size(71, 20);
|
||||
this.label8.TabIndex = 0;
|
||||
this.label8.Text = "충전실패";
|
||||
this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
//
|
||||
// label9
|
||||
//
|
||||
this.label9.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.label9.Location = new System.Drawing.Point(82, 68);
|
||||
this.label9.Name = "label9";
|
||||
this.label9.Size = new System.Drawing.Size(71, 20);
|
||||
this.label9.TabIndex = 0;
|
||||
this.label9.Text = "충전(수동)";
|
||||
this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
//
|
||||
// label10
|
||||
//
|
||||
this.label10.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.label10.Location = new System.Drawing.Point(4, 68);
|
||||
this.label10.Name = "label10";
|
||||
this.label10.Size = new System.Drawing.Size(71, 20);
|
||||
this.label10.TabIndex = 0;
|
||||
this.label10.Text = "충전(자동)";
|
||||
this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
//
|
||||
// lbcnt1
|
||||
//
|
||||
this.lbcnt1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(40)))), ((int)(((byte)(40)))));
|
||||
this.lbcnt1.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(40)))), ((int)(((byte)(40)))));
|
||||
this.lbcnt1.BackgroundImagePadding = new System.Windows.Forms.Padding(0);
|
||||
this.lbcnt1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(90)))), ((int)(((byte)(90)))));
|
||||
this.lbcnt1.BorderColorOver = System.Drawing.Color.DodgerBlue;
|
||||
this.lbcnt1.BorderSize = new System.Windows.Forms.Padding(0);
|
||||
this.lbcnt1.ColorTheme = arCtl.arLabel.eColorTheme.Custom;
|
||||
this.lbcnt1.Cursor = System.Windows.Forms.Cursors.Arrow;
|
||||
this.lbcnt1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.lbcnt1.Font = new System.Drawing.Font("Consolas", 20.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.lbcnt1.ForeColor = System.Drawing.Color.White;
|
||||
this.lbcnt1.GradientEnable = true;
|
||||
this.lbcnt1.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.ForwardDiagonal;
|
||||
this.lbcnt1.GradientRepeatBG = false;
|
||||
this.lbcnt1.isButton = false;
|
||||
this.lbcnt1.Location = new System.Drawing.Point(1, 22);
|
||||
this.lbcnt1.Margin = new System.Windows.Forms.Padding(0);
|
||||
this.lbcnt1.MouseDownColor = System.Drawing.Color.Yellow;
|
||||
this.lbcnt1.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
|
||||
this.lbcnt1.msg = null;
|
||||
this.lbcnt1.Name = "lbcnt1";
|
||||
this.lbcnt1.ProgressBorderColor = System.Drawing.Color.Black;
|
||||
this.lbcnt1.ProgressColor1 = System.Drawing.Color.LightSkyBlue;
|
||||
this.lbcnt1.ProgressColor2 = System.Drawing.Color.DeepSkyBlue;
|
||||
this.lbcnt1.ProgressEnable = false;
|
||||
this.lbcnt1.ProgressFont = new System.Drawing.Font("Consolas", 10F);
|
||||
this.lbcnt1.ProgressForeColor = System.Drawing.Color.Black;
|
||||
this.lbcnt1.ProgressMax = 100F;
|
||||
this.lbcnt1.ProgressMin = 0F;
|
||||
this.lbcnt1.ProgressPadding = new System.Windows.Forms.Padding(0);
|
||||
this.lbcnt1.ProgressValue = 0F;
|
||||
this.lbcnt1.ShadowColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
|
||||
this.lbcnt1.Sign = "";
|
||||
this.lbcnt1.SignAlign = System.Drawing.ContentAlignment.BottomRight;
|
||||
this.lbcnt1.SignColor = System.Drawing.Color.Yellow;
|
||||
this.lbcnt1.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
|
||||
this.lbcnt1.Size = new System.Drawing.Size(77, 45);
|
||||
this.lbcnt1.TabIndex = 5;
|
||||
this.lbcnt1.Text = "99";
|
||||
this.lbcnt1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
this.lbcnt1.TextShadow = true;
|
||||
this.lbcnt1.TextVisible = true;
|
||||
//
|
||||
// lbcnt2
|
||||
//
|
||||
this.lbcnt2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(40)))), ((int)(((byte)(40)))));
|
||||
this.lbcnt2.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(40)))), ((int)(((byte)(40)))));
|
||||
this.lbcnt2.BackgroundImagePadding = new System.Windows.Forms.Padding(0);
|
||||
this.lbcnt2.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(90)))), ((int)(((byte)(90)))));
|
||||
this.lbcnt2.BorderColorOver = System.Drawing.Color.DodgerBlue;
|
||||
this.lbcnt2.BorderSize = new System.Windows.Forms.Padding(0);
|
||||
this.lbcnt2.ColorTheme = arCtl.arLabel.eColorTheme.Custom;
|
||||
this.lbcnt2.Cursor = System.Windows.Forms.Cursors.Arrow;
|
||||
this.lbcnt2.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.lbcnt2.Font = new System.Drawing.Font("Consolas", 20.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.lbcnt2.ForeColor = System.Drawing.Color.White;
|
||||
this.lbcnt2.GradientEnable = true;
|
||||
this.lbcnt2.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.ForwardDiagonal;
|
||||
this.lbcnt2.GradientRepeatBG = false;
|
||||
this.lbcnt2.isButton = false;
|
||||
this.lbcnt2.Location = new System.Drawing.Point(79, 22);
|
||||
this.lbcnt2.Margin = new System.Windows.Forms.Padding(0);
|
||||
this.lbcnt2.MouseDownColor = System.Drawing.Color.Yellow;
|
||||
this.lbcnt2.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
|
||||
this.lbcnt2.msg = null;
|
||||
this.lbcnt2.Name = "lbcnt2";
|
||||
this.lbcnt2.ProgressBorderColor = System.Drawing.Color.Black;
|
||||
this.lbcnt2.ProgressColor1 = System.Drawing.Color.LightSkyBlue;
|
||||
this.lbcnt2.ProgressColor2 = System.Drawing.Color.DeepSkyBlue;
|
||||
this.lbcnt2.ProgressEnable = false;
|
||||
this.lbcnt2.ProgressFont = new System.Drawing.Font("Consolas", 10F);
|
||||
this.lbcnt2.ProgressForeColor = System.Drawing.Color.Black;
|
||||
this.lbcnt2.ProgressMax = 100F;
|
||||
this.lbcnt2.ProgressMin = 0F;
|
||||
this.lbcnt2.ProgressPadding = new System.Windows.Forms.Padding(0);
|
||||
this.lbcnt2.ProgressValue = 0F;
|
||||
this.lbcnt2.ShadowColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
|
||||
this.lbcnt2.Sign = "";
|
||||
this.lbcnt2.SignAlign = System.Drawing.ContentAlignment.BottomRight;
|
||||
this.lbcnt2.SignColor = System.Drawing.Color.Yellow;
|
||||
this.lbcnt2.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
|
||||
this.lbcnt2.Size = new System.Drawing.Size(77, 45);
|
||||
this.lbcnt2.TabIndex = 5;
|
||||
this.lbcnt2.Text = "99";
|
||||
this.lbcnt2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
this.lbcnt2.TextShadow = true;
|
||||
this.lbcnt2.TextVisible = true;
|
||||
//
|
||||
// lbcnt3
|
||||
//
|
||||
this.lbcnt3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(40)))), ((int)(((byte)(40)))));
|
||||
this.lbcnt3.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(40)))), ((int)(((byte)(40)))));
|
||||
this.lbcnt3.BackgroundImagePadding = new System.Windows.Forms.Padding(0);
|
||||
this.lbcnt3.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(90)))), ((int)(((byte)(90)))));
|
||||
this.lbcnt3.BorderColorOver = System.Drawing.Color.DodgerBlue;
|
||||
this.lbcnt3.BorderSize = new System.Windows.Forms.Padding(0);
|
||||
this.lbcnt3.ColorTheme = arCtl.arLabel.eColorTheme.Custom;
|
||||
this.lbcnt3.Cursor = System.Windows.Forms.Cursors.Arrow;
|
||||
this.lbcnt3.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.lbcnt3.Font = new System.Drawing.Font("Consolas", 20.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.lbcnt3.ForeColor = System.Drawing.Color.White;
|
||||
this.lbcnt3.GradientEnable = true;
|
||||
this.lbcnt3.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.ForwardDiagonal;
|
||||
this.lbcnt3.GradientRepeatBG = false;
|
||||
this.lbcnt3.isButton = false;
|
||||
this.lbcnt3.Location = new System.Drawing.Point(157, 22);
|
||||
this.lbcnt3.Margin = new System.Windows.Forms.Padding(0);
|
||||
this.lbcnt3.MouseDownColor = System.Drawing.Color.Yellow;
|
||||
this.lbcnt3.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
|
||||
this.lbcnt3.msg = null;
|
||||
this.lbcnt3.Name = "lbcnt3";
|
||||
this.lbcnt3.ProgressBorderColor = System.Drawing.Color.Black;
|
||||
this.lbcnt3.ProgressColor1 = System.Drawing.Color.LightSkyBlue;
|
||||
this.lbcnt3.ProgressColor2 = System.Drawing.Color.DeepSkyBlue;
|
||||
this.lbcnt3.ProgressEnable = false;
|
||||
this.lbcnt3.ProgressFont = new System.Drawing.Font("Consolas", 10F);
|
||||
this.lbcnt3.ProgressForeColor = System.Drawing.Color.Black;
|
||||
this.lbcnt3.ProgressMax = 100F;
|
||||
this.lbcnt3.ProgressMin = 0F;
|
||||
this.lbcnt3.ProgressPadding = new System.Windows.Forms.Padding(0);
|
||||
this.lbcnt3.ProgressValue = 0F;
|
||||
this.lbcnt3.ShadowColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
|
||||
this.lbcnt3.Sign = "";
|
||||
this.lbcnt3.SignAlign = System.Drawing.ContentAlignment.BottomRight;
|
||||
this.lbcnt3.SignColor = System.Drawing.Color.Yellow;
|
||||
this.lbcnt3.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
|
||||
this.lbcnt3.Size = new System.Drawing.Size(77, 45);
|
||||
this.lbcnt3.TabIndex = 5;
|
||||
this.lbcnt3.Text = "99";
|
||||
this.lbcnt3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
this.lbcnt3.TextShadow = true;
|
||||
this.lbcnt3.TextVisible = true;
|
||||
//
|
||||
// lbcnt4
|
||||
//
|
||||
this.lbcnt4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(40)))), ((int)(((byte)(40)))));
|
||||
this.lbcnt4.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(40)))), ((int)(((byte)(40)))));
|
||||
this.lbcnt4.BackgroundImagePadding = new System.Windows.Forms.Padding(0);
|
||||
this.lbcnt4.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(90)))), ((int)(((byte)(90)))));
|
||||
this.lbcnt4.BorderColorOver = System.Drawing.Color.DodgerBlue;
|
||||
this.lbcnt4.BorderSize = new System.Windows.Forms.Padding(0);
|
||||
this.lbcnt4.ColorTheme = arCtl.arLabel.eColorTheme.Custom;
|
||||
this.lbcnt4.Cursor = System.Windows.Forms.Cursors.Arrow;
|
||||
this.lbcnt4.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.lbcnt4.Font = new System.Drawing.Font("Consolas", 20.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.lbcnt4.ForeColor = System.Drawing.Color.White;
|
||||
this.lbcnt4.GradientEnable = true;
|
||||
this.lbcnt4.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.ForwardDiagonal;
|
||||
this.lbcnt4.GradientRepeatBG = false;
|
||||
this.lbcnt4.isButton = false;
|
||||
this.lbcnt4.Location = new System.Drawing.Point(235, 22);
|
||||
this.lbcnt4.Margin = new System.Windows.Forms.Padding(0);
|
||||
this.lbcnt4.MouseDownColor = System.Drawing.Color.Yellow;
|
||||
this.lbcnt4.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
|
||||
this.lbcnt4.msg = null;
|
||||
this.lbcnt4.Name = "lbcnt4";
|
||||
this.lbcnt4.ProgressBorderColor = System.Drawing.Color.Black;
|
||||
this.lbcnt4.ProgressColor1 = System.Drawing.Color.LightSkyBlue;
|
||||
this.lbcnt4.ProgressColor2 = System.Drawing.Color.DeepSkyBlue;
|
||||
this.lbcnt4.ProgressEnable = false;
|
||||
this.lbcnt4.ProgressFont = new System.Drawing.Font("Consolas", 10F);
|
||||
this.lbcnt4.ProgressForeColor = System.Drawing.Color.Black;
|
||||
this.lbcnt4.ProgressMax = 100F;
|
||||
this.lbcnt4.ProgressMin = 0F;
|
||||
this.lbcnt4.ProgressPadding = new System.Windows.Forms.Padding(0);
|
||||
this.lbcnt4.ProgressValue = 0F;
|
||||
this.lbcnt4.ShadowColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
|
||||
this.lbcnt4.Sign = "";
|
||||
this.lbcnt4.SignAlign = System.Drawing.ContentAlignment.BottomRight;
|
||||
this.lbcnt4.SignColor = System.Drawing.Color.Yellow;
|
||||
this.lbcnt4.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
|
||||
this.lbcnt4.Size = new System.Drawing.Size(77, 45);
|
||||
this.lbcnt4.TabIndex = 5;
|
||||
this.lbcnt4.Text = "99";
|
||||
this.lbcnt4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
this.lbcnt4.TextShadow = true;
|
||||
this.lbcnt4.TextVisible = true;
|
||||
//
|
||||
// lbcnt5
|
||||
//
|
||||
this.lbcnt5.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(40)))), ((int)(((byte)(40)))));
|
||||
this.lbcnt5.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(40)))), ((int)(((byte)(40)))));
|
||||
this.lbcnt5.BackgroundImagePadding = new System.Windows.Forms.Padding(0);
|
||||
this.lbcnt5.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(90)))), ((int)(((byte)(90)))));
|
||||
this.lbcnt5.BorderColorOver = System.Drawing.Color.DodgerBlue;
|
||||
this.lbcnt5.BorderSize = new System.Windows.Forms.Padding(0);
|
||||
this.lbcnt5.ColorTheme = arCtl.arLabel.eColorTheme.Custom;
|
||||
this.lbcnt5.Cursor = System.Windows.Forms.Cursors.Arrow;
|
||||
this.lbcnt5.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.lbcnt5.Font = new System.Drawing.Font("Consolas", 20.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.lbcnt5.ForeColor = System.Drawing.Color.White;
|
||||
this.lbcnt5.GradientEnable = true;
|
||||
this.lbcnt5.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.ForwardDiagonal;
|
||||
this.lbcnt5.GradientRepeatBG = false;
|
||||
this.lbcnt5.isButton = false;
|
||||
this.lbcnt5.Location = new System.Drawing.Point(313, 22);
|
||||
this.lbcnt5.Margin = new System.Windows.Forms.Padding(0);
|
||||
this.lbcnt5.MouseDownColor = System.Drawing.Color.Yellow;
|
||||
this.lbcnt5.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
|
||||
this.lbcnt5.msg = null;
|
||||
this.lbcnt5.Name = "lbcnt5";
|
||||
this.lbcnt5.ProgressBorderColor = System.Drawing.Color.Black;
|
||||
this.lbcnt5.ProgressColor1 = System.Drawing.Color.LightSkyBlue;
|
||||
this.lbcnt5.ProgressColor2 = System.Drawing.Color.DeepSkyBlue;
|
||||
this.lbcnt5.ProgressEnable = false;
|
||||
this.lbcnt5.ProgressFont = new System.Drawing.Font("Consolas", 10F);
|
||||
this.lbcnt5.ProgressForeColor = System.Drawing.Color.Black;
|
||||
this.lbcnt5.ProgressMax = 100F;
|
||||
this.lbcnt5.ProgressMin = 0F;
|
||||
this.lbcnt5.ProgressPadding = new System.Windows.Forms.Padding(0);
|
||||
this.lbcnt5.ProgressValue = 0F;
|
||||
this.lbcnt5.ShadowColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
|
||||
this.lbcnt5.Sign = "";
|
||||
this.lbcnt5.SignAlign = System.Drawing.ContentAlignment.BottomRight;
|
||||
this.lbcnt5.SignColor = System.Drawing.Color.Yellow;
|
||||
this.lbcnt5.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
|
||||
this.lbcnt5.Size = new System.Drawing.Size(78, 45);
|
||||
this.lbcnt5.TabIndex = 5;
|
||||
this.lbcnt5.Text = "--";
|
||||
this.lbcnt5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
this.lbcnt5.TextShadow = true;
|
||||
this.lbcnt5.TextVisible = true;
|
||||
//
|
||||
// lbcnta
|
||||
//
|
||||
this.lbcnta.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(40)))), ((int)(((byte)(40)))));
|
||||
this.lbcnta.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(40)))), ((int)(((byte)(40)))));
|
||||
this.lbcnta.BackgroundImagePadding = new System.Windows.Forms.Padding(0);
|
||||
this.lbcnta.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(90)))), ((int)(((byte)(90)))));
|
||||
this.lbcnta.BorderColorOver = System.Drawing.Color.DodgerBlue;
|
||||
this.lbcnta.BorderSize = new System.Windows.Forms.Padding(0);
|
||||
this.lbcnta.ColorTheme = arCtl.arLabel.eColorTheme.Custom;
|
||||
this.lbcnta.Cursor = System.Windows.Forms.Cursors.Arrow;
|
||||
this.lbcnta.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.lbcnta.Font = new System.Drawing.Font("Consolas", 20.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.lbcnta.ForeColor = System.Drawing.Color.White;
|
||||
this.lbcnta.GradientEnable = true;
|
||||
this.lbcnta.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.ForwardDiagonal;
|
||||
this.lbcnta.GradientRepeatBG = false;
|
||||
this.lbcnta.isButton = false;
|
||||
this.lbcnta.Location = new System.Drawing.Point(1, 89);
|
||||
this.lbcnta.Margin = new System.Windows.Forms.Padding(0);
|
||||
this.lbcnta.MouseDownColor = System.Drawing.Color.Yellow;
|
||||
this.lbcnta.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
|
||||
this.lbcnta.msg = null;
|
||||
this.lbcnta.Name = "lbcnta";
|
||||
this.lbcnta.ProgressBorderColor = System.Drawing.Color.Black;
|
||||
this.lbcnta.ProgressColor1 = System.Drawing.Color.LightSkyBlue;
|
||||
this.lbcnta.ProgressColor2 = System.Drawing.Color.DeepSkyBlue;
|
||||
this.lbcnta.ProgressEnable = false;
|
||||
this.lbcnta.ProgressFont = new System.Drawing.Font("Consolas", 10F);
|
||||
this.lbcnta.ProgressForeColor = System.Drawing.Color.Black;
|
||||
this.lbcnta.ProgressMax = 100F;
|
||||
this.lbcnta.ProgressMin = 0F;
|
||||
this.lbcnta.ProgressPadding = new System.Windows.Forms.Padding(0);
|
||||
this.lbcnta.ProgressValue = 0F;
|
||||
this.lbcnta.ShadowColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
|
||||
this.lbcnta.Sign = "";
|
||||
this.lbcnta.SignAlign = System.Drawing.ContentAlignment.BottomRight;
|
||||
this.lbcnta.SignColor = System.Drawing.Color.Yellow;
|
||||
this.lbcnta.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
|
||||
this.lbcnta.Size = new System.Drawing.Size(77, 45);
|
||||
this.lbcnta.TabIndex = 5;
|
||||
this.lbcnta.Text = "99";
|
||||
this.lbcnta.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
this.lbcnta.TextShadow = true;
|
||||
this.lbcnta.TextVisible = true;
|
||||
//
|
||||
// lbcntm
|
||||
//
|
||||
this.lbcntm.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(40)))), ((int)(((byte)(40)))));
|
||||
this.lbcntm.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(40)))), ((int)(((byte)(40)))));
|
||||
this.lbcntm.BackgroundImagePadding = new System.Windows.Forms.Padding(0);
|
||||
this.lbcntm.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(90)))), ((int)(((byte)(90)))));
|
||||
this.lbcntm.BorderColorOver = System.Drawing.Color.DodgerBlue;
|
||||
this.lbcntm.BorderSize = new System.Windows.Forms.Padding(0);
|
||||
this.lbcntm.ColorTheme = arCtl.arLabel.eColorTheme.Custom;
|
||||
this.lbcntm.Cursor = System.Windows.Forms.Cursors.Arrow;
|
||||
this.lbcntm.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.lbcntm.Font = new System.Drawing.Font("Consolas", 20.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.lbcntm.ForeColor = System.Drawing.Color.White;
|
||||
this.lbcntm.GradientEnable = true;
|
||||
this.lbcntm.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.ForwardDiagonal;
|
||||
this.lbcntm.GradientRepeatBG = false;
|
||||
this.lbcntm.isButton = false;
|
||||
this.lbcntm.Location = new System.Drawing.Point(79, 89);
|
||||
this.lbcntm.Margin = new System.Windows.Forms.Padding(0);
|
||||
this.lbcntm.MouseDownColor = System.Drawing.Color.Yellow;
|
||||
this.lbcntm.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
|
||||
this.lbcntm.msg = null;
|
||||
this.lbcntm.Name = "lbcntm";
|
||||
this.lbcntm.ProgressBorderColor = System.Drawing.Color.Black;
|
||||
this.lbcntm.ProgressColor1 = System.Drawing.Color.LightSkyBlue;
|
||||
this.lbcntm.ProgressColor2 = System.Drawing.Color.DeepSkyBlue;
|
||||
this.lbcntm.ProgressEnable = false;
|
||||
this.lbcntm.ProgressFont = new System.Drawing.Font("Consolas", 10F);
|
||||
this.lbcntm.ProgressForeColor = System.Drawing.Color.Black;
|
||||
this.lbcntm.ProgressMax = 100F;
|
||||
this.lbcntm.ProgressMin = 0F;
|
||||
this.lbcntm.ProgressPadding = new System.Windows.Forms.Padding(0);
|
||||
this.lbcntm.ProgressValue = 0F;
|
||||
this.lbcntm.ShadowColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
|
||||
this.lbcntm.Sign = "";
|
||||
this.lbcntm.SignAlign = System.Drawing.ContentAlignment.BottomRight;
|
||||
this.lbcntm.SignColor = System.Drawing.Color.Yellow;
|
||||
this.lbcntm.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
|
||||
this.lbcntm.Size = new System.Drawing.Size(77, 45);
|
||||
this.lbcntm.TabIndex = 5;
|
||||
this.lbcntm.Text = "99";
|
||||
this.lbcntm.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
this.lbcntm.TextShadow = true;
|
||||
this.lbcntm.TextVisible = true;
|
||||
//
|
||||
// lbcnte
|
||||
//
|
||||
this.lbcnte.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(40)))), ((int)(((byte)(40)))));
|
||||
this.lbcnte.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(40)))), ((int)(((byte)(40)))));
|
||||
this.lbcnte.BackgroundImagePadding = new System.Windows.Forms.Padding(0);
|
||||
this.lbcnte.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(90)))), ((int)(((byte)(90)))));
|
||||
this.lbcnte.BorderColorOver = System.Drawing.Color.DodgerBlue;
|
||||
this.lbcnte.BorderSize = new System.Windows.Forms.Padding(0);
|
||||
this.lbcnte.ColorTheme = arCtl.arLabel.eColorTheme.Custom;
|
||||
this.lbcnte.Cursor = System.Windows.Forms.Cursors.Arrow;
|
||||
this.lbcnte.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.lbcnte.Font = new System.Drawing.Font("Consolas", 20.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.lbcnte.ForeColor = System.Drawing.Color.White;
|
||||
this.lbcnte.GradientEnable = true;
|
||||
this.lbcnte.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.ForwardDiagonal;
|
||||
this.lbcnte.GradientRepeatBG = false;
|
||||
this.lbcnte.isButton = false;
|
||||
this.lbcnte.Location = new System.Drawing.Point(157, 89);
|
||||
this.lbcnte.Margin = new System.Windows.Forms.Padding(0);
|
||||
this.lbcnte.MouseDownColor = System.Drawing.Color.Yellow;
|
||||
this.lbcnte.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
|
||||
this.lbcnte.msg = null;
|
||||
this.lbcnte.Name = "lbcnte";
|
||||
this.lbcnte.ProgressBorderColor = System.Drawing.Color.Black;
|
||||
this.lbcnte.ProgressColor1 = System.Drawing.Color.LightSkyBlue;
|
||||
this.lbcnte.ProgressColor2 = System.Drawing.Color.DeepSkyBlue;
|
||||
this.lbcnte.ProgressEnable = false;
|
||||
this.lbcnte.ProgressFont = new System.Drawing.Font("Consolas", 10F);
|
||||
this.lbcnte.ProgressForeColor = System.Drawing.Color.Black;
|
||||
this.lbcnte.ProgressMax = 100F;
|
||||
this.lbcnte.ProgressMin = 0F;
|
||||
this.lbcnte.ProgressPadding = new System.Windows.Forms.Padding(0);
|
||||
this.lbcnte.ProgressValue = 0F;
|
||||
this.lbcnte.ShadowColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
|
||||
this.lbcnte.Sign = "";
|
||||
this.lbcnte.SignAlign = System.Drawing.ContentAlignment.BottomRight;
|
||||
this.lbcnte.SignColor = System.Drawing.Color.Yellow;
|
||||
this.lbcnte.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
|
||||
this.lbcnte.Size = new System.Drawing.Size(77, 45);
|
||||
this.lbcnte.TabIndex = 5;
|
||||
this.lbcnte.Text = "99";
|
||||
this.lbcnte.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
this.lbcnte.TextShadow = true;
|
||||
this.lbcnte.TextVisible = true;
|
||||
//
|
||||
// lbcntqa
|
||||
//
|
||||
this.lbcntqa.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(40)))), ((int)(((byte)(40)))));
|
||||
this.lbcntqa.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(40)))), ((int)(((byte)(40)))));
|
||||
this.lbcntqa.BackgroundImagePadding = new System.Windows.Forms.Padding(0);
|
||||
this.lbcntqa.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(90)))), ((int)(((byte)(90)))));
|
||||
this.lbcntqa.BorderColorOver = System.Drawing.Color.DodgerBlue;
|
||||
this.lbcntqa.BorderSize = new System.Windows.Forms.Padding(0);
|
||||
this.lbcntqa.ColorTheme = arCtl.arLabel.eColorTheme.Custom;
|
||||
this.lbcntqa.Cursor = System.Windows.Forms.Cursors.Arrow;
|
||||
this.lbcntqa.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.lbcntqa.Font = new System.Drawing.Font("Consolas", 20.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.lbcntqa.ForeColor = System.Drawing.Color.White;
|
||||
this.lbcntqa.GradientEnable = true;
|
||||
this.lbcntqa.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.ForwardDiagonal;
|
||||
this.lbcntqa.GradientRepeatBG = false;
|
||||
this.lbcntqa.isButton = false;
|
||||
this.lbcntqa.Location = new System.Drawing.Point(235, 89);
|
||||
this.lbcntqa.Margin = new System.Windows.Forms.Padding(0);
|
||||
this.lbcntqa.MouseDownColor = System.Drawing.Color.Yellow;
|
||||
this.lbcntqa.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
|
||||
this.lbcntqa.msg = null;
|
||||
this.lbcntqa.Name = "lbcntqa";
|
||||
this.lbcntqa.ProgressBorderColor = System.Drawing.Color.Black;
|
||||
this.lbcntqa.ProgressColor1 = System.Drawing.Color.LightSkyBlue;
|
||||
this.lbcntqa.ProgressColor2 = System.Drawing.Color.DeepSkyBlue;
|
||||
this.lbcntqa.ProgressEnable = false;
|
||||
this.lbcntqa.ProgressFont = new System.Drawing.Font("Consolas", 10F);
|
||||
this.lbcntqa.ProgressForeColor = System.Drawing.Color.Black;
|
||||
this.lbcntqa.ProgressMax = 100F;
|
||||
this.lbcntqa.ProgressMin = 0F;
|
||||
this.lbcntqa.ProgressPadding = new System.Windows.Forms.Padding(0);
|
||||
this.lbcntqa.ProgressValue = 0F;
|
||||
this.lbcntqa.ShadowColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
|
||||
this.lbcntqa.Sign = "";
|
||||
this.lbcntqa.SignAlign = System.Drawing.ContentAlignment.BottomRight;
|
||||
this.lbcntqa.SignColor = System.Drawing.Color.Yellow;
|
||||
this.lbcntqa.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
|
||||
this.lbcntqa.Size = new System.Drawing.Size(77, 45);
|
||||
this.lbcntqa.TabIndex = 5;
|
||||
this.lbcntqa.Text = "99";
|
||||
this.lbcntqa.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
this.lbcntqa.TextShadow = true;
|
||||
this.lbcntqa.TextVisible = true;
|
||||
//
|
||||
// lbcntqc
|
||||
//
|
||||
this.lbcntqc.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(40)))), ((int)(((byte)(40)))));
|
||||
this.lbcntqc.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(40)))), ((int)(((byte)(40)))));
|
||||
this.lbcntqc.BackgroundImagePadding = new System.Windows.Forms.Padding(0);
|
||||
this.lbcntqc.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(90)))), ((int)(((byte)(90)))));
|
||||
this.lbcntqc.BorderColorOver = System.Drawing.Color.DodgerBlue;
|
||||
this.lbcntqc.BorderSize = new System.Windows.Forms.Padding(0);
|
||||
this.lbcntqc.ColorTheme = arCtl.arLabel.eColorTheme.Custom;
|
||||
this.lbcntqc.Cursor = System.Windows.Forms.Cursors.Arrow;
|
||||
this.lbcntqc.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.lbcntqc.Font = new System.Drawing.Font("Consolas", 20.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.lbcntqc.ForeColor = System.Drawing.Color.White;
|
||||
this.lbcntqc.GradientEnable = true;
|
||||
this.lbcntqc.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.ForwardDiagonal;
|
||||
this.lbcntqc.GradientRepeatBG = false;
|
||||
this.lbcntqc.isButton = false;
|
||||
this.lbcntqc.Location = new System.Drawing.Point(313, 89);
|
||||
this.lbcntqc.Margin = new System.Windows.Forms.Padding(0);
|
||||
this.lbcntqc.MouseDownColor = System.Drawing.Color.Yellow;
|
||||
this.lbcntqc.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
|
||||
this.lbcntqc.msg = null;
|
||||
this.lbcntqc.Name = "lbcntqc";
|
||||
this.lbcntqc.ProgressBorderColor = System.Drawing.Color.Black;
|
||||
this.lbcntqc.ProgressColor1 = System.Drawing.Color.LightSkyBlue;
|
||||
this.lbcntqc.ProgressColor2 = System.Drawing.Color.DeepSkyBlue;
|
||||
this.lbcntqc.ProgressEnable = false;
|
||||
this.lbcntqc.ProgressFont = new System.Drawing.Font("Consolas", 10F);
|
||||
this.lbcntqc.ProgressForeColor = System.Drawing.Color.Black;
|
||||
this.lbcntqc.ProgressMax = 100F;
|
||||
this.lbcntqc.ProgressMin = 0F;
|
||||
this.lbcntqc.ProgressPadding = new System.Windows.Forms.Padding(0);
|
||||
this.lbcntqc.ProgressValue = 0F;
|
||||
this.lbcntqc.ShadowColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
|
||||
this.lbcntqc.Sign = "";
|
||||
this.lbcntqc.SignAlign = System.Drawing.ContentAlignment.BottomRight;
|
||||
this.lbcntqc.SignColor = System.Drawing.Color.Yellow;
|
||||
this.lbcntqc.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
|
||||
this.lbcntqc.Size = new System.Drawing.Size(78, 45);
|
||||
this.lbcntqc.TabIndex = 5;
|
||||
this.lbcntqc.Text = "99";
|
||||
this.lbcntqc.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
this.lbcntqc.TextShadow = true;
|
||||
this.lbcntqc.TextVisible = true;
|
||||
this.lbcntqc.Click += new System.EventHandler(this.lbcntpk_Click);
|
||||
//
|
||||
// fCounter
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(392, 135);
|
||||
this.Controls.Add(this.tableLayoutPanel1);
|
||||
this.MaximizeBox = false;
|
||||
this.MinimizeBox = false;
|
||||
this.Name = "fCounter";
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||
this.Text = "fCounter";
|
||||
this.Load += new System.EventHandler(this.fCounter_Load);
|
||||
this.tableLayoutPanel1.ResumeLayout(false);
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
|
||||
private System.Windows.Forms.Label label1;
|
||||
private System.Windows.Forms.Label label2;
|
||||
private System.Windows.Forms.Label label3;
|
||||
private System.Windows.Forms.Label label4;
|
||||
private System.Windows.Forms.Label label5;
|
||||
private System.Windows.Forms.Label label7;
|
||||
private System.Windows.Forms.Label label8;
|
||||
private System.Windows.Forms.Label label9;
|
||||
private System.Windows.Forms.Label label10;
|
||||
private arCtl.arLabel lbcnt1;
|
||||
private arCtl.arLabel lbcnt2;
|
||||
private arCtl.arLabel lbcnt3;
|
||||
private arCtl.arLabel lbcnt4;
|
||||
private arCtl.arLabel lbcnt5;
|
||||
private arCtl.arLabel lbcnta;
|
||||
private arCtl.arLabel lbcntm;
|
||||
private arCtl.arLabel lbcnte;
|
||||
private arCtl.arLabel lbcntqa;
|
||||
private System.Windows.Forms.Label label6;
|
||||
private arCtl.arLabel lbcntqc;
|
||||
}
|
||||
}
|
||||
39
Cs_HMI/Project/Dialog/fCounter.cs
Normal file
39
Cs_HMI/Project/Dialog/fCounter.cs
Normal file
@@ -0,0 +1,39 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace Project.Dialog
|
||||
{
|
||||
public partial class fCounter : Form
|
||||
{
|
||||
public fCounter()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
private void fCounter_Load(object sender, EventArgs e)
|
||||
{
|
||||
lbcnt1.Text = PUB.counter.CountUp1.ToString();
|
||||
lbcnt2.Text = PUB.counter.CountUp2.ToString();
|
||||
lbcnt3.Text = PUB.counter.CountUp3.ToString();
|
||||
lbcnt4.Text = PUB.counter.CountUp4.ToString();
|
||||
//lbcnt5.Text = PUB.counter.CountUp5.ToString();
|
||||
lbcnta.Text = PUB.counter.CountChargeA.ToString();
|
||||
lbcntm.Text = PUB.counter.CountChargeM.ToString();
|
||||
lbcnte.Text = PUB.counter.CountChargeE.ToString();
|
||||
lbcntqa.Text = PUB.counter.CountQA.ToString();
|
||||
lbcntqc.Text = PUB.counter.CountQC.ToString();
|
||||
}
|
||||
|
||||
private void lbcntpk_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
120
Cs_HMI/Project/Dialog/fCounter.resx
Normal file
120
Cs_HMI/Project/Dialog/fCounter.resx
Normal file
@@ -0,0 +1,120 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
</root>
|
||||
127
Cs_HMI/Project/Dialog/fErrorException.Designer.cs
generated
Normal file
127
Cs_HMI/Project/Dialog/fErrorException.Designer.cs
generated
Normal file
@@ -0,0 +1,127 @@
|
||||
namespace Project
|
||||
{
|
||||
partial class fErrorException
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (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.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fErrorException));
|
||||
this.pictureBox1 = new System.Windows.Forms.PictureBox();
|
||||
this.button2 = new System.Windows.Forms.Button();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.label2 = new System.Windows.Forms.Label();
|
||||
this.textBox1 = new System.Windows.Forms.TextBox();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// pictureBox1
|
||||
//
|
||||
this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
|
||||
this.pictureBox1.Location = new System.Drawing.Point(160, 23);
|
||||
this.pictureBox1.Name = "pictureBox1";
|
||||
this.pictureBox1.Size = new System.Drawing.Size(80, 80);
|
||||
this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
|
||||
this.pictureBox1.TabIndex = 0;
|
||||
this.pictureBox1.TabStop = false;
|
||||
//
|
||||
// button2
|
||||
//
|
||||
this.button2.Image = ((System.Drawing.Image)(resources.GetObject("button2.Image")));
|
||||
this.button2.Location = new System.Drawing.Point(30, 491);
|
||||
this.button2.Name = "button2";
|
||||
this.button2.Size = new System.Drawing.Size(355, 54);
|
||||
this.button2.TabIndex = 2;
|
||||
this.button2.Text = "종료";
|
||||
this.button2.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
|
||||
this.button2.UseVisualStyleBackColor = true;
|
||||
this.button2.Click += new System.EventHandler(this.button2_Click);
|
||||
//
|
||||
// label1
|
||||
//
|
||||
this.label1.AutoSize = true;
|
||||
this.label1.BackColor = System.Drawing.Color.Brown;
|
||||
this.label1.Font = new System.Drawing.Font("맑은 고딕", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.label1.ForeColor = System.Drawing.Color.White;
|
||||
this.label1.Location = new System.Drawing.Point(30, 117);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Padding = new System.Windows.Forms.Padding(10);
|
||||
this.label1.Size = new System.Drawing.Size(355, 50);
|
||||
this.label1.TabIndex = 3;
|
||||
this.label1.Text = "미처리 오류로 인한 프로그램 중단";
|
||||
//
|
||||
// label2
|
||||
//
|
||||
this.label2.AutoSize = true;
|
||||
this.label2.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.label2.ForeColor = System.Drawing.Color.Blue;
|
||||
this.label2.Location = new System.Drawing.Point(30, 182);
|
||||
this.label2.Name = "label2";
|
||||
this.label2.Size = new System.Drawing.Size(311, 45);
|
||||
this.label2.TabIndex = 4;
|
||||
this.label2.Text = "오류보고를 위한 정보가 수집되었습니다.\r\n수집된 정보는 아래와 같고 오류가 발생하기 전의 상황을\r\n적어서 메일을 전송하면 버그 수정에 도움이 됩니" +
|
||||
"다.";
|
||||
//
|
||||
// textBox1
|
||||
//
|
||||
this.textBox1.Location = new System.Drawing.Point(30, 240);
|
||||
this.textBox1.Multiline = true;
|
||||
this.textBox1.Name = "textBox1";
|
||||
this.textBox1.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
|
||||
this.textBox1.Size = new System.Drawing.Size(355, 241);
|
||||
this.textBox1.TabIndex = 5;
|
||||
//
|
||||
// fErrorException
|
||||
//
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
||||
this.ClientSize = new System.Drawing.Size(418, 560);
|
||||
this.Controls.Add(this.textBox1);
|
||||
this.Controls.Add(this.label2);
|
||||
this.Controls.Add(this.label1);
|
||||
this.Controls.Add(this.button2);
|
||||
this.Controls.Add(this.pictureBox1);
|
||||
this.Font = new System.Drawing.Font("맑은 고딕", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.KeyPreview = true;
|
||||
this.MaximizeBox = false;
|
||||
this.MinimizeBox = false;
|
||||
this.Name = "fErrorException";
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||
this.Text = "Error Report";
|
||||
this.Load += new System.EventHandler(this.fErrorException_Load);
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.PictureBox pictureBox1;
|
||||
private System.Windows.Forms.Button button2;
|
||||
private System.Windows.Forms.Label label1;
|
||||
private System.Windows.Forms.Label label2;
|
||||
private System.Windows.Forms.TextBox textBox1;
|
||||
}
|
||||
}
|
||||
39
Cs_HMI/Project/Dialog/fErrorException.cs
Normal file
39
Cs_HMI/Project/Dialog/fErrorException.cs
Normal file
@@ -0,0 +1,39 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace Project
|
||||
{
|
||||
public partial class fErrorException : Form
|
||||
{
|
||||
public fErrorException(string err)
|
||||
{
|
||||
InitializeComponent();
|
||||
System.Text.StringBuilder sb = new StringBuilder();
|
||||
sb.AppendLine("To : ChiKyun.kim@amkor.co.kr");
|
||||
sb.AppendLine("Description : ?");
|
||||
sb.AppendLine();
|
||||
sb.AppendLine("=========================");
|
||||
sb.AppendLine(" ERROR MESSAGE");
|
||||
sb.AppendLine("=========================");
|
||||
sb.AppendLine();
|
||||
sb.AppendLine(err);
|
||||
this.textBox1.Text = sb.ToString();
|
||||
}
|
||||
|
||||
private void fErrorException_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private void button2_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.Close();
|
||||
}
|
||||
}
|
||||
}
|
||||
163
Cs_HMI/Project/Dialog/fErrorException.resx
Normal file
163
Cs_HMI/Project/Dialog/fErrorException.resx
Normal file
@@ -0,0 +1,163 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<data name="pictureBox1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAYAAACOEfKtAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAb
|
||||
rwAAG68BXhqRHAAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAPnSURBVHhe7dzJ
|
||||
TttQFAbgdNFKnZ6GFWKDfCNGsWRRddO+ATwBo5g2iNdopU7LqlXVFgUa2LDoE7TbQoEIFpVw72/5EOdw
|
||||
INO919fx/aVfiuwTD58chcFyJSQkJJu4Urm3H0Uv95Wq7VWrx2jyOopeYF06FiLlcGbmkQZ7v6dULFav
|
||||
w0w6HpINYGpKfQbUj/Hx+Pf8fHy2thafra8nr7EsQYyiT7Xh4Yfp20KQLF59cjI+XlqKL7e3W4plWBcQ
|
||||
WXZHRp5qkF3AHE5NxScrKzfwqFiHmRRxF+9NN1POdINHDYhpesGjlh6xHzxqaRE53t/VVRGok5YO0SQe
|
||||
tTSINvCoLYhKfR84RJt41IFFdIFHxbYHCtElHpUjfhkdfZIeTrGS4OkTcIlHLTxinnjUwiLiQPPGoxYO
|
||||
0Sc8amEQTePxSDOd1ntEG1cejzTTTb1FbMGbnjaCh/JIM93WO0RbeCiPNNNLs4g1pb7lhmgTD+WRZnpt
|
||||
7oi28VAeaaaf5oaIHWGHNvFQHmmm3yaI+hycIbrCQ3mkGRN1hugSD+WRZkzVOqJrPJRHmjFZa4h54KE8
|
||||
0ozpGkfMCw/lkWZs1BhinngojzRjq30j5o2H8kgzNptF3Ffqa8eIPuChPNKM7XaN6AseyiPNuChHPBob
|
||||
e5xytQZ3f2q81xg80L/inCwvixt0VR5pxlVhAZMEsVp9Jd4pq1c+xwBuZMwbD+WRZlwWJnSTZy2KnqVs
|
||||
zegVyR8Hfs3NiRtwXR5pxnVhAyN8lFO2ZvSKc6w839gQ3+y6PNKM68IGRrpnKVszemEjAN5d3K99F2D4
|
||||
CLdpu49w+BK5o22/RMKPMbcXFm1/jEEOh4bu68vzLQbrExPx8eKiuEEX5ZFmXBQGsICJ7hsYpVxyfEHk
|
||||
kWZst2s8ik9XYl7tGY9SZsQsHgy6xqOUEdEYHqVMiMbxKGVAtIZHcYq4sxP/q9fjq9PTpHiNZeKsgVrH
|
||||
o/ycnX3gAhFgPAmiMNtv/ywsuMGjuEC8ajRStmawTJrtp87xKEDUv/a9s4XoAjA3PIpNRNsfYY6Hc0lP
|
||||
y22sIdKXyMVF0gTP0JeIN3gUjogDlA7ch3qHRykCYhYPx+oNHsVnRO/xKD4iFgaPggOkpw/ljVg4PIoP
|
||||
iIXFo+SJWHg8Ch7PpE/iI07kAI90cvCPKuwD+8I+se/CPyLK5ZWYvfKwz8JeeTwuEAcWj2ITceDxKDYQ
|
||||
S4NHMYlYOjyKCcTS4lESRKU+9IKI2etHgpYRj9ILYsBj6QYx4N2S8BBaA5Eeg9zY3IwbW1vhMcidBoj0
|
||||
7SxWr8NMOh4iBXd/Xj8KXqlLNHkdHgUfEnIjlcp/1rPAKpMPkMkAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<data name="button2.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAL
|
||||
iQAAC4kBN8nLrQAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAALmSURBVFhH7ZjL
|
||||
ahRREIbLW7yLGxcq4k7cCaJLFwoiKAqKt5dQI4JLFZ8h4gMY0RF30YgbgwsRRYiZ3IzBG9lF3RgXXsDx
|
||||
q1AtlTPTPefMtDLCfFBk5tRff1e65vR0j3TpUsALkVXjIvsmRHqJvjGRWxr6mjjH670zIitN/m+oiSym
|
||||
qZPEPeI7UWsS32h2gL8ntNZs/g6ckcMcaMIdPDXGafaQ2ZXHtMg6zO8GB/MxR0wSjy30ta410mpUXoms
|
||||
Nfv24D/eimGjs/aauDQqsovRLTL5H3ScnPHdaK4Q01bjY4zaLSZvDWtuJjD+RJxhgywzWVPQ9+DVy9/P
|
||||
5pHFh5abtLGGZ+4po9lkkmSmRLbjEY5+lFhjkngoqjgTjQpNL7d0MnZJehR4ZtFvsjgYxylvwPuhlJGG
|
||||
6DTweOI9iS/+PaM+ZvJihkSWUvDGFc9ivtHSyeQ099zGrZ/nbG2KjbXEyvLB7LQr0jhrqWTymhsWWa95
|
||||
dvn5IHd8vrAIDB+6grdEj6WSaNacop9p1t67/H1LNUZNEf10BZctlURMcxnorjrNDyJ/RyM+6MQ1RrDD
|
||||
UtGkNKeg3em1HPOApepBfNGJP9pyNKnNKfothMZfwC9Yqh6S153wpS1H0UpzGeiqWQ0efbZcD4L+TEgM
|
||||
2nJT2mlOQfvA1d2w5XpI3nTCqAbbbU5BH92gHzHHKKaM5hQ8RrJ6Nsk1W64HYfQmKau5pE3CAaMuM2U1
|
||||
p+ATf5nRAyMqvFCX2ZyCV/yFWkEw6AoWfNWV3Rx+C77q8B6wVD6IjmYFFvM3C2U3pzDO8GbhiKXy0WcJ
|
||||
hP5OenZSZFvZzemdOR7+dquqG8bSxdDMfleo8TV431ZzIyKr8Rh2fr+IPZaOg4LbzsBHlXFvMFky70RW
|
||||
4HEn8My/OOehnzkKw4emOb0TNkky1G7G41ng2dpDk8KoO/exM8Oa7MwH9wwbd2f+9OHhjHTmj0ceu052
|
||||
5s9vIR35A2aX/wuR3/n+YvqZGUimAAAAAElFTkSuQmCC
|
||||
</value>
|
||||
</data>
|
||||
</root>
|
||||
558
Cs_HMI/Project/Dialog/fJobSelect.Designer.cs
generated
Normal file
558
Cs_HMI/Project/Dialog/fJobSelect.Designer.cs
generated
Normal file
@@ -0,0 +1,558 @@
|
||||
namespace Project.Dialog
|
||||
{
|
||||
partial class fJobSelect
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (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()
|
||||
{
|
||||
this.components = new System.ComponentModel.Container();
|
||||
this.tmBlink = new System.Windows.Forms.Timer(this.components);
|
||||
this.arPanel1 = new arCtl.arPanel();
|
||||
this.panButton = new System.Windows.Forms.Panel();
|
||||
this.btYes = new arCtl.arLabel();
|
||||
this.btNo = new arCtl.arLabel();
|
||||
this.panel7 = new System.Windows.Forms.Panel();
|
||||
this.lb5 = new arCtl.arLabel();
|
||||
this.panel3 = new System.Windows.Forms.Panel();
|
||||
this.lb4 = new arCtl.arLabel();
|
||||
this.panel2 = new System.Windows.Forms.Panel();
|
||||
this.lb3 = new arCtl.arLabel();
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.lb2 = new arCtl.arLabel();
|
||||
this.panel4 = new System.Windows.Forms.Panel();
|
||||
this.lb1 = new arCtl.arLabel();
|
||||
this.panel8 = new System.Windows.Forms.Panel();
|
||||
this.lbTitle = new arCtl.arLabel();
|
||||
this.arPanel1.SuspendLayout();
|
||||
this.panButton.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// tmBlink
|
||||
//
|
||||
this.tmBlink.Enabled = true;
|
||||
this.tmBlink.Interval = 300;
|
||||
this.tmBlink.Tick += new System.EventHandler(this.tmBlink_Tick);
|
||||
//
|
||||
// arPanel1
|
||||
//
|
||||
this.arPanel1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(100)))), ((int)(((byte)(100)))));
|
||||
this.arPanel1.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(100)))), ((int)(((byte)(100)))));
|
||||
this.arPanel1.BorderColor = System.Drawing.Color.DimGray;
|
||||
this.arPanel1.BorderSize = new System.Windows.Forms.Padding(1);
|
||||
this.arPanel1.Controls.Add(this.panButton);
|
||||
this.arPanel1.Controls.Add(this.panel7);
|
||||
this.arPanel1.Controls.Add(this.lb5);
|
||||
this.arPanel1.Controls.Add(this.panel3);
|
||||
this.arPanel1.Controls.Add(this.lb4);
|
||||
this.arPanel1.Controls.Add(this.panel2);
|
||||
this.arPanel1.Controls.Add(this.lb3);
|
||||
this.arPanel1.Controls.Add(this.panel1);
|
||||
this.arPanel1.Controls.Add(this.lb2);
|
||||
this.arPanel1.Controls.Add(this.panel4);
|
||||
this.arPanel1.Controls.Add(this.lb1);
|
||||
this.arPanel1.Controls.Add(this.panel8);
|
||||
this.arPanel1.Controls.Add(this.lbTitle);
|
||||
this.arPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.arPanel1.Font = new System.Drawing.Font("Consolas", 10F, System.Drawing.FontStyle.Italic);
|
||||
this.arPanel1.ForeColor = System.Drawing.Color.Khaki;
|
||||
this.arPanel1.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical;
|
||||
this.arPanel1.GradientRepeatBG = false;
|
||||
this.arPanel1.Location = new System.Drawing.Point(5, 5);
|
||||
this.arPanel1.Name = "arPanel1";
|
||||
this.arPanel1.Padding = new System.Windows.Forms.Padding(6);
|
||||
this.arPanel1.ProgressColor1 = System.Drawing.Color.LightSkyBlue;
|
||||
this.arPanel1.ProgressColor2 = System.Drawing.Color.DeepSkyBlue;
|
||||
this.arPanel1.ProgressMax = 100F;
|
||||
this.arPanel1.ProgressMin = 0F;
|
||||
this.arPanel1.ProgressPadding = new System.Windows.Forms.Padding(0);
|
||||
this.arPanel1.ProgressValue = 0F;
|
||||
this.arPanel1.ShadowColor = System.Drawing.Color.Black;
|
||||
this.arPanel1.ShowBorder = true;
|
||||
this.arPanel1.Size = new System.Drawing.Size(508, 405);
|
||||
this.arPanel1.TabIndex = 0;
|
||||
this.arPanel1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
|
||||
this.arPanel1.TextShadow = false;
|
||||
this.arPanel1.UseProgressBar = false;
|
||||
//
|
||||
// panButton
|
||||
//
|
||||
this.panButton.Controls.Add(this.btYes);
|
||||
this.panButton.Controls.Add(this.btNo);
|
||||
this.panButton.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.panButton.Location = new System.Drawing.Point(6, 353);
|
||||
this.panButton.Name = "panButton";
|
||||
this.panButton.Size = new System.Drawing.Size(496, 46);
|
||||
this.panButton.TabIndex = 10;
|
||||
//
|
||||
// btYes
|
||||
//
|
||||
this.btYes.BackColor = System.Drawing.Color.SeaGreen;
|
||||
this.btYes.BackColor2 = System.Drawing.Color.SeaGreen;
|
||||
this.btYes.BackgroundImagePadding = new System.Windows.Forms.Padding(0);
|
||||
this.btYes.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(90)))), ((int)(((byte)(90)))));
|
||||
this.btYes.BorderColorOver = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(90)))), ((int)(((byte)(90)))));
|
||||
this.btYes.BorderSize = new System.Windows.Forms.Padding(1);
|
||||
this.btYes.ColorTheme = arCtl.arLabel.eColorTheme.Custom;
|
||||
this.btYes.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.btYes.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.btYes.Font = new System.Drawing.Font("맑은 고딕", 15F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.btYes.ForeColor = System.Drawing.Color.Black;
|
||||
this.btYes.GradientEnable = true;
|
||||
this.btYes.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical;
|
||||
this.btYes.GradientRepeatBG = false;
|
||||
this.btYes.isButton = true;
|
||||
this.btYes.Location = new System.Drawing.Point(0, 0);
|
||||
this.btYes.MouseDownColor = System.Drawing.Color.Yellow;
|
||||
this.btYes.MouseOverColor = System.Drawing.Color.Yellow;
|
||||
this.btYes.msg = null;
|
||||
this.btYes.Name = "btYes";
|
||||
this.btYes.ProgressColor1 = System.Drawing.Color.LightSkyBlue;
|
||||
this.btYes.ProgressColor2 = System.Drawing.Color.DeepSkyBlue;
|
||||
this.btYes.ProgressEnable = false;
|
||||
this.btYes.ProgressFont = new System.Drawing.Font("Consolas", 10F);
|
||||
this.btYes.ProgressForeColor = System.Drawing.Color.Black;
|
||||
this.btYes.ProgressMax = 100F;
|
||||
this.btYes.ProgressMin = 0F;
|
||||
this.btYes.ProgressPadding = new System.Windows.Forms.Padding(0);
|
||||
this.btYes.ProgressValue = 0F;
|
||||
this.btYes.ShadowColor = System.Drawing.Color.Gray;
|
||||
this.btYes.Sign = "";
|
||||
this.btYes.SignAlign = System.Drawing.ContentAlignment.BottomRight;
|
||||
this.btYes.SignColor = System.Drawing.Color.Yellow;
|
||||
this.btYes.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
|
||||
this.btYes.Size = new System.Drawing.Size(267, 46);
|
||||
this.btYes.TabIndex = 0;
|
||||
this.btYes.Text = "예(F5)";
|
||||
this.btYes.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
this.btYes.TextShadow = true;
|
||||
this.btYes.TextVisible = true;
|
||||
this.btYes.Click += new System.EventHandler(this.btYes_Click);
|
||||
//
|
||||
// btNo
|
||||
//
|
||||
this.btNo.BackColor = System.Drawing.Color.Goldenrod;
|
||||
this.btNo.BackColor2 = System.Drawing.Color.Goldenrod;
|
||||
this.btNo.BackgroundImagePadding = new System.Windows.Forms.Padding(0);
|
||||
this.btNo.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(90)))), ((int)(((byte)(90)))));
|
||||
this.btNo.BorderColorOver = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(90)))), ((int)(((byte)(90)))));
|
||||
this.btNo.BorderSize = new System.Windows.Forms.Padding(1);
|
||||
this.btNo.ColorTheme = arCtl.arLabel.eColorTheme.Custom;
|
||||
this.btNo.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.btNo.Dock = System.Windows.Forms.DockStyle.Right;
|
||||
this.btNo.Font = new System.Drawing.Font("맑은 고딕", 15F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.btNo.ForeColor = System.Drawing.Color.Black;
|
||||
this.btNo.GradientEnable = true;
|
||||
this.btNo.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical;
|
||||
this.btNo.GradientRepeatBG = false;
|
||||
this.btNo.isButton = true;
|
||||
this.btNo.Location = new System.Drawing.Point(267, 0);
|
||||
this.btNo.MouseDownColor = System.Drawing.Color.Yellow;
|
||||
this.btNo.MouseOverColor = System.Drawing.Color.Yellow;
|
||||
this.btNo.msg = null;
|
||||
this.btNo.Name = "btNo";
|
||||
this.btNo.ProgressColor1 = System.Drawing.Color.LightSkyBlue;
|
||||
this.btNo.ProgressColor2 = System.Drawing.Color.DeepSkyBlue;
|
||||
this.btNo.ProgressEnable = false;
|
||||
this.btNo.ProgressFont = new System.Drawing.Font("Consolas", 10F);
|
||||
this.btNo.ProgressForeColor = System.Drawing.Color.Black;
|
||||
this.btNo.ProgressMax = 100F;
|
||||
this.btNo.ProgressMin = 0F;
|
||||
this.btNo.ProgressPadding = new System.Windows.Forms.Padding(0);
|
||||
this.btNo.ProgressValue = 0F;
|
||||
this.btNo.ShadowColor = System.Drawing.Color.Gray;
|
||||
this.btNo.Sign = "";
|
||||
this.btNo.SignAlign = System.Drawing.ContentAlignment.BottomRight;
|
||||
this.btNo.SignColor = System.Drawing.Color.Yellow;
|
||||
this.btNo.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
|
||||
this.btNo.Size = new System.Drawing.Size(229, 46);
|
||||
this.btNo.TabIndex = 1;
|
||||
this.btNo.Text = "아니오(ESC)";
|
||||
this.btNo.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
this.btNo.TextShadow = true;
|
||||
this.btNo.TextVisible = true;
|
||||
this.btNo.Click += new System.EventHandler(this.btNo_Click);
|
||||
//
|
||||
// panel7
|
||||
//
|
||||
this.panel7.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.panel7.Location = new System.Drawing.Point(6, 348);
|
||||
this.panel7.Name = "panel7";
|
||||
this.panel7.Size = new System.Drawing.Size(496, 5);
|
||||
this.panel7.TabIndex = 0;
|
||||
//
|
||||
// lb5
|
||||
//
|
||||
this.lb5.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(100)))), ((int)(((byte)(100)))));
|
||||
this.lb5.BackColor2 = System.Drawing.Color.Gray;
|
||||
this.lb5.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
|
||||
this.lb5.BackgroundImagePadding = new System.Windows.Forms.Padding(0);
|
||||
this.lb5.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80)))));
|
||||
this.lb5.BorderColorOver = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80)))));
|
||||
this.lb5.BorderSize = new System.Windows.Forms.Padding(1);
|
||||
this.lb5.ColorTheme = arCtl.arLabel.eColorTheme.Custom;
|
||||
this.lb5.Cursor = System.Windows.Forms.Cursors.Arrow;
|
||||
this.lb5.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.lb5.Font = new System.Drawing.Font("맑은 고딕", 15F, System.Drawing.FontStyle.Bold);
|
||||
this.lb5.ForeColor = System.Drawing.Color.White;
|
||||
this.lb5.GradientEnable = true;
|
||||
this.lb5.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.ForwardDiagonal;
|
||||
this.lb5.GradientRepeatBG = false;
|
||||
this.lb5.isButton = false;
|
||||
this.lb5.Location = new System.Drawing.Point(6, 298);
|
||||
this.lb5.MouseDownColor = System.Drawing.Color.Yellow;
|
||||
this.lb5.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
|
||||
this.lb5.msg = null;
|
||||
this.lb5.Name = "lb5";
|
||||
this.lb5.Padding = new System.Windows.Forms.Padding(10, 0, 0, 0);
|
||||
this.lb5.ProgressColor1 = System.Drawing.Color.LightSkyBlue;
|
||||
this.lb5.ProgressColor2 = System.Drawing.Color.DeepSkyBlue;
|
||||
this.lb5.ProgressEnable = false;
|
||||
this.lb5.ProgressFont = new System.Drawing.Font("Consolas", 10F);
|
||||
this.lb5.ProgressForeColor = System.Drawing.Color.Black;
|
||||
this.lb5.ProgressMax = 100F;
|
||||
this.lb5.ProgressMin = 0F;
|
||||
this.lb5.ProgressPadding = new System.Windows.Forms.Padding(0);
|
||||
this.lb5.ProgressValue = 0F;
|
||||
this.lb5.ShadowColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
|
||||
this.lb5.Sign = "";
|
||||
this.lb5.SignAlign = System.Drawing.ContentAlignment.BottomRight;
|
||||
this.lb5.SignColor = System.Drawing.Color.Yellow;
|
||||
this.lb5.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
|
||||
this.lb5.Size = new System.Drawing.Size(496, 50);
|
||||
this.lb5.TabIndex = 7;
|
||||
this.lb5.Text = "*";
|
||||
this.lb5.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
this.lb5.TextShadow = true;
|
||||
this.lb5.TextVisible = true;
|
||||
//
|
||||
// panel3
|
||||
//
|
||||
this.panel3.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.panel3.Location = new System.Drawing.Point(6, 293);
|
||||
this.panel3.Name = "panel3";
|
||||
this.panel3.Size = new System.Drawing.Size(496, 5);
|
||||
this.panel3.TabIndex = 13;
|
||||
//
|
||||
// lb4
|
||||
//
|
||||
this.lb4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(100)))), ((int)(((byte)(100)))));
|
||||
this.lb4.BackColor2 = System.Drawing.Color.Gray;
|
||||
this.lb4.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
|
||||
this.lb4.BackgroundImagePadding = new System.Windows.Forms.Padding(0);
|
||||
this.lb4.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80)))));
|
||||
this.lb4.BorderColorOver = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80)))));
|
||||
this.lb4.BorderSize = new System.Windows.Forms.Padding(1);
|
||||
this.lb4.ColorTheme = arCtl.arLabel.eColorTheme.Custom;
|
||||
this.lb4.Cursor = System.Windows.Forms.Cursors.Arrow;
|
||||
this.lb4.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.lb4.Font = new System.Drawing.Font("맑은 고딕", 15F, System.Drawing.FontStyle.Bold);
|
||||
this.lb4.ForeColor = System.Drawing.Color.White;
|
||||
this.lb4.GradientEnable = true;
|
||||
this.lb4.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.ForwardDiagonal;
|
||||
this.lb4.GradientRepeatBG = false;
|
||||
this.lb4.isButton = false;
|
||||
this.lb4.Location = new System.Drawing.Point(6, 243);
|
||||
this.lb4.MouseDownColor = System.Drawing.Color.Yellow;
|
||||
this.lb4.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
|
||||
this.lb4.msg = null;
|
||||
this.lb4.Name = "lb4";
|
||||
this.lb4.Padding = new System.Windows.Forms.Padding(10, 0, 0, 0);
|
||||
this.lb4.ProgressColor1 = System.Drawing.Color.LightSkyBlue;
|
||||
this.lb4.ProgressColor2 = System.Drawing.Color.DeepSkyBlue;
|
||||
this.lb4.ProgressEnable = false;
|
||||
this.lb4.ProgressFont = new System.Drawing.Font("Consolas", 10F);
|
||||
this.lb4.ProgressForeColor = System.Drawing.Color.Black;
|
||||
this.lb4.ProgressMax = 100F;
|
||||
this.lb4.ProgressMin = 0F;
|
||||
this.lb4.ProgressPadding = new System.Windows.Forms.Padding(0);
|
||||
this.lb4.ProgressValue = 0F;
|
||||
this.lb4.ShadowColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
|
||||
this.lb4.Sign = "";
|
||||
this.lb4.SignAlign = System.Drawing.ContentAlignment.BottomRight;
|
||||
this.lb4.SignColor = System.Drawing.Color.Yellow;
|
||||
this.lb4.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
|
||||
this.lb4.Size = new System.Drawing.Size(496, 50);
|
||||
this.lb4.TabIndex = 6;
|
||||
this.lb4.Text = "*";
|
||||
this.lb4.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
this.lb4.TextShadow = true;
|
||||
this.lb4.TextVisible = true;
|
||||
//
|
||||
// panel2
|
||||
//
|
||||
this.panel2.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.panel2.Location = new System.Drawing.Point(6, 238);
|
||||
this.panel2.Name = "panel2";
|
||||
this.panel2.Size = new System.Drawing.Size(496, 5);
|
||||
this.panel2.TabIndex = 12;
|
||||
//
|
||||
// lb3
|
||||
//
|
||||
this.lb3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(100)))), ((int)(((byte)(100)))));
|
||||
this.lb3.BackColor2 = System.Drawing.Color.Gray;
|
||||
this.lb3.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
|
||||
this.lb3.BackgroundImagePadding = new System.Windows.Forms.Padding(0);
|
||||
this.lb3.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80)))));
|
||||
this.lb3.BorderColorOver = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80)))));
|
||||
this.lb3.BorderSize = new System.Windows.Forms.Padding(1);
|
||||
this.lb3.ColorTheme = arCtl.arLabel.eColorTheme.Custom;
|
||||
this.lb3.Cursor = System.Windows.Forms.Cursors.Arrow;
|
||||
this.lb3.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.lb3.Font = new System.Drawing.Font("맑은 고딕", 15F, System.Drawing.FontStyle.Bold);
|
||||
this.lb3.ForeColor = System.Drawing.Color.White;
|
||||
this.lb3.GradientEnable = true;
|
||||
this.lb3.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.ForwardDiagonal;
|
||||
this.lb3.GradientRepeatBG = false;
|
||||
this.lb3.isButton = false;
|
||||
this.lb3.Location = new System.Drawing.Point(6, 188);
|
||||
this.lb3.MouseDownColor = System.Drawing.Color.Yellow;
|
||||
this.lb3.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
|
||||
this.lb3.msg = null;
|
||||
this.lb3.Name = "lb3";
|
||||
this.lb3.Padding = new System.Windows.Forms.Padding(10, 0, 0, 0);
|
||||
this.lb3.ProgressColor1 = System.Drawing.Color.LightSkyBlue;
|
||||
this.lb3.ProgressColor2 = System.Drawing.Color.DeepSkyBlue;
|
||||
this.lb3.ProgressEnable = false;
|
||||
this.lb3.ProgressFont = new System.Drawing.Font("Consolas", 10F);
|
||||
this.lb3.ProgressForeColor = System.Drawing.Color.Black;
|
||||
this.lb3.ProgressMax = 100F;
|
||||
this.lb3.ProgressMin = 0F;
|
||||
this.lb3.ProgressPadding = new System.Windows.Forms.Padding(0);
|
||||
this.lb3.ProgressValue = 0F;
|
||||
this.lb3.ShadowColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
|
||||
this.lb3.Sign = "";
|
||||
this.lb3.SignAlign = System.Drawing.ContentAlignment.BottomRight;
|
||||
this.lb3.SignColor = System.Drawing.Color.Yellow;
|
||||
this.lb3.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
|
||||
this.lb3.Size = new System.Drawing.Size(496, 50);
|
||||
this.lb3.TabIndex = 5;
|
||||
this.lb3.Text = "* 현재 위치 : ";
|
||||
this.lb3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
this.lb3.TextShadow = true;
|
||||
this.lb3.TextVisible = true;
|
||||
//
|
||||
// panel1
|
||||
//
|
||||
this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.panel1.Location = new System.Drawing.Point(6, 183);
|
||||
this.panel1.Name = "panel1";
|
||||
this.panel1.Size = new System.Drawing.Size(496, 5);
|
||||
this.panel1.TabIndex = 11;
|
||||
//
|
||||
// lb2
|
||||
//
|
||||
this.lb2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(100)))), ((int)(((byte)(100)))));
|
||||
this.lb2.BackColor2 = System.Drawing.Color.Gray;
|
||||
this.lb2.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
|
||||
this.lb2.BackgroundImagePadding = new System.Windows.Forms.Padding(0);
|
||||
this.lb2.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80)))));
|
||||
this.lb2.BorderColorOver = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80)))));
|
||||
this.lb2.BorderSize = new System.Windows.Forms.Padding(1);
|
||||
this.lb2.ColorTheme = arCtl.arLabel.eColorTheme.Custom;
|
||||
this.lb2.Cursor = System.Windows.Forms.Cursors.Arrow;
|
||||
this.lb2.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.lb2.Font = new System.Drawing.Font("맑은 고딕", 15F, System.Drawing.FontStyle.Bold);
|
||||
this.lb2.ForeColor = System.Drawing.Color.White;
|
||||
this.lb2.GradientEnable = true;
|
||||
this.lb2.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.ForwardDiagonal;
|
||||
this.lb2.GradientRepeatBG = false;
|
||||
this.lb2.isButton = false;
|
||||
this.lb2.Location = new System.Drawing.Point(6, 133);
|
||||
this.lb2.MouseDownColor = System.Drawing.Color.Yellow;
|
||||
this.lb2.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
|
||||
this.lb2.msg = null;
|
||||
this.lb2.Name = "lb2";
|
||||
this.lb2.Padding = new System.Windows.Forms.Padding(10, 0, 0, 0);
|
||||
this.lb2.ProgressColor1 = System.Drawing.Color.LightSkyBlue;
|
||||
this.lb2.ProgressColor2 = System.Drawing.Color.DeepSkyBlue;
|
||||
this.lb2.ProgressEnable = false;
|
||||
this.lb2.ProgressFont = new System.Drawing.Font("Consolas", 10F);
|
||||
this.lb2.ProgressForeColor = System.Drawing.Color.Black;
|
||||
this.lb2.ProgressMax = 100F;
|
||||
this.lb2.ProgressMin = 0F;
|
||||
this.lb2.ProgressPadding = new System.Windows.Forms.Padding(0);
|
||||
this.lb2.ProgressValue = 0F;
|
||||
this.lb2.ShadowColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
|
||||
this.lb2.Sign = "";
|
||||
this.lb2.SignAlign = System.Drawing.ContentAlignment.BottomRight;
|
||||
this.lb2.SignColor = System.Drawing.Color.Yellow;
|
||||
this.lb2.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
|
||||
this.lb2.Size = new System.Drawing.Size(496, 50);
|
||||
this.lb2.TabIndex = 4;
|
||||
this.lb2.Text = "* 호출 위치 : F1";
|
||||
this.lb2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
this.lb2.TextShadow = true;
|
||||
this.lb2.TextVisible = true;
|
||||
//
|
||||
// panel4
|
||||
//
|
||||
this.panel4.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.panel4.Location = new System.Drawing.Point(6, 128);
|
||||
this.panel4.Name = "panel4";
|
||||
this.panel4.Size = new System.Drawing.Size(496, 5);
|
||||
this.panel4.TabIndex = 14;
|
||||
//
|
||||
// lb1
|
||||
//
|
||||
this.lb1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(100)))), ((int)(((byte)(100)))));
|
||||
this.lb1.BackColor2 = System.Drawing.Color.Gray;
|
||||
this.lb1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
|
||||
this.lb1.BackgroundImagePadding = new System.Windows.Forms.Padding(0);
|
||||
this.lb1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80)))));
|
||||
this.lb1.BorderColorOver = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80)))));
|
||||
this.lb1.BorderSize = new System.Windows.Forms.Padding(1);
|
||||
this.lb1.ColorTheme = arCtl.arLabel.eColorTheme.Custom;
|
||||
this.lb1.Cursor = System.Windows.Forms.Cursors.Arrow;
|
||||
this.lb1.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.lb1.Font = new System.Drawing.Font("맑은 고딕", 15F, System.Drawing.FontStyle.Bold);
|
||||
this.lb1.ForeColor = System.Drawing.Color.White;
|
||||
this.lb1.GradientEnable = true;
|
||||
this.lb1.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.ForwardDiagonal;
|
||||
this.lb1.GradientRepeatBG = false;
|
||||
this.lb1.isButton = false;
|
||||
this.lb1.Location = new System.Drawing.Point(6, 78);
|
||||
this.lb1.MouseDownColor = System.Drawing.Color.Yellow;
|
||||
this.lb1.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
|
||||
this.lb1.msg = null;
|
||||
this.lb1.Name = "lb1";
|
||||
this.lb1.Padding = new System.Windows.Forms.Padding(10, 0, 0, 0);
|
||||
this.lb1.ProgressColor1 = System.Drawing.Color.LightSkyBlue;
|
||||
this.lb1.ProgressColor2 = System.Drawing.Color.DeepSkyBlue;
|
||||
this.lb1.ProgressEnable = false;
|
||||
this.lb1.ProgressFont = new System.Drawing.Font("Consolas", 10F);
|
||||
this.lb1.ProgressForeColor = System.Drawing.Color.Black;
|
||||
this.lb1.ProgressMax = 100F;
|
||||
this.lb1.ProgressMin = 0F;
|
||||
this.lb1.ProgressPadding = new System.Windows.Forms.Padding(0);
|
||||
this.lb1.ProgressValue = 0F;
|
||||
this.lb1.ShadowColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
|
||||
this.lb1.Sign = "";
|
||||
this.lb1.SignAlign = System.Drawing.ContentAlignment.BottomRight;
|
||||
this.lb1.SignColor = System.Drawing.Color.Yellow;
|
||||
this.lb1.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
|
||||
this.lb1.Size = new System.Drawing.Size(496, 50);
|
||||
this.lb1.TabIndex = 2;
|
||||
this.lb1.Text = "* 작업 : 상차";
|
||||
this.lb1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
this.lb1.TextShadow = true;
|
||||
this.lb1.TextVisible = true;
|
||||
//
|
||||
// panel8
|
||||
//
|
||||
this.panel8.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.panel8.Location = new System.Drawing.Point(6, 73);
|
||||
this.panel8.Name = "panel8";
|
||||
this.panel8.Size = new System.Drawing.Size(496, 5);
|
||||
this.panel8.TabIndex = 18;
|
||||
//
|
||||
// lbTitle
|
||||
//
|
||||
this.lbTitle.BackColor = System.Drawing.Color.Brown;
|
||||
this.lbTitle.BackColor2 = System.Drawing.Color.Tomato;
|
||||
this.lbTitle.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
|
||||
this.lbTitle.BackgroundImagePadding = new System.Windows.Forms.Padding(0);
|
||||
this.lbTitle.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(90)))), ((int)(((byte)(90)))));
|
||||
this.lbTitle.BorderColorOver = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(90)))), ((int)(((byte)(90)))));
|
||||
this.lbTitle.BorderSize = new System.Windows.Forms.Padding(1);
|
||||
this.lbTitle.ColorTheme = arCtl.arLabel.eColorTheme.Custom;
|
||||
this.lbTitle.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.lbTitle.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.lbTitle.Font = new System.Drawing.Font("맑은 고딕", 22F, System.Drawing.FontStyle.Bold);
|
||||
this.lbTitle.ForeColor = System.Drawing.Color.WhiteSmoke;
|
||||
this.lbTitle.GradientEnable = true;
|
||||
this.lbTitle.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Horizontal;
|
||||
this.lbTitle.GradientRepeatBG = false;
|
||||
this.lbTitle.isButton = true;
|
||||
this.lbTitle.Location = new System.Drawing.Point(6, 6);
|
||||
this.lbTitle.MouseDownColor = System.Drawing.Color.Yellow;
|
||||
this.lbTitle.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
|
||||
this.lbTitle.msg = null;
|
||||
this.lbTitle.Name = "lbTitle";
|
||||
this.lbTitle.ProgressColor1 = System.Drawing.Color.LightSkyBlue;
|
||||
this.lbTitle.ProgressColor2 = System.Drawing.Color.DeepSkyBlue;
|
||||
this.lbTitle.ProgressEnable = false;
|
||||
this.lbTitle.ProgressFont = new System.Drawing.Font("Consolas", 10F);
|
||||
this.lbTitle.ProgressForeColor = System.Drawing.Color.Black;
|
||||
this.lbTitle.ProgressMax = 100F;
|
||||
this.lbTitle.ProgressMin = 0F;
|
||||
this.lbTitle.ProgressPadding = new System.Windows.Forms.Padding(0);
|
||||
this.lbTitle.ProgressValue = 0F;
|
||||
this.lbTitle.ShadowColor = System.Drawing.Color.FromArgb(((int)(((byte)(50)))), ((int)(((byte)(50)))), ((int)(((byte)(50)))));
|
||||
this.lbTitle.Sign = "";
|
||||
this.lbTitle.SignAlign = System.Drawing.ContentAlignment.BottomRight;
|
||||
this.lbTitle.SignColor = System.Drawing.Color.Yellow;
|
||||
this.lbTitle.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
|
||||
this.lbTitle.Size = new System.Drawing.Size(496, 67);
|
||||
this.lbTitle.TabIndex = 3;
|
||||
this.lbTitle.Text = "작업 설정";
|
||||
this.lbTitle.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
this.lbTitle.TextShadow = true;
|
||||
this.lbTitle.TextVisible = true;
|
||||
this.lbTitle.Click += new System.EventHandler(this.lbTitle_Click);
|
||||
//
|
||||
// fJobSelect
|
||||
//
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
||||
this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(200)))), ((int)(((byte)(200)))), ((int)(((byte)(200)))));
|
||||
this.ClientSize = new System.Drawing.Size(518, 415);
|
||||
this.Controls.Add(this.arPanel1);
|
||||
this.Font = new System.Drawing.Font("Consolas", 21.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
|
||||
this.KeyPreview = true;
|
||||
this.MaximizeBox = false;
|
||||
this.Name = "fJobSelect";
|
||||
this.Padding = new System.Windows.Forms.Padding(5);
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||
this.Text = "Message Window";
|
||||
this.TopMost = true;
|
||||
this.Load += new System.EventHandler(this.fMsg_Load);
|
||||
this.arPanel1.ResumeLayout(false);
|
||||
this.panButton.ResumeLayout(false);
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
public arCtl.arLabel lb1;
|
||||
private arCtl.arPanel arPanel1;
|
||||
public arCtl.arLabel lbTitle;
|
||||
public arCtl.arLabel lb5;
|
||||
public arCtl.arLabel lb4;
|
||||
public arCtl.arLabel lb3;
|
||||
public arCtl.arLabel lb2;
|
||||
private System.Windows.Forms.Timer tmBlink;
|
||||
public arCtl.arLabel btYes;
|
||||
public arCtl.arLabel btNo;
|
||||
private System.Windows.Forms.Panel panButton;
|
||||
private System.Windows.Forms.Panel panel1;
|
||||
private System.Windows.Forms.Panel panel7;
|
||||
private System.Windows.Forms.Panel panel3;
|
||||
private System.Windows.Forms.Panel panel2;
|
||||
private System.Windows.Forms.Panel panel4;
|
||||
private System.Windows.Forms.Panel panel8;
|
||||
}
|
||||
}
|
||||
169
Cs_HMI/Project/Dialog/fJobSelect.cs
Normal file
169
Cs_HMI/Project/Dialog/fJobSelect.cs
Normal file
@@ -0,0 +1,169 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace Project.Dialog
|
||||
{
|
||||
public partial class fJobSelect : Form
|
||||
{
|
||||
private Boolean fMove = false;
|
||||
private Point MDownPos;
|
||||
private string _msg = string.Empty;
|
||||
|
||||
public fJobSelect()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
public fJobSelect(string msg)
|
||||
{
|
||||
InitializeComponent();
|
||||
this.FormClosing += fMsgWindow_FormClosing;
|
||||
this.KeyDown += FJobSelect_KeyDown;
|
||||
this._msg = msg;
|
||||
setMessage(msg);
|
||||
this.lbTitle.MouseMove += label1_MouseMove;
|
||||
lbTitle.MouseUp += label1_MouseUp;
|
||||
lbTitle.MouseDown += label1_MouseDown;
|
||||
lbTitle.MouseDoubleClick += label1_MouseDoubleClick;
|
||||
}
|
||||
|
||||
void fMsgWindow_FormClosing(object sender, FormClosingEventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private void fMsg_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
private void FJobSelect_KeyDown(object sender, KeyEventArgs e)
|
||||
{
|
||||
if (e.KeyCode == Keys.Escape)
|
||||
{
|
||||
e.Handled = true;
|
||||
e.SuppressKeyPress = false;
|
||||
DialogResult = DialogResult.Cancel;
|
||||
this.Close();
|
||||
}
|
||||
else if (e.KeyCode == Keys.F5)
|
||||
btYes.PerformClick();
|
||||
}
|
||||
|
||||
public void setMessage(string msg)
|
||||
{
|
||||
//msg를 분리해서 표시를 한다.
|
||||
var lbs = new arCtl.arLabel[] { lbTitle, lb1, lb2, lb3, lb4, lb5 };
|
||||
var lineBuf = msg.Replace("\r", "").Split('\n');
|
||||
int maxLine = Math.Min(lbs.Length, lineBuf.Length);
|
||||
|
||||
for (int i = 0; i < lbs.Length; i++) //최대줄을 넘어가는건 표시불가
|
||||
{
|
||||
if (i >= lineBuf.Length)
|
||||
{
|
||||
lbs[i].Text = string.Empty;
|
||||
}
|
||||
else
|
||||
{
|
||||
if (i > 0) lbs[i].Text = string.Format("{0}. {1}", i, lineBuf[i]);
|
||||
else lbs[i].Text = lineBuf[i];
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
private void label1_MouseMove(object sender, MouseEventArgs e)
|
||||
{
|
||||
if (fMove)
|
||||
{
|
||||
Point offset = new Point(e.X - MDownPos.X, e.Y - MDownPos.Y);
|
||||
this.Left += offset.X;
|
||||
this.Top += offset.Y;
|
||||
offset = new Point(0, 0);
|
||||
}
|
||||
}
|
||||
|
||||
private void label1_MouseUp(object sender, MouseEventArgs e)
|
||||
{
|
||||
fMove = false;
|
||||
}
|
||||
|
||||
private void label1_MouseDown(object sender, MouseEventArgs e)
|
||||
{
|
||||
MDownPos = new Point(e.X, e.Y);
|
||||
fMove = true;
|
||||
}
|
||||
|
||||
private void label1_MouseDoubleClick(object sender, MouseEventArgs e)
|
||||
{
|
||||
|
||||
|
||||
}
|
||||
public enum EWinColor
|
||||
{
|
||||
Attention = 0,
|
||||
Error,
|
||||
Information
|
||||
}
|
||||
|
||||
public void SetWindowColor(EWinColor wincolor)
|
||||
{
|
||||
switch (wincolor)
|
||||
{
|
||||
case EWinColor.Attention:
|
||||
lbTitle.BackColor = Color.Gold;
|
||||
lbTitle.BackColor2 = Color.Orange;
|
||||
lbTitle.ShadowColor = Color.FromArgb(150, 150, 150);
|
||||
lbTitle.ForeColor = Color.FromArgb(50, 50, 50);
|
||||
break;
|
||||
case EWinColor.Error:
|
||||
lbTitle.BackColor = Color.Brown;
|
||||
lbTitle.BackColor2 = Color.Tomato;
|
||||
lbTitle.ShadowColor = Color.FromArgb(50, 50, 50);
|
||||
lbTitle.ForeColor = Color.WhiteSmoke;
|
||||
break;
|
||||
default:
|
||||
lbTitle.BackColor = Color.DarkTurquoise;
|
||||
lbTitle.BackColor2 = Color.LightSkyBlue;
|
||||
lbTitle.ShadowColor = Color.FromArgb(50, 50, 50);
|
||||
lbTitle.ForeColor = Color.WhiteSmoke;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
private void lbTitle_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.DialogResult = DialogResult.Cancel;
|
||||
this.Close();
|
||||
}
|
||||
|
||||
private void tmBlink_Tick(object sender, EventArgs e)
|
||||
{
|
||||
var bg1 = lbTitle.BackColor;
|
||||
var bg2 = lbTitle.BackColor2;
|
||||
lbTitle.BackColor = bg2;
|
||||
lbTitle.BackColor2 = bg1;
|
||||
}
|
||||
|
||||
private void btYes_Click(object sender, EventArgs e)
|
||||
{
|
||||
DialogResult = DialogResult.Yes;
|
||||
this.Close();
|
||||
}
|
||||
|
||||
private void btNo_Click(object sender, EventArgs e)
|
||||
{
|
||||
DialogResult = DialogResult.Cancel;
|
||||
this.Close();
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
123
Cs_HMI/Project/Dialog/fJobSelect.resx
Normal file
123
Cs_HMI/Project/Dialog/fJobSelect.resx
Normal file
@@ -0,0 +1,123 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<metadata name="tmBlink.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
</metadata>
|
||||
</root>
|
||||
211
Cs_HMI/Project/Dialog/fLog.Designer.cs
generated
Normal file
211
Cs_HMI/Project/Dialog/fLog.Designer.cs
generated
Normal file
@@ -0,0 +1,211 @@
|
||||
namespace Project.Dialog
|
||||
{
|
||||
partial class fLog
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (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()
|
||||
{
|
||||
this.rtsys = new arCtl.LogTextBox();
|
||||
this.rtTx = new arCtl.LogTextBox();
|
||||
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
|
||||
this.rtAGV = new arCtl.LogTextBox();
|
||||
this.rtPLC = new arCtl.LogTextBox();
|
||||
this.rtBMS = new arCtl.LogTextBox();
|
||||
this.rtCAL = new arCtl.LogTextBox();
|
||||
this.tableLayoutPanel1.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// rtsys
|
||||
//
|
||||
this.rtsys.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
||||
this.rtsys.ColorList = new arCtl.sLogMessageColor[0];
|
||||
this.tableLayoutPanel1.SetColumnSpan(this.rtsys, 2);
|
||||
this.rtsys.DateFormat = "mm:ss.fff";
|
||||
this.rtsys.DefaultColor = System.Drawing.Color.LightGray;
|
||||
this.rtsys.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.rtsys.EnableDisplayTimer = false;
|
||||
this.rtsys.EnableGubunColor = true;
|
||||
this.rtsys.Font = new System.Drawing.Font("맑은 고딕", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.rtsys.ListFormat = "[{0}] {1}";
|
||||
this.rtsys.Location = new System.Drawing.Point(3, 3);
|
||||
this.rtsys.MaxListCount = ((ushort)(1000));
|
||||
this.rtsys.MaxTextLength = ((uint)(400000u));
|
||||
this.rtsys.MessageInterval = 50;
|
||||
this.rtsys.Name = "rtsys";
|
||||
this.rtsys.Size = new System.Drawing.Size(334, 340);
|
||||
this.rtsys.TabIndex = 0;
|
||||
this.rtsys.Text = "";
|
||||
//
|
||||
// rtTx
|
||||
//
|
||||
this.rtTx.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
||||
this.rtTx.ColorList = new arCtl.sLogMessageColor[0];
|
||||
this.tableLayoutPanel1.SetColumnSpan(this.rtTx, 2);
|
||||
this.rtTx.DateFormat = "mm:ss.fff";
|
||||
this.rtTx.DefaultColor = System.Drawing.Color.LightGray;
|
||||
this.rtTx.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.rtTx.EnableDisplayTimer = false;
|
||||
this.rtTx.EnableGubunColor = true;
|
||||
this.rtTx.Font = new System.Drawing.Font("맑은 고딕", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.rtTx.ListFormat = "[{0}] {1}";
|
||||
this.rtTx.Location = new System.Drawing.Point(343, 3);
|
||||
this.rtTx.MaxListCount = ((ushort)(1000));
|
||||
this.rtTx.MaxTextLength = ((uint)(400000u));
|
||||
this.rtTx.MessageInterval = 50;
|
||||
this.rtTx.Name = "rtTx";
|
||||
this.rtTx.Size = new System.Drawing.Size(335, 340);
|
||||
this.rtTx.TabIndex = 1;
|
||||
this.rtTx.Text = "";
|
||||
//
|
||||
// tableLayoutPanel1
|
||||
//
|
||||
this.tableLayoutPanel1.ColumnCount = 4;
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25F));
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25F));
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25F));
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25F));
|
||||
this.tableLayoutPanel1.Controls.Add(this.rtAGV, 0, 1);
|
||||
this.tableLayoutPanel1.Controls.Add(this.rtsys, 0, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.rtTx, 2, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.rtPLC, 1, 1);
|
||||
this.tableLayoutPanel1.Controls.Add(this.rtBMS, 2, 1);
|
||||
this.tableLayoutPanel1.Controls.Add(this.rtCAL, 3, 1);
|
||||
this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0);
|
||||
this.tableLayoutPanel1.Name = "tableLayoutPanel1";
|
||||
this.tableLayoutPanel1.RowCount = 2;
|
||||
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 70F));
|
||||
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 30F));
|
||||
this.tableLayoutPanel1.Size = new System.Drawing.Size(681, 495);
|
||||
this.tableLayoutPanel1.TabIndex = 2;
|
||||
//
|
||||
// rtAGV
|
||||
//
|
||||
this.rtAGV.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
||||
this.rtAGV.ColorList = new arCtl.sLogMessageColor[0];
|
||||
this.rtAGV.DateFormat = "mm:ss.fff";
|
||||
this.rtAGV.DefaultColor = System.Drawing.Color.LightGray;
|
||||
this.rtAGV.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.rtAGV.EnableDisplayTimer = false;
|
||||
this.rtAGV.EnableGubunColor = true;
|
||||
this.rtAGV.Font = new System.Drawing.Font("맑은 고딕", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.rtAGV.ListFormat = "[{0}] {1}";
|
||||
this.rtAGV.Location = new System.Drawing.Point(3, 349);
|
||||
this.rtAGV.MaxListCount = ((ushort)(1000));
|
||||
this.rtAGV.MaxTextLength = ((uint)(400000u));
|
||||
this.rtAGV.MessageInterval = 50;
|
||||
this.rtAGV.Name = "rtAGV";
|
||||
this.rtAGV.Size = new System.Drawing.Size(164, 143);
|
||||
this.rtAGV.TabIndex = 2;
|
||||
this.rtAGV.Text = "";
|
||||
//
|
||||
// rtPLC
|
||||
//
|
||||
this.rtPLC.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
||||
this.rtPLC.ColorList = new arCtl.sLogMessageColor[0];
|
||||
this.rtPLC.DateFormat = "mm:ss.fff";
|
||||
this.rtPLC.DefaultColor = System.Drawing.Color.LightGray;
|
||||
this.rtPLC.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.rtPLC.EnableDisplayTimer = false;
|
||||
this.rtPLC.EnableGubunColor = true;
|
||||
this.rtPLC.Font = new System.Drawing.Font("맑은 고딕", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.rtPLC.ListFormat = "[{0}] {1}";
|
||||
this.rtPLC.Location = new System.Drawing.Point(173, 349);
|
||||
this.rtPLC.MaxListCount = ((ushort)(1000));
|
||||
this.rtPLC.MaxTextLength = ((uint)(400000u));
|
||||
this.rtPLC.MessageInterval = 50;
|
||||
this.rtPLC.Name = "rtPLC";
|
||||
this.rtPLC.Size = new System.Drawing.Size(164, 143);
|
||||
this.rtPLC.TabIndex = 2;
|
||||
this.rtPLC.Text = "";
|
||||
//
|
||||
// rtBMS
|
||||
//
|
||||
this.rtBMS.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
||||
this.rtBMS.ColorList = new arCtl.sLogMessageColor[0];
|
||||
this.rtBMS.DateFormat = "mm:ss.fff";
|
||||
this.rtBMS.DefaultColor = System.Drawing.Color.LightGray;
|
||||
this.rtBMS.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.rtBMS.EnableDisplayTimer = false;
|
||||
this.rtBMS.EnableGubunColor = true;
|
||||
this.rtBMS.Font = new System.Drawing.Font("맑은 고딕", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.rtBMS.ListFormat = "[{0}] {1}";
|
||||
this.rtBMS.Location = new System.Drawing.Point(343, 349);
|
||||
this.rtBMS.MaxListCount = ((ushort)(1000));
|
||||
this.rtBMS.MaxTextLength = ((uint)(400000u));
|
||||
this.rtBMS.MessageInterval = 50;
|
||||
this.rtBMS.Name = "rtBMS";
|
||||
this.rtBMS.Size = new System.Drawing.Size(164, 143);
|
||||
this.rtBMS.TabIndex = 2;
|
||||
this.rtBMS.Text = "";
|
||||
//
|
||||
// rtCAL
|
||||
//
|
||||
this.rtCAL.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
||||
this.rtCAL.ColorList = new arCtl.sLogMessageColor[0];
|
||||
this.rtCAL.DateFormat = "mm:ss.fff";
|
||||
this.rtCAL.DefaultColor = System.Drawing.Color.LightGray;
|
||||
this.rtCAL.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.rtCAL.EnableDisplayTimer = false;
|
||||
this.rtCAL.EnableGubunColor = true;
|
||||
this.rtCAL.Font = new System.Drawing.Font("맑은 고딕", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.rtCAL.ListFormat = "[{0}] {1}";
|
||||
this.rtCAL.Location = new System.Drawing.Point(513, 349);
|
||||
this.rtCAL.MaxListCount = ((ushort)(1000));
|
||||
this.rtCAL.MaxTextLength = ((uint)(400000u));
|
||||
this.rtCAL.MessageInterval = 50;
|
||||
this.rtCAL.Name = "rtCAL";
|
||||
this.rtCAL.Size = new System.Drawing.Size(165, 143);
|
||||
this.rtCAL.TabIndex = 2;
|
||||
this.rtCAL.Text = "";
|
||||
//
|
||||
// fLog
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(681, 495);
|
||||
this.Controls.Add(this.tableLayoutPanel1);
|
||||
this.Name = "fLog";
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||
this.Text = "fLog";
|
||||
this.TopMost = true;
|
||||
this.Load += new System.EventHandler(this.fLog_Load);
|
||||
this.tableLayoutPanel1.ResumeLayout(false);
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private arCtl.LogTextBox rtsys;
|
||||
private arCtl.LogTextBox rtTx;
|
||||
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
|
||||
private arCtl.LogTextBox rtAGV;
|
||||
private arCtl.LogTextBox rtPLC;
|
||||
private arCtl.LogTextBox rtBMS;
|
||||
private arCtl.LogTextBox rtCAL;
|
||||
}
|
||||
}
|
||||
83
Cs_HMI/Project/Dialog/fLog.cs
Normal file
83
Cs_HMI/Project/Dialog/fLog.cs
Normal file
@@ -0,0 +1,83 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace Project.Dialog
|
||||
{
|
||||
public partial class fLog : Form
|
||||
{
|
||||
public fLog()
|
||||
{
|
||||
InitializeComponent();
|
||||
this.FormClosed += FLog_FormClosed;
|
||||
}
|
||||
|
||||
private void FLog_FormClosed(object sender, FormClosedEventArgs e)
|
||||
{
|
||||
PUB.log.RaiseMsg -= Log_RaiseMsg;
|
||||
PUB.logagv.RaiseMsg -= Log_RaiseMsgagv;
|
||||
PUB.logplc.RaiseMsg -= Log_RaiseMsgplc;
|
||||
PUB.logbms.RaiseMsg -= Log_RaiseMsgbms;
|
||||
PUB.logcal.RaiseMsg -= Log_RaiseMsgcal;
|
||||
}
|
||||
|
||||
private void fLog_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
var colorlist = new arCtl.sLogMessageColor[]
|
||||
{
|
||||
new arCtl.sLogMessageColor("NOR",Color.Black),
|
||||
new arCtl.sLogMessageColor("NORM",Color.Black),
|
||||
new arCtl.sLogMessageColor("NORMAL",Color.Black),
|
||||
new arCtl.sLogMessageColor("ERR",Color.Red),
|
||||
new arCtl.sLogMessageColor("FLAG",Color.Magenta),
|
||||
new arCtl.sLogMessageColor("TX",Color.SkyBlue),
|
||||
new arCtl.sLogMessageColor("SETUP",Color.Gold),
|
||||
new arCtl.sLogMessageColor("MFLAG",Color.BlueViolet),
|
||||
};
|
||||
this.rtsys.ColorList = colorlist;
|
||||
this.rtTx.ColorList = colorlist;
|
||||
this.rtAGV.ColorList = colorlist;
|
||||
|
||||
PUB.log.RaiseMsg += Log_RaiseMsg;
|
||||
PUB.logagv.RaiseMsg += Log_RaiseMsgagv;
|
||||
PUB.logplc.RaiseMsg += Log_RaiseMsgplc;
|
||||
PUB.logbms.RaiseMsg += Log_RaiseMsgbms;
|
||||
PUB.logcal.RaiseMsg += Log_RaiseMsgcal;
|
||||
}
|
||||
|
||||
private void Log_RaiseMsg(DateTime LogTime, string TypeStr, string Message)
|
||||
{
|
||||
showlog(rtsys,LogTime, TypeStr, Message);
|
||||
}
|
||||
private void Log_RaiseMsgagv(DateTime LogTime, string TypeStr, string Message)
|
||||
{
|
||||
showlog(rtAGV, LogTime, TypeStr, Message);
|
||||
}
|
||||
private void Log_RaiseMsgplc(DateTime LogTime, string TypeStr, string Message)
|
||||
{
|
||||
showlog(rtPLC, LogTime, TypeStr, Message);
|
||||
}
|
||||
private void Log_RaiseMsgbms(DateTime LogTime, string TypeStr, string Message)
|
||||
{
|
||||
showlog(rtBMS, LogTime, TypeStr, Message);
|
||||
}
|
||||
private void Log_RaiseMsgcal(DateTime LogTime, string TypeStr, string Message)
|
||||
{
|
||||
showlog(rtCAL, LogTime, TypeStr, Message);
|
||||
}
|
||||
void showlog(arCtl.LogTextBox rtRx, DateTime LogTime, string TypeStr, string Message)
|
||||
{
|
||||
if (rtRx.Visible)
|
||||
{
|
||||
rtRx.AddMsg(LogTime, TypeStr, Message);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
120
Cs_HMI/Project/Dialog/fLog.resx
Normal file
120
Cs_HMI/Project/Dialog/fLog.resx
Normal file
@@ -0,0 +1,120 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
</root>
|
||||
93
Cs_HMI/Project/Dialog/fPassword.Designer.cs
generated
Normal file
93
Cs_HMI/Project/Dialog/fPassword.Designer.cs
generated
Normal file
@@ -0,0 +1,93 @@
|
||||
namespace Project.Dialog
|
||||
{
|
||||
partial class fPassword
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (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.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fPassword));
|
||||
this.tbInput = new System.Windows.Forms.TextBox();
|
||||
this.pictureBox1 = new System.Windows.Forms.PictureBox();
|
||||
this.touchKey1 = new arCtl.TouchKey();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// tbInput
|
||||
//
|
||||
this.tbInput.Font = new System.Drawing.Font("Calibri", 20.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.tbInput.Location = new System.Drawing.Point(26, 140);
|
||||
this.tbInput.Name = "tbInput";
|
||||
this.tbInput.PasswordChar = '●';
|
||||
this.tbInput.Size = new System.Drawing.Size(235, 40);
|
||||
this.tbInput.TabIndex = 1;
|
||||
this.tbInput.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||
//
|
||||
// pictureBox1
|
||||
//
|
||||
this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
|
||||
this.pictureBox1.Location = new System.Drawing.Point(91, 23);
|
||||
this.pictureBox1.Name = "pictureBox1";
|
||||
this.pictureBox1.Size = new System.Drawing.Size(96, 96);
|
||||
this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
|
||||
this.pictureBox1.TabIndex = 3;
|
||||
this.pictureBox1.TabStop = false;
|
||||
//
|
||||
// touchKey1
|
||||
//
|
||||
this.touchKey1.Location = new System.Drawing.Point(26, 194);
|
||||
this.touchKey1.Margin = new System.Windows.Forms.Padding(6, 11, 6, 11);
|
||||
this.touchKey1.Name = "touchKey1";
|
||||
this.touchKey1.Size = new System.Drawing.Size(235, 260);
|
||||
this.touchKey1.TabIndex = 5;
|
||||
this.touchKey1.keyClick += new arCtl.TouchKey.KeyClickHandler(this.touchKey1_keyClick);
|
||||
//
|
||||
// fPassword
|
||||
//
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
||||
this.ClientSize = new System.Drawing.Size(284, 470);
|
||||
this.Controls.Add(this.touchKey1);
|
||||
this.Controls.Add(this.pictureBox1);
|
||||
this.Controls.Add(this.tbInput);
|
||||
this.Font = new System.Drawing.Font("Calibri", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.KeyPreview = true;
|
||||
this.MaximizeBox = false;
|
||||
this.MinimizeBox = false;
|
||||
this.Name = "fPassword";
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||
this.Text = "Enter Password";
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.PictureBox pictureBox1;
|
||||
public System.Windows.Forms.TextBox tbInput;
|
||||
private arCtl.TouchKey touchKey1;
|
||||
}
|
||||
}
|
||||
74
Cs_HMI/Project/Dialog/fPassword.cs
Normal file
74
Cs_HMI/Project/Dialog/fPassword.cs
Normal file
@@ -0,0 +1,74 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace Project.Dialog
|
||||
{
|
||||
public partial class fPassword : Form
|
||||
{
|
||||
public fPassword()
|
||||
{
|
||||
InitializeComponent();
|
||||
this.tbInput.KeyDown += (s1, e1) => { if (e1.KeyCode == Keys.Enter) Confirm(); };
|
||||
this.KeyPreview = true;
|
||||
this.KeyDown += (s1, e1) => {
|
||||
if (e1.KeyCode == Keys.Escape) this.Close();
|
||||
};
|
||||
}
|
||||
|
||||
private void Confirm()
|
||||
{
|
||||
string id = tbInput.Text.Trim();
|
||||
if (id.isEmpty())
|
||||
{
|
||||
tbInput.Focus();
|
||||
return;
|
||||
}
|
||||
DialogResult = DialogResult.OK;
|
||||
}
|
||||
|
||||
private void touchKey1_keyClick(string key)
|
||||
{
|
||||
if (key == "BACK" || key == "◁")
|
||||
{
|
||||
if (!tbInput.Text.isEmpty())
|
||||
{
|
||||
if (tbInput.Text.Length == 1) tbInput.Text = "";
|
||||
else tbInput.Text = tbInput.Text.Substring(0, tbInput.Text.Length - 1);
|
||||
}
|
||||
//if (tbInput.Text == "") tbInput.Text = "0";
|
||||
}
|
||||
else if (key == "CLEAR" || key == "RESET" || key == "◀")
|
||||
{
|
||||
tbInput.Text = "0";
|
||||
}
|
||||
else if (key == "ENTER" || key == "ENT")
|
||||
{
|
||||
Confirm();
|
||||
}
|
||||
else
|
||||
{
|
||||
if (tbInput.SelectionLength > 0 && tbInput.Text.Length == tbInput.SelectionLength)
|
||||
{
|
||||
tbInput.Text = key;
|
||||
}
|
||||
else if (tbInput.SelectionLength > 0)
|
||||
{
|
||||
//선택된 영역을 대체해준다.
|
||||
tbInput.SelectedText = key;
|
||||
}
|
||||
else tbInput.Text += key;
|
||||
|
||||
}
|
||||
|
||||
tbInput.SelectionLength = 0;
|
||||
if (!tbInput.Text.isEmpty())
|
||||
tbInput.SelectionStart = tbInput.Text.Length;
|
||||
}
|
||||
}
|
||||
}
|
||||
160
Cs_HMI/Project/Dialog/fPassword.resx
Normal file
160
Cs_HMI/Project/Dialog/fPassword.resx
Normal file
@@ -0,0 +1,160 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<data name="pictureBox1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAYAAADimHc4AAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAb
|
||||
rwAAG68BXhqRHAAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAeoSURBVHhe7Z1r
|
||||
bBRVFMfr+xHf8RUTHx/UoHwpLDMLLdHtzBSosWoijSZCq9GCRAN+I+oXwgfBqIgYXzF+gMT4KIoRgloM
|
||||
RhOQLbRSQSyoLZYIhEcpnZ3u0u7u9Zzd0wDT41Z2753O7s4/+aWb3TvnnvPf2bkzd6YzFYECBQoUKFCg
|
||||
QIECBQrkJ/VPn36tbYZrHFOfHzP1N4ANMUvfAX+7gAPwui8Dvsb3sp9tiJnh1x0rPM+2pkYwBoULNJaO
|
||||
VldfCYbPdgx9FRjZCaQAUSAYYyd8KW/ZVvjRI5HIFdRdIJSIRC60Db0BTFoPJMg0lSQcS//cMbR67JvS
|
||||
KD+JhokXw5r+DBiy12WQl3TB5u1pzIXSKn2JadMuixnhF6B43G5zpowHvbapLcTcKM3SFAySjVDsQVfx
|
||||
PkL7B3OkdEtHcaPqdijw69EF+xPb1NcNztBupfSLW7D3sQiKGnQXWQQMwC9iDpVRfMLdPfg5r2EKKy6g
|
||||
hqLbdbVnVN1IB0V8UUVHODoQCV1P5flbA6Z+NyTdM7qIoqf7ZG34LirTn4Kj2HszexJ8AaXAAduaeg+V
|
||||
6y/h2hEz9CNM0qXGwXhk6h1Utj8E28ib4IjyTybZksSx9D+wZip/fCXq7rwE9pu3cImWOD/5YgoDzH+f
|
||||
Sa4scMzwO2TD+AgPVLjEygvtCbLDW+FABAn0j06ozLD0vrgVuo1s8U7wzbeyCZUn35It3sg2tceYJMoa
|
||||
PNtG9qhVZo7H1HvdCXiB83i9OPXBKpFs2yrSfcdFemAgC7zG9/AzbMMt6wH7RX3ocrJJnRxDf5npXC0z
|
||||
q8RQy8dCDA+LMQVtsC0uw8ZSiaEvJpvUiNb+Y6M6VojzkCGSne3k7v9Xcmd7ZlkupkIOKz2rRnP7XMdq
|
||||
sMIi2bGdLD13JTvaMjHY2IqwzfBzZJdciSUV50MH3e4OVZJ4cxlZeVrpQwdFYuVyMdg0WziPmBnwNb6H
|
||||
n7mVWPEKG1sVOE0hKirOI9vkKWZpFtehMmZNF+n+E2RjVqk9uzKGs+0B/Cy1Zze1zird3wfjQTXbXhV4
|
||||
QRjZJk8QeLW7I5Uklr5EFmaVjtmwh/Mg2/ZMsE3aidFSWSWWvsi2VchHZJsc0eAbc3WilOFNG8m+rIY+
|
||||
Wc224xj6dA0tldVw60a2nUJOSt0ldazww0wnSkn19pB9WcUXNrPtOOKLmmmprFJ/97DtVOLUhB8g+woX
|
||||
XavJdqSK9OAg2ZeVU1/DtuPA3c8zlXYctp1SDH0F2Ve4INguthOFuMW1yYVbXBvF7CT7ChNeDQDB0q7g
|
||||
ynGLa5MLt7g2ikmdnDntOrIxf8VMbRYTXCrx+Y0i2dIi0lujQrT/qpT0lmimr3jzXDYXuYRrycb8pfro
|
||||
N77gKSF2dLJmKQX6jM9vYnOShW3oz5ON+QsG4He54LJIrfuKN8gDkl98yeYkCzgqfptszF8wAH/PBZeF
|
||||
2NbOmuMJ23awOUnD0r8jG/MXBNo9KrBEWGM8hMtJIp1kY/6CIPtdQaXCmeIlXE4S6SYb8xcEOe4KKhXO
|
||||
FC/hcpLIUbIxf0GQU66gUuFM8RIuJ4kkyMb8BUGGXEGlwpkyFonWzaJrbpNo07QMXXMaRXxjK9t2LLic
|
||||
JCLlC/DVJgjNbwuFxNYJE84C3zu16Qd2mVxwOUlEyibIV4Mwrvlu80fY2/Qku0wuuJwkImEQVjwRx5mS
|
||||
i2jlJNZ8JDp5MrtMLricJFL4hJzyAzHGlFxEKytZ85HoJJ99ATIOxPBwmg0uCc6UXHTNmcuaj/hvE6St
|
||||
JBvzF04o8cHlwJmSi8H13/zHIDzFd4OwbWkLyMb8hVOqXHBZcKaMxchuKI4HuNnZ29iUl/kIl5MsYOU1
|
||||
yMb8pfqEDGeKl3A5SULOCRkUBPvFFVwanClewuUkie1kX+HCE8xMB1LgTPESLidJvEr2FS6Vl6VwpngJ
|
||||
l5MMpF6WIiKRSyHoCXcnMsCTIpwxnvDzdjYnCRyT/h+Utql/yHRUMHhakDXHA5Ita9mcCsW29PfINnmy
|
||||
De0+rrNCic9rHL+T8oqujBgwtCqyTZ7w8nT4FfzFdVgomctS8JfQ1sGbJRPoA/tSZb6yy9NRjqE/y3Ua
|
||||
cBrH0prJLvkSodBF0InS6ekipxs9IrvUSPXcUDGDWwiySZ3wn9BUjQVFzj68cQnZpFaqJ+iKklrNJHu8
|
||||
kWNqa9lEyhFD/4xs8U7BzTqI8bpZBwrnOyAJz/93wEekHGNKHdkxPopZ2mtMYuWBpS8nG8ZPwS3LfKDj
|
||||
deGrICFlJ218SAc+bILK94ec2upbILFSvGGrm3123aQbqGx/KXvjVl89F0A2vb69ceuIYhHt5piptTPJ
|
||||
FzeZe2H75F6hYwmfXARJ/ziqiOJlc58VuprKKw6JhoYLbEtfAsnLeBLSeJGEo9zFyub3vRBenASFHHYV
|
||||
VgwcwmeYURnFreARJj4R3sgICvzNXbCP2G3XavdTuqWp4DFWPpEvHuRmhH8vuwe5cbJrtIk4sQWmePGM
|
||||
sR7cO8M+qftAI8I1MXO2LftltAHJM4zLF4gRjsLavgxvPFj2a/u56ESk8hrcFTzrcbbZo+xuPBFCBmdO
|
||||
imTey3521uNsMQaFCxQoUKBAgQIFChQoUCAfqKLiXwYEOVtR8EleAAAAAElFTkSuQmCC
|
||||
</value>
|
||||
</data>
|
||||
</root>
|
||||
557
Cs_HMI/Project/Dialog/fSystem.Designer.cs
generated
Normal file
557
Cs_HMI/Project/Dialog/fSystem.Designer.cs
generated
Normal file
@@ -0,0 +1,557 @@
|
||||
namespace Project.Dialog
|
||||
{
|
||||
partial class fSystem
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (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()
|
||||
{
|
||||
this.lbMsg = new arCtl.arLabel();
|
||||
this.arLabel4 = new arCtl.arLabel();
|
||||
this.arLabel9 = new arCtl.arLabel();
|
||||
this.arLabel10 = new arCtl.arLabel();
|
||||
this.arLabel1 = new arCtl.arLabel();
|
||||
this.arLabel6 = new arCtl.arLabel();
|
||||
this.arLabel2 = new arCtl.arLabel();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.label2 = new System.Windows.Forms.Label();
|
||||
this.arLabel3 = new arCtl.arLabel();
|
||||
this.arLabel5 = new arCtl.arLabel();
|
||||
this.arLabel7 = new arCtl.arLabel();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// lbMsg
|
||||
//
|
||||
this.lbMsg.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(72)))), ((int)(((byte)(72)))), ((int)(((byte)(72)))));
|
||||
this.lbMsg.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(18)))), ((int)(((byte)(18)))));
|
||||
this.lbMsg.BackgroundImagePadding = new System.Windows.Forms.Padding(0);
|
||||
this.lbMsg.BorderColor = System.Drawing.Color.LightSkyBlue;
|
||||
this.lbMsg.BorderColorOver = System.Drawing.Color.Red;
|
||||
this.lbMsg.BorderSize = new System.Windows.Forms.Padding(1);
|
||||
this.lbMsg.ColorTheme = arCtl.arLabel.eColorTheme.Custom;
|
||||
this.lbMsg.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.lbMsg.Font = new System.Drawing.Font("Consolas", 12F);
|
||||
this.lbMsg.ForeColor = System.Drawing.Color.White;
|
||||
this.lbMsg.GradientEnable = true;
|
||||
this.lbMsg.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical;
|
||||
this.lbMsg.GradientRepeatBG = true;
|
||||
this.lbMsg.isButton = true;
|
||||
this.lbMsg.Location = new System.Drawing.Point(9, 8);
|
||||
this.lbMsg.Margin = new System.Windows.Forms.Padding(5);
|
||||
this.lbMsg.MouseDownColor = System.Drawing.Color.Yellow;
|
||||
this.lbMsg.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
|
||||
this.lbMsg.msg = null;
|
||||
this.lbMsg.Name = "lbMsg";
|
||||
this.lbMsg.ProgressBorderColor = System.Drawing.Color.Black;
|
||||
this.lbMsg.ProgressColor1 = System.Drawing.Color.LightSkyBlue;
|
||||
this.lbMsg.ProgressColor2 = System.Drawing.Color.DeepSkyBlue;
|
||||
this.lbMsg.ProgressEnable = false;
|
||||
this.lbMsg.ProgressFont = new System.Drawing.Font("Consolas", 10F);
|
||||
this.lbMsg.ProgressForeColor = System.Drawing.Color.Black;
|
||||
this.lbMsg.ProgressMax = 100F;
|
||||
this.lbMsg.ProgressMin = 0F;
|
||||
this.lbMsg.ProgressPadding = new System.Windows.Forms.Padding(0);
|
||||
this.lbMsg.ProgressValue = 0F;
|
||||
this.lbMsg.ShadowColor = System.Drawing.Color.Black;
|
||||
this.lbMsg.Sign = "";
|
||||
this.lbMsg.SignAlign = System.Drawing.ContentAlignment.BottomRight;
|
||||
this.lbMsg.SignColor = System.Drawing.Color.Yellow;
|
||||
this.lbMsg.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
|
||||
this.lbMsg.Size = new System.Drawing.Size(165, 100);
|
||||
this.lbMsg.TabIndex = 2;
|
||||
this.lbMsg.Text = "폴더열기";
|
||||
this.lbMsg.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
this.lbMsg.TextShadow = true;
|
||||
this.lbMsg.TextVisible = true;
|
||||
this.lbMsg.Click += new System.EventHandler(this.lbMsg_Click);
|
||||
//
|
||||
// arLabel4
|
||||
//
|
||||
this.arLabel4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(72)))), ((int)(((byte)(72)))), ((int)(((byte)(72)))));
|
||||
this.arLabel4.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(18)))), ((int)(((byte)(18)))));
|
||||
this.arLabel4.BackgroundImagePadding = new System.Windows.Forms.Padding(0);
|
||||
this.arLabel4.BorderColor = System.Drawing.Color.LightSkyBlue;
|
||||
this.arLabel4.BorderColorOver = System.Drawing.Color.Red;
|
||||
this.arLabel4.BorderSize = new System.Windows.Forms.Padding(1);
|
||||
this.arLabel4.ColorTheme = arCtl.arLabel.eColorTheme.Custom;
|
||||
this.arLabel4.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.arLabel4.Font = new System.Drawing.Font("Consolas", 12F);
|
||||
this.arLabel4.ForeColor = System.Drawing.Color.White;
|
||||
this.arLabel4.GradientEnable = true;
|
||||
this.arLabel4.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical;
|
||||
this.arLabel4.GradientRepeatBG = true;
|
||||
this.arLabel4.isButton = true;
|
||||
this.arLabel4.Location = new System.Drawing.Point(9, 387);
|
||||
this.arLabel4.Margin = new System.Windows.Forms.Padding(5);
|
||||
this.arLabel4.MouseDownColor = System.Drawing.Color.Yellow;
|
||||
this.arLabel4.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
|
||||
this.arLabel4.msg = null;
|
||||
this.arLabel4.Name = "arLabel4";
|
||||
this.arLabel4.ProgressBorderColor = System.Drawing.Color.Black;
|
||||
this.arLabel4.ProgressColor1 = System.Drawing.Color.LightSkyBlue;
|
||||
this.arLabel4.ProgressColor2 = System.Drawing.Color.DeepSkyBlue;
|
||||
this.arLabel4.ProgressEnable = false;
|
||||
this.arLabel4.ProgressFont = new System.Drawing.Font("Consolas", 10F);
|
||||
this.arLabel4.ProgressForeColor = System.Drawing.Color.Black;
|
||||
this.arLabel4.ProgressMax = 100F;
|
||||
this.arLabel4.ProgressMin = 0F;
|
||||
this.arLabel4.ProgressPadding = new System.Windows.Forms.Padding(0);
|
||||
this.arLabel4.ProgressValue = 0F;
|
||||
this.arLabel4.ShadowColor = System.Drawing.Color.Black;
|
||||
this.arLabel4.Sign = "";
|
||||
this.arLabel4.SignAlign = System.Drawing.ContentAlignment.BottomRight;
|
||||
this.arLabel4.SignColor = System.Drawing.Color.Yellow;
|
||||
this.arLabel4.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
|
||||
this.arLabel4.Size = new System.Drawing.Size(503, 51);
|
||||
this.arLabel4.TabIndex = 2;
|
||||
this.arLabel4.Text = "닫기";
|
||||
this.arLabel4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
this.arLabel4.TextShadow = true;
|
||||
this.arLabel4.TextVisible = true;
|
||||
this.arLabel4.Click += new System.EventHandler(this.arLabel4_Click);
|
||||
//
|
||||
// arLabel9
|
||||
//
|
||||
this.arLabel9.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(72)))), ((int)(((byte)(72)))), ((int)(((byte)(72)))));
|
||||
this.arLabel9.BackColor2 = System.Drawing.Color.Red;
|
||||
this.arLabel9.BackgroundImagePadding = new System.Windows.Forms.Padding(0);
|
||||
this.arLabel9.BorderColor = System.Drawing.Color.LightSkyBlue;
|
||||
this.arLabel9.BorderColorOver = System.Drawing.Color.Red;
|
||||
this.arLabel9.BorderSize = new System.Windows.Forms.Padding(1);
|
||||
this.arLabel9.ColorTheme = arCtl.arLabel.eColorTheme.Custom;
|
||||
this.arLabel9.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.arLabel9.Font = new System.Drawing.Font("Consolas", 12F);
|
||||
this.arLabel9.ForeColor = System.Drawing.Color.White;
|
||||
this.arLabel9.GradientEnable = true;
|
||||
this.arLabel9.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical;
|
||||
this.arLabel9.GradientRepeatBG = true;
|
||||
this.arLabel9.isButton = true;
|
||||
this.arLabel9.Location = new System.Drawing.Point(9, 112);
|
||||
this.arLabel9.Margin = new System.Windows.Forms.Padding(5);
|
||||
this.arLabel9.MouseDownColor = System.Drawing.Color.Yellow;
|
||||
this.arLabel9.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
|
||||
this.arLabel9.msg = null;
|
||||
this.arLabel9.Name = "arLabel9";
|
||||
this.arLabel9.ProgressBorderColor = System.Drawing.Color.Black;
|
||||
this.arLabel9.ProgressColor1 = System.Drawing.Color.LightSkyBlue;
|
||||
this.arLabel9.ProgressColor2 = System.Drawing.Color.DeepSkyBlue;
|
||||
this.arLabel9.ProgressEnable = false;
|
||||
this.arLabel9.ProgressFont = new System.Drawing.Font("Consolas", 10F);
|
||||
this.arLabel9.ProgressForeColor = System.Drawing.Color.Black;
|
||||
this.arLabel9.ProgressMax = 100F;
|
||||
this.arLabel9.ProgressMin = 0F;
|
||||
this.arLabel9.ProgressPadding = new System.Windows.Forms.Padding(0);
|
||||
this.arLabel9.ProgressValue = 0F;
|
||||
this.arLabel9.ShadowColor = System.Drawing.Color.Black;
|
||||
this.arLabel9.Sign = "";
|
||||
this.arLabel9.SignAlign = System.Drawing.ContentAlignment.BottomRight;
|
||||
this.arLabel9.SignColor = System.Drawing.Color.Yellow;
|
||||
this.arLabel9.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
|
||||
this.arLabel9.Size = new System.Drawing.Size(165, 100);
|
||||
this.arLabel9.TabIndex = 2;
|
||||
this.arLabel9.Text = "시스템 종료";
|
||||
this.arLabel9.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
this.arLabel9.TextShadow = true;
|
||||
this.arLabel9.TextVisible = true;
|
||||
this.arLabel9.Click += new System.EventHandler(this.arLabel9_Click);
|
||||
//
|
||||
// arLabel10
|
||||
//
|
||||
this.arLabel10.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(72)))), ((int)(((byte)(72)))), ((int)(((byte)(72)))));
|
||||
this.arLabel10.BackColor2 = System.Drawing.Color.DarkBlue;
|
||||
this.arLabel10.BackgroundImagePadding = new System.Windows.Forms.Padding(0);
|
||||
this.arLabel10.BorderColor = System.Drawing.Color.LightSkyBlue;
|
||||
this.arLabel10.BorderColorOver = System.Drawing.Color.Red;
|
||||
this.arLabel10.BorderSize = new System.Windows.Forms.Padding(1);
|
||||
this.arLabel10.ColorTheme = arCtl.arLabel.eColorTheme.Custom;
|
||||
this.arLabel10.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.arLabel10.Font = new System.Drawing.Font("Consolas", 12F);
|
||||
this.arLabel10.ForeColor = System.Drawing.Color.White;
|
||||
this.arLabel10.GradientEnable = true;
|
||||
this.arLabel10.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical;
|
||||
this.arLabel10.GradientRepeatBG = true;
|
||||
this.arLabel10.isButton = true;
|
||||
this.arLabel10.Location = new System.Drawing.Point(178, 112);
|
||||
this.arLabel10.Margin = new System.Windows.Forms.Padding(5);
|
||||
this.arLabel10.MouseDownColor = System.Drawing.Color.Yellow;
|
||||
this.arLabel10.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
|
||||
this.arLabel10.msg = null;
|
||||
this.arLabel10.Name = "arLabel10";
|
||||
this.arLabel10.ProgressBorderColor = System.Drawing.Color.Black;
|
||||
this.arLabel10.ProgressColor1 = System.Drawing.Color.LightSkyBlue;
|
||||
this.arLabel10.ProgressColor2 = System.Drawing.Color.DeepSkyBlue;
|
||||
this.arLabel10.ProgressEnable = false;
|
||||
this.arLabel10.ProgressFont = new System.Drawing.Font("Consolas", 10F);
|
||||
this.arLabel10.ProgressForeColor = System.Drawing.Color.Black;
|
||||
this.arLabel10.ProgressMax = 100F;
|
||||
this.arLabel10.ProgressMin = 0F;
|
||||
this.arLabel10.ProgressPadding = new System.Windows.Forms.Padding(0);
|
||||
this.arLabel10.ProgressValue = 0F;
|
||||
this.arLabel10.ShadowColor = System.Drawing.Color.Black;
|
||||
this.arLabel10.Sign = "";
|
||||
this.arLabel10.SignAlign = System.Drawing.ContentAlignment.BottomRight;
|
||||
this.arLabel10.SignColor = System.Drawing.Color.Yellow;
|
||||
this.arLabel10.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
|
||||
this.arLabel10.Size = new System.Drawing.Size(165, 100);
|
||||
this.arLabel10.TabIndex = 2;
|
||||
this.arLabel10.Text = "시스템 재시작";
|
||||
this.arLabel10.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
this.arLabel10.TextShadow = true;
|
||||
this.arLabel10.TextVisible = true;
|
||||
this.arLabel10.Click += new System.EventHandler(this.arLabel10_Click);
|
||||
//
|
||||
// arLabel1
|
||||
//
|
||||
this.arLabel1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(72)))), ((int)(((byte)(72)))), ((int)(((byte)(72)))));
|
||||
this.arLabel1.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(18)))), ((int)(((byte)(18)))));
|
||||
this.arLabel1.BackgroundImagePadding = new System.Windows.Forms.Padding(0);
|
||||
this.arLabel1.BorderColor = System.Drawing.Color.LightSkyBlue;
|
||||
this.arLabel1.BorderColorOver = System.Drawing.Color.Red;
|
||||
this.arLabel1.BorderSize = new System.Windows.Forms.Padding(1);
|
||||
this.arLabel1.ColorTheme = arCtl.arLabel.eColorTheme.Custom;
|
||||
this.arLabel1.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.arLabel1.Font = new System.Drawing.Font("Consolas", 12F);
|
||||
this.arLabel1.ForeColor = System.Drawing.Color.White;
|
||||
this.arLabel1.GradientEnable = true;
|
||||
this.arLabel1.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical;
|
||||
this.arLabel1.GradientRepeatBG = true;
|
||||
this.arLabel1.isButton = true;
|
||||
this.arLabel1.Location = new System.Drawing.Point(347, 8);
|
||||
this.arLabel1.Margin = new System.Windows.Forms.Padding(5);
|
||||
this.arLabel1.MouseDownColor = System.Drawing.Color.Yellow;
|
||||
this.arLabel1.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
|
||||
this.arLabel1.msg = null;
|
||||
this.arLabel1.Name = "arLabel1";
|
||||
this.arLabel1.ProgressBorderColor = System.Drawing.Color.Black;
|
||||
this.arLabel1.ProgressColor1 = System.Drawing.Color.LightSkyBlue;
|
||||
this.arLabel1.ProgressColor2 = System.Drawing.Color.DeepSkyBlue;
|
||||
this.arLabel1.ProgressEnable = false;
|
||||
this.arLabel1.ProgressFont = new System.Drawing.Font("Consolas", 10F);
|
||||
this.arLabel1.ProgressForeColor = System.Drawing.Color.Black;
|
||||
this.arLabel1.ProgressMax = 100F;
|
||||
this.arLabel1.ProgressMin = 0F;
|
||||
this.arLabel1.ProgressPadding = new System.Windows.Forms.Padding(0);
|
||||
this.arLabel1.ProgressValue = 0F;
|
||||
this.arLabel1.ShadowColor = System.Drawing.Color.Black;
|
||||
this.arLabel1.Sign = "";
|
||||
this.arLabel1.SignAlign = System.Drawing.ContentAlignment.BottomRight;
|
||||
this.arLabel1.SignColor = System.Drawing.Color.Yellow;
|
||||
this.arLabel1.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
|
||||
this.arLabel1.Size = new System.Drawing.Size(165, 100);
|
||||
this.arLabel1.TabIndex = 2;
|
||||
this.arLabel1.Text = "시작메뉴";
|
||||
this.arLabel1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
this.arLabel1.TextShadow = true;
|
||||
this.arLabel1.TextVisible = true;
|
||||
this.arLabel1.Click += new System.EventHandler(this.arLabel1_Click);
|
||||
//
|
||||
// arLabel6
|
||||
//
|
||||
this.arLabel6.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(72)))), ((int)(((byte)(72)))), ((int)(((byte)(72)))));
|
||||
this.arLabel6.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(18)))), ((int)(((byte)(18)))));
|
||||
this.arLabel6.BackgroundImagePadding = new System.Windows.Forms.Padding(0);
|
||||
this.arLabel6.BorderColor = System.Drawing.Color.LightSkyBlue;
|
||||
this.arLabel6.BorderColorOver = System.Drawing.Color.Red;
|
||||
this.arLabel6.BorderSize = new System.Windows.Forms.Padding(1);
|
||||
this.arLabel6.ColorTheme = arCtl.arLabel.eColorTheme.Custom;
|
||||
this.arLabel6.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.arLabel6.Font = new System.Drawing.Font("Consolas", 12F);
|
||||
this.arLabel6.ForeColor = System.Drawing.Color.White;
|
||||
this.arLabel6.GradientEnable = true;
|
||||
this.arLabel6.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical;
|
||||
this.arLabel6.GradientRepeatBG = true;
|
||||
this.arLabel6.isButton = true;
|
||||
this.arLabel6.Location = new System.Drawing.Point(178, 8);
|
||||
this.arLabel6.Margin = new System.Windows.Forms.Padding(5);
|
||||
this.arLabel6.MouseDownColor = System.Drawing.Color.Yellow;
|
||||
this.arLabel6.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
|
||||
this.arLabel6.msg = null;
|
||||
this.arLabel6.Name = "arLabel6";
|
||||
this.arLabel6.ProgressBorderColor = System.Drawing.Color.Black;
|
||||
this.arLabel6.ProgressColor1 = System.Drawing.Color.LightSkyBlue;
|
||||
this.arLabel6.ProgressColor2 = System.Drawing.Color.DeepSkyBlue;
|
||||
this.arLabel6.ProgressEnable = false;
|
||||
this.arLabel6.ProgressFont = new System.Drawing.Font("Consolas", 10F);
|
||||
this.arLabel6.ProgressForeColor = System.Drawing.Color.Black;
|
||||
this.arLabel6.ProgressMax = 100F;
|
||||
this.arLabel6.ProgressMin = 0F;
|
||||
this.arLabel6.ProgressPadding = new System.Windows.Forms.Padding(0);
|
||||
this.arLabel6.ProgressValue = 0F;
|
||||
this.arLabel6.ShadowColor = System.Drawing.Color.Black;
|
||||
this.arLabel6.Sign = "";
|
||||
this.arLabel6.SignAlign = System.Drawing.ContentAlignment.BottomRight;
|
||||
this.arLabel6.SignColor = System.Drawing.Color.Yellow;
|
||||
this.arLabel6.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
|
||||
this.arLabel6.Size = new System.Drawing.Size(165, 100);
|
||||
this.arLabel6.TabIndex = 2;
|
||||
this.arLabel6.Text = "작업관리자";
|
||||
this.arLabel6.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
this.arLabel6.TextShadow = true;
|
||||
this.arLabel6.TextVisible = true;
|
||||
this.arLabel6.Click += new System.EventHandler(this.arLabel6_Click);
|
||||
//
|
||||
// arLabel2
|
||||
//
|
||||
this.arLabel2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(72)))), ((int)(((byte)(72)))), ((int)(((byte)(72)))));
|
||||
this.arLabel2.BackColor2 = System.Drawing.Color.DarkBlue;
|
||||
this.arLabel2.BackgroundImagePadding = new System.Windows.Forms.Padding(0);
|
||||
this.arLabel2.BorderColor = System.Drawing.Color.LightSkyBlue;
|
||||
this.arLabel2.BorderColorOver = System.Drawing.Color.Red;
|
||||
this.arLabel2.BorderSize = new System.Windows.Forms.Padding(1);
|
||||
this.arLabel2.ColorTheme = arCtl.arLabel.eColorTheme.Custom;
|
||||
this.arLabel2.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.arLabel2.Font = new System.Drawing.Font("Consolas", 12F);
|
||||
this.arLabel2.ForeColor = System.Drawing.Color.White;
|
||||
this.arLabel2.GradientEnable = true;
|
||||
this.arLabel2.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical;
|
||||
this.arLabel2.GradientRepeatBG = true;
|
||||
this.arLabel2.isButton = true;
|
||||
this.arLabel2.Location = new System.Drawing.Point(347, 112);
|
||||
this.arLabel2.Margin = new System.Windows.Forms.Padding(5);
|
||||
this.arLabel2.MouseDownColor = System.Drawing.Color.Yellow;
|
||||
this.arLabel2.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
|
||||
this.arLabel2.msg = null;
|
||||
this.arLabel2.Name = "arLabel2";
|
||||
this.arLabel2.ProgressBorderColor = System.Drawing.Color.Black;
|
||||
this.arLabel2.ProgressColor1 = System.Drawing.Color.LightSkyBlue;
|
||||
this.arLabel2.ProgressColor2 = System.Drawing.Color.DeepSkyBlue;
|
||||
this.arLabel2.ProgressEnable = false;
|
||||
this.arLabel2.ProgressFont = new System.Drawing.Font("Consolas", 10F);
|
||||
this.arLabel2.ProgressForeColor = System.Drawing.Color.Black;
|
||||
this.arLabel2.ProgressMax = 100F;
|
||||
this.arLabel2.ProgressMin = 0F;
|
||||
this.arLabel2.ProgressPadding = new System.Windows.Forms.Padding(0);
|
||||
this.arLabel2.ProgressValue = 0F;
|
||||
this.arLabel2.ShadowColor = System.Drawing.Color.Black;
|
||||
this.arLabel2.Sign = "";
|
||||
this.arLabel2.SignAlign = System.Drawing.ContentAlignment.BottomRight;
|
||||
this.arLabel2.SignColor = System.Drawing.Color.Yellow;
|
||||
this.arLabel2.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
|
||||
this.arLabel2.Size = new System.Drawing.Size(165, 100);
|
||||
this.arLabel2.TabIndex = 2;
|
||||
this.arLabel2.Text = "Process List";
|
||||
this.arLabel2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
this.arLabel2.TextShadow = true;
|
||||
this.arLabel2.TextVisible = true;
|
||||
this.arLabel2.Click += new System.EventHandler(this.arLabel2_Click);
|
||||
//
|
||||
// label1
|
||||
//
|
||||
this.label1.Font = new System.Drawing.Font("맑은 고딕", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.label1.ForeColor = System.Drawing.Color.White;
|
||||
this.label1.Location = new System.Drawing.Point(9, 327);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(515, 23);
|
||||
this.label1.TabIndex = 3;
|
||||
this.label1.Text = "label1";
|
||||
//
|
||||
// label2
|
||||
//
|
||||
this.label2.Font = new System.Drawing.Font("맑은 고딕", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.label2.ForeColor = System.Drawing.Color.White;
|
||||
this.label2.Location = new System.Drawing.Point(9, 359);
|
||||
this.label2.Name = "label2";
|
||||
this.label2.Size = new System.Drawing.Size(515, 23);
|
||||
this.label2.TabIndex = 3;
|
||||
this.label2.Text = "label1";
|
||||
//
|
||||
// arLabel3
|
||||
//
|
||||
this.arLabel3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(72)))), ((int)(((byte)(72)))), ((int)(((byte)(72)))));
|
||||
this.arLabel3.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(18)))), ((int)(((byte)(18)))));
|
||||
this.arLabel3.BackgroundImagePadding = new System.Windows.Forms.Padding(0);
|
||||
this.arLabel3.BorderColor = System.Drawing.Color.LightSkyBlue;
|
||||
this.arLabel3.BorderColorOver = System.Drawing.Color.Red;
|
||||
this.arLabel3.BorderSize = new System.Windows.Forms.Padding(1);
|
||||
this.arLabel3.ColorTheme = arCtl.arLabel.eColorTheme.Custom;
|
||||
this.arLabel3.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.arLabel3.Font = new System.Drawing.Font("Consolas", 12F);
|
||||
this.arLabel3.ForeColor = System.Drawing.Color.White;
|
||||
this.arLabel3.GradientEnable = true;
|
||||
this.arLabel3.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical;
|
||||
this.arLabel3.GradientRepeatBG = true;
|
||||
this.arLabel3.isButton = true;
|
||||
this.arLabel3.Location = new System.Drawing.Point(9, 216);
|
||||
this.arLabel3.Margin = new System.Windows.Forms.Padding(5);
|
||||
this.arLabel3.MouseDownColor = System.Drawing.Color.Yellow;
|
||||
this.arLabel3.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
|
||||
this.arLabel3.msg = null;
|
||||
this.arLabel3.Name = "arLabel3";
|
||||
this.arLabel3.ProgressBorderColor = System.Drawing.Color.Black;
|
||||
this.arLabel3.ProgressColor1 = System.Drawing.Color.LightSkyBlue;
|
||||
this.arLabel3.ProgressColor2 = System.Drawing.Color.DeepSkyBlue;
|
||||
this.arLabel3.ProgressEnable = false;
|
||||
this.arLabel3.ProgressFont = new System.Drawing.Font("Consolas", 10F);
|
||||
this.arLabel3.ProgressForeColor = System.Drawing.Color.Black;
|
||||
this.arLabel3.ProgressMax = 100F;
|
||||
this.arLabel3.ProgressMin = 0F;
|
||||
this.arLabel3.ProgressPadding = new System.Windows.Forms.Padding(0);
|
||||
this.arLabel3.ProgressValue = 0F;
|
||||
this.arLabel3.ShadowColor = System.Drawing.Color.Black;
|
||||
this.arLabel3.Sign = "";
|
||||
this.arLabel3.SignAlign = System.Drawing.ContentAlignment.BottomRight;
|
||||
this.arLabel3.SignColor = System.Drawing.Color.Yellow;
|
||||
this.arLabel3.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
|
||||
this.arLabel3.Size = new System.Drawing.Size(165, 100);
|
||||
this.arLabel3.TabIndex = 4;
|
||||
this.arLabel3.Text = "Emulator";
|
||||
this.arLabel3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
this.arLabel3.TextShadow = true;
|
||||
this.arLabel3.TextVisible = true;
|
||||
this.arLabel3.Click += new System.EventHandler(this.arLabel3_Click);
|
||||
//
|
||||
// arLabel5
|
||||
//
|
||||
this.arLabel5.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(72)))), ((int)(((byte)(72)))), ((int)(((byte)(72)))));
|
||||
this.arLabel5.BackColor2 = System.Drawing.Color.Pink;
|
||||
this.arLabel5.BackgroundImagePadding = new System.Windows.Forms.Padding(0);
|
||||
this.arLabel5.BorderColor = System.Drawing.Color.LightSkyBlue;
|
||||
this.arLabel5.BorderColorOver = System.Drawing.Color.Red;
|
||||
this.arLabel5.BorderSize = new System.Windows.Forms.Padding(1);
|
||||
this.arLabel5.ColorTheme = arCtl.arLabel.eColorTheme.Custom;
|
||||
this.arLabel5.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.arLabel5.Font = new System.Drawing.Font("Consolas", 12F);
|
||||
this.arLabel5.ForeColor = System.Drawing.Color.White;
|
||||
this.arLabel5.GradientEnable = true;
|
||||
this.arLabel5.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical;
|
||||
this.arLabel5.GradientRepeatBG = true;
|
||||
this.arLabel5.isButton = true;
|
||||
this.arLabel5.Location = new System.Drawing.Point(178, 216);
|
||||
this.arLabel5.Margin = new System.Windows.Forms.Padding(5);
|
||||
this.arLabel5.MouseDownColor = System.Drawing.Color.Yellow;
|
||||
this.arLabel5.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
|
||||
this.arLabel5.msg = null;
|
||||
this.arLabel5.Name = "arLabel5";
|
||||
this.arLabel5.ProgressBorderColor = System.Drawing.Color.Black;
|
||||
this.arLabel5.ProgressColor1 = System.Drawing.Color.LightSkyBlue;
|
||||
this.arLabel5.ProgressColor2 = System.Drawing.Color.DeepSkyBlue;
|
||||
this.arLabel5.ProgressEnable = false;
|
||||
this.arLabel5.ProgressFont = new System.Drawing.Font("Consolas", 10F);
|
||||
this.arLabel5.ProgressForeColor = System.Drawing.Color.Black;
|
||||
this.arLabel5.ProgressMax = 100F;
|
||||
this.arLabel5.ProgressMin = 0F;
|
||||
this.arLabel5.ProgressPadding = new System.Windows.Forms.Padding(0);
|
||||
this.arLabel5.ProgressValue = 0F;
|
||||
this.arLabel5.ShadowColor = System.Drawing.Color.Black;
|
||||
this.arLabel5.Sign = "";
|
||||
this.arLabel5.SignAlign = System.Drawing.ContentAlignment.BottomRight;
|
||||
this.arLabel5.SignColor = System.Drawing.Color.Yellow;
|
||||
this.arLabel5.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
|
||||
this.arLabel5.Size = new System.Drawing.Size(165, 100);
|
||||
this.arLabel5.TabIndex = 5;
|
||||
this.arLabel5.Text = "패치파일 생성";
|
||||
this.arLabel5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
this.arLabel5.TextShadow = true;
|
||||
this.arLabel5.TextVisible = true;
|
||||
this.arLabel5.Click += new System.EventHandler(this.arLabel5_Click);
|
||||
//
|
||||
// arLabel7
|
||||
//
|
||||
this.arLabel7.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(72)))), ((int)(((byte)(72)))), ((int)(((byte)(72)))));
|
||||
this.arLabel7.BackColor2 = System.Drawing.Color.DarkBlue;
|
||||
this.arLabel7.BackgroundImagePadding = new System.Windows.Forms.Padding(0);
|
||||
this.arLabel7.BorderColor = System.Drawing.Color.LightSkyBlue;
|
||||
this.arLabel7.BorderColorOver = System.Drawing.Color.Red;
|
||||
this.arLabel7.BorderSize = new System.Windows.Forms.Padding(1);
|
||||
this.arLabel7.ColorTheme = arCtl.arLabel.eColorTheme.Custom;
|
||||
this.arLabel7.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.arLabel7.Font = new System.Drawing.Font("Consolas", 12F);
|
||||
this.arLabel7.ForeColor = System.Drawing.Color.White;
|
||||
this.arLabel7.GradientEnable = true;
|
||||
this.arLabel7.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical;
|
||||
this.arLabel7.GradientRepeatBG = true;
|
||||
this.arLabel7.isButton = true;
|
||||
this.arLabel7.Location = new System.Drawing.Point(347, 216);
|
||||
this.arLabel7.Margin = new System.Windows.Forms.Padding(5);
|
||||
this.arLabel7.MouseDownColor = System.Drawing.Color.Yellow;
|
||||
this.arLabel7.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
|
||||
this.arLabel7.msg = null;
|
||||
this.arLabel7.Name = "arLabel7";
|
||||
this.arLabel7.ProgressBorderColor = System.Drawing.Color.Black;
|
||||
this.arLabel7.ProgressColor1 = System.Drawing.Color.LightSkyBlue;
|
||||
this.arLabel7.ProgressColor2 = System.Drawing.Color.DeepSkyBlue;
|
||||
this.arLabel7.ProgressEnable = false;
|
||||
this.arLabel7.ProgressFont = new System.Drawing.Font("Consolas", 10F);
|
||||
this.arLabel7.ProgressForeColor = System.Drawing.Color.Black;
|
||||
this.arLabel7.ProgressMax = 100F;
|
||||
this.arLabel7.ProgressMin = 0F;
|
||||
this.arLabel7.ProgressPadding = new System.Windows.Forms.Padding(0);
|
||||
this.arLabel7.ProgressValue = 0F;
|
||||
this.arLabel7.ShadowColor = System.Drawing.Color.Black;
|
||||
this.arLabel7.Sign = "";
|
||||
this.arLabel7.SignAlign = System.Drawing.ContentAlignment.BottomRight;
|
||||
this.arLabel7.SignColor = System.Drawing.Color.Yellow;
|
||||
this.arLabel7.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
|
||||
this.arLabel7.Size = new System.Drawing.Size(165, 100);
|
||||
this.arLabel7.TabIndex = 6;
|
||||
this.arLabel7.Text = "자동 재시작";
|
||||
this.arLabel7.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
this.arLabel7.TextShadow = true;
|
||||
this.arLabel7.TextVisible = true;
|
||||
this.arLabel7.Click += new System.EventHandler(this.arLabel7_Click);
|
||||
//
|
||||
// fSystem
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(40)))), ((int)(((byte)(40)))));
|
||||
this.ClientSize = new System.Drawing.Size(519, 451);
|
||||
this.Controls.Add(this.arLabel7);
|
||||
this.Controls.Add(this.arLabel5);
|
||||
this.Controls.Add(this.arLabel3);
|
||||
this.Controls.Add(this.label2);
|
||||
this.Controls.Add(this.label1);
|
||||
this.Controls.Add(this.arLabel4);
|
||||
this.Controls.Add(this.lbMsg);
|
||||
this.Controls.Add(this.arLabel9);
|
||||
this.Controls.Add(this.arLabel10);
|
||||
this.Controls.Add(this.arLabel1);
|
||||
this.Controls.Add(this.arLabel2);
|
||||
this.Controls.Add(this.arLabel6);
|
||||
this.MaximizeBox = false;
|
||||
this.MinimizeBox = false;
|
||||
this.Name = "fSystem";
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||
this.Text = "fSystem";
|
||||
this.Load += new System.EventHandler(this.fSystem_Load);
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
private arCtl.arLabel lbMsg;
|
||||
private arCtl.arLabel arLabel4;
|
||||
private arCtl.arLabel arLabel6;
|
||||
private arCtl.arLabel arLabel9;
|
||||
private arCtl.arLabel arLabel10;
|
||||
private arCtl.arLabel arLabel1;
|
||||
private arCtl.arLabel arLabel2;
|
||||
private System.Windows.Forms.Label label1;
|
||||
private System.Windows.Forms.Label label2;
|
||||
private arCtl.arLabel arLabel3;
|
||||
private arCtl.arLabel arLabel5;
|
||||
private arCtl.arLabel arLabel7;
|
||||
}
|
||||
}
|
||||
144
Cs_HMI/Project/Dialog/fSystem.cs
Normal file
144
Cs_HMI/Project/Dialog/fSystem.cs
Normal file
@@ -0,0 +1,144 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace Project.Dialog
|
||||
{
|
||||
public partial class fSystem : Form
|
||||
{
|
||||
public bool shutdown = false;
|
||||
public fSystem()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
private void button1_Click(object sender, EventArgs e)
|
||||
{
|
||||
Util.RunProcess(@"c:\windows\system32\shutdown.exe", "-r -t 5");
|
||||
}
|
||||
|
||||
private void button2_Click(object sender, EventArgs e)
|
||||
{
|
||||
Util.RunProcess(@"c:\windows\system32\shutdown.exe", "-s -t 5");
|
||||
}
|
||||
|
||||
private void button3_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private void tableLayoutPanel1_Paint(object sender, PaintEventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private void lbMsg_Click(object sender, EventArgs e)
|
||||
{
|
||||
string path = AppDomain.CurrentDomain.BaseDirectory;
|
||||
System.Diagnostics.Process prc = new System.Diagnostics.Process();
|
||||
System.Diagnostics.ProcessStartInfo si = new System.Diagnostics.ProcessStartInfo("explorer")
|
||||
{
|
||||
Arguments = path
|
||||
};
|
||||
prc.StartInfo = si;
|
||||
prc.Start();
|
||||
}
|
||||
|
||||
private void arLabel1_Click(object sender, EventArgs e)
|
||||
{
|
||||
SendKeys.Send("^{ESC}");
|
||||
}
|
||||
|
||||
private void arLabel6_Click(object sender, EventArgs e)
|
||||
{
|
||||
SendKeys.Send("^+{ESC}");
|
||||
}
|
||||
|
||||
private void arLabel9_Click(object sender, EventArgs e)
|
||||
{
|
||||
shutdown = true;
|
||||
Util.SystemShutdown(10);
|
||||
this.Close();
|
||||
|
||||
}
|
||||
|
||||
private void arLabel10_Click(object sender, EventArgs e)
|
||||
{
|
||||
shutdown = true;
|
||||
Util.SystemReboot(10);
|
||||
this.Close();
|
||||
}
|
||||
|
||||
private void arLabel4_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.Close();
|
||||
}
|
||||
|
||||
private void arLabel2_Click(object sender, EventArgs e)
|
||||
{
|
||||
System.Text.StringBuilder sb = new StringBuilder();
|
||||
|
||||
sb.AppendLine("Current : " + System.Diagnostics.Process.GetCurrentProcess().ProcessName);
|
||||
|
||||
foreach (var prc in System.Diagnostics.Process.GetProcesses())
|
||||
{
|
||||
if (prc.ProcessName.StartsWith("svchost")) continue;
|
||||
sb.Append(" " + prc.ProcessName);
|
||||
}
|
||||
Util.MsgI(sb.ToString(),true);
|
||||
}
|
||||
|
||||
private void fSystem_Load(object sender, EventArgs e)
|
||||
{
|
||||
this.label1.Text = "Patch Version " + PUB.PatchVersion;
|
||||
this.label2.Text = "HMI Version " + Application.ProductVersion.ToString();
|
||||
}
|
||||
|
||||
private void arLabel3_Click(object sender, EventArgs e)
|
||||
{
|
||||
var file = System.IO.Path.Combine( Util.CurrentPath, "Emulator.exe");
|
||||
if(System.IO.File.Exists(file)==false)
|
||||
{
|
||||
Util.MsgE("에물레이터 실행 파일이 없습니다", true);
|
||||
return;
|
||||
}
|
||||
|
||||
Util.RunProcess(file);
|
||||
}
|
||||
|
||||
private void arLabel5_Click(object sender, EventArgs e)
|
||||
{
|
||||
//현재 폴더에서 dll 과, amkor.exe 파일을 압축한다
|
||||
var path = new System.IO.DirectoryInfo( AppDomain.CurrentDomain.BaseDirectory);
|
||||
var files_dll = path.GetFiles("*.dll");
|
||||
var file_exe = System.IO.Path.Combine(path.FullName, "amkor.exe");
|
||||
if(System.IO.File.Exists(file_exe)==false)
|
||||
{
|
||||
Util.MsgE("실행파일 amkor.exe 가 없습니다.");
|
||||
return;
|
||||
}
|
||||
var zipfile = new Ionic.Zip.ZipFile();
|
||||
zipfile.AddFile(file_exe,"/");
|
||||
foreach (var filedll in files_dll)
|
||||
zipfile.AddFile(filedll.FullName,"/");
|
||||
|
||||
var veri = Application.ProductVersion.Split('.');
|
||||
var newfilename = "Patch_AGV_" + veri[0] + veri[1]+ veri[2] + "_" +
|
||||
veri[3] + ".zip";
|
||||
zipfile.Save(newfilename);
|
||||
|
||||
Util.MsgI("다음 패치 파일이 생성됨\n" + newfilename);
|
||||
}
|
||||
|
||||
private void arLabel7_Click(object sender, EventArgs e)
|
||||
{
|
||||
Util.SystemReboot(5,true);
|
||||
}
|
||||
}
|
||||
}
|
||||
120
Cs_HMI/Project/Dialog/fSystem.resx
Normal file
120
Cs_HMI/Project/Dialog/fSystem.resx
Normal file
@@ -0,0 +1,120 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
</root>
|
||||
60
Cs_HMI/Project/Dialog/fTouchKey.Designer.cs
generated
Normal file
60
Cs_HMI/Project/Dialog/fTouchKey.Designer.cs
generated
Normal file
@@ -0,0 +1,60 @@
|
||||
namespace Project.Dialog
|
||||
{
|
||||
partial class fTouchKey
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (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()
|
||||
{
|
||||
this.touchKeyCalc1 = new arCtl.TouchKeyCalc();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// touchKeyCalc1
|
||||
//
|
||||
this.touchKeyCalc1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.touchKeyCalc1.Font = new System.Drawing.Font("Consolas", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.touchKeyCalc1.Location = new System.Drawing.Point(0, 0);
|
||||
this.touchKeyCalc1.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
|
||||
this.touchKeyCalc1.Name = "touchKeyCalc1";
|
||||
this.touchKeyCalc1.Size = new System.Drawing.Size(374, 330);
|
||||
this.touchKeyCalc1.TabIndex = 0;
|
||||
//
|
||||
// fTouchKey
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(374, 330);
|
||||
this.Controls.Add(this.touchKeyCalc1);
|
||||
this.Name = "fTouchKey";
|
||||
this.Text = "fTouchKey";
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private arCtl.TouchKeyCalc touchKeyCalc1;
|
||||
}
|
||||
}
|
||||
19
Cs_HMI/Project/Dialog/fTouchKey.cs
Normal file
19
Cs_HMI/Project/Dialog/fTouchKey.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace Project.Dialog
|
||||
{
|
||||
public partial class fTouchKey : Form
|
||||
{
|
||||
public fTouchKey()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
}
|
||||
}
|
||||
120
Cs_HMI/Project/Dialog/fTouchKey.resx
Normal file
120
Cs_HMI/Project/Dialog/fTouchKey.resx
Normal file
@@ -0,0 +1,120 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
</root>
|
||||
147
Cs_HMI/Project/Dialog/fTouchKeyFull.Designer.cs
generated
Normal file
147
Cs_HMI/Project/Dialog/fTouchKeyFull.Designer.cs
generated
Normal file
@@ -0,0 +1,147 @@
|
||||
namespace Project.Dialog
|
||||
{
|
||||
partial class fTouchKeyFull
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (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()
|
||||
{
|
||||
this.touchKeyFull1 = new arCtl.TouchKeyFull();
|
||||
this.tbInput = new System.Windows.Forms.TextBox();
|
||||
this.lbTitle = new arCtl.arLabel();
|
||||
this.button1 = new System.Windows.Forms.Button();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// touchKeyFull1
|
||||
//
|
||||
this.touchKeyFull1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.touchKeyFull1.Font = new System.Drawing.Font("Consolas", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.touchKeyFull1.Location = new System.Drawing.Point(6, 95);
|
||||
this.touchKeyFull1.Name = "touchKeyFull1";
|
||||
this.touchKeyFull1.Size = new System.Drawing.Size(788, 230);
|
||||
this.touchKeyFull1.TabIndex = 0;
|
||||
this.touchKeyFull1.keyClick += new arCtl.TouchKeyFull.KeyClickHandler(this.touchKeyFull1_keyClick);
|
||||
//
|
||||
// tbInput
|
||||
//
|
||||
this.tbInput.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
|
||||
this.tbInput.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.tbInput.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.tbInput.Font = new System.Drawing.Font("맑은 고딕", 21.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.tbInput.ForeColor = System.Drawing.Color.White;
|
||||
this.tbInput.Location = new System.Drawing.Point(6, 49);
|
||||
this.tbInput.Name = "tbInput";
|
||||
this.tbInput.Size = new System.Drawing.Size(788, 46);
|
||||
this.tbInput.TabIndex = 0;
|
||||
this.tbInput.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||
//
|
||||
// lbTitle
|
||||
//
|
||||
this.lbTitle.BackColor = System.Drawing.Color.Gray;
|
||||
this.lbTitle.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(100)))), ((int)(((byte)(100)))));
|
||||
this.lbTitle.BackgroundImagePadding = new System.Windows.Forms.Padding(0);
|
||||
this.lbTitle.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(90)))), ((int)(((byte)(90)))));
|
||||
this.lbTitle.BorderColorOver = System.Drawing.Color.DarkBlue;
|
||||
this.lbTitle.BorderSize = new System.Windows.Forms.Padding(1);
|
||||
this.lbTitle.ColorTheme = arCtl.arLabel.eColorTheme.Custom;
|
||||
this.lbTitle.Cursor = System.Windows.Forms.Cursors.Arrow;
|
||||
this.lbTitle.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.lbTitle.Enabled = false;
|
||||
this.lbTitle.Enabled = true;
|
||||
this.lbTitle.Font = new System.Drawing.Font("Consolas", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.lbTitle.ForeColor = System.Drawing.Color.White;
|
||||
this.lbTitle.GradientEnable = true;
|
||||
this.lbTitle.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.ForwardDiagonal;
|
||||
this.lbTitle.GradientRepeatBG = false;
|
||||
this.lbTitle.isButton = false;
|
||||
this.lbTitle.Location = new System.Drawing.Point(6, 5);
|
||||
this.lbTitle.MouseDownColor = System.Drawing.Color.Yellow;
|
||||
this.lbTitle.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
|
||||
this.lbTitle.msg = null;
|
||||
this.lbTitle.Name = "lbTitle";
|
||||
this.lbTitle.ProgressColor1 = System.Drawing.Color.LightSkyBlue;
|
||||
this.lbTitle.ProgressColor2 = System.Drawing.Color.DeepSkyBlue;
|
||||
this.lbTitle.ProgressEnable = false;
|
||||
this.lbTitle.ProgressFont = new System.Drawing.Font("Consolas", 10F);
|
||||
this.lbTitle.ProgressForeColor = System.Drawing.Color.Black;
|
||||
this.lbTitle.ProgressMax = 100F;
|
||||
this.lbTitle.ProgressMin = 0F;
|
||||
this.lbTitle.ProgressPadding = new System.Windows.Forms.Padding(0);
|
||||
this.lbTitle.ProgressValue = 0F;
|
||||
this.lbTitle.ShadowColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
|
||||
this.lbTitle.Sign = "";
|
||||
this.lbTitle.SignAlign = System.Drawing.ContentAlignment.BottomRight;
|
||||
this.lbTitle.SignColor = System.Drawing.Color.Yellow;
|
||||
this.lbTitle.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
|
||||
this.lbTitle.Size = new System.Drawing.Size(788, 44);
|
||||
this.lbTitle.TabIndex = 2;
|
||||
this.lbTitle.Text = "INPUT";
|
||||
this.lbTitle.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
this.lbTitle.TextShadow = true;
|
||||
this.lbTitle.TextVisible = true;
|
||||
//
|
||||
// button1
|
||||
//
|
||||
this.button1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.button1.Font = new System.Drawing.Font("Consolas", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.button1.Location = new System.Drawing.Point(728, 11);
|
||||
this.button1.Margin = new System.Windows.Forms.Padding(0);
|
||||
this.button1.Name = "button1";
|
||||
this.button1.Size = new System.Drawing.Size(60, 34);
|
||||
this.button1.TabIndex = 3;
|
||||
this.button1.Text = "CLOSE";
|
||||
this.button1.UseVisualStyleBackColor = true;
|
||||
this.button1.Click += new System.EventHandler(this.button1_Click);
|
||||
//
|
||||
// fTouchKeyFull
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(18)))), ((int)(((byte)(18)))));
|
||||
this.ClientSize = new System.Drawing.Size(800, 330);
|
||||
this.Controls.Add(this.button1);
|
||||
this.Controls.Add(this.touchKeyFull1);
|
||||
this.Controls.Add(this.tbInput);
|
||||
this.Controls.Add(this.lbTitle);
|
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
|
||||
this.KeyPreview = true;
|
||||
this.Name = "fTouchKeyFull";
|
||||
this.Padding = new System.Windows.Forms.Padding(6, 5, 6, 5);
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||
this.Text = "fTouchKeyFull";
|
||||
this.Load += new System.EventHandler(this.fTouchKeyFull_Load);
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private arCtl.TouchKeyFull touchKeyFull1;
|
||||
private arCtl.arLabel lbTitle;
|
||||
public System.Windows.Forms.TextBox tbInput;
|
||||
private System.Windows.Forms.Button button1;
|
||||
}
|
||||
}
|
||||
99
Cs_HMI/Project/Dialog/fTouchKeyFull.cs
Normal file
99
Cs_HMI/Project/Dialog/fTouchKeyFull.cs
Normal file
@@ -0,0 +1,99 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace Project.Dialog
|
||||
{
|
||||
public partial class fTouchKeyFull : Form
|
||||
{
|
||||
public fTouchKeyFull(string title,string value)
|
||||
{
|
||||
InitializeComponent();
|
||||
this.lbTitle.Text = title;
|
||||
this.tbInput.Text = value;
|
||||
this.KeyDown += (s1, e1) =>
|
||||
{
|
||||
if (e1.KeyCode == Keys.Escape)
|
||||
this.Close();
|
||||
};
|
||||
this.lbTitle.MouseMove += LbTitle_MouseMove;
|
||||
this.lbTitle.MouseUp += LbTitle_MouseUp;
|
||||
this.lbTitle.MouseDown += LbTitle_MouseDown;
|
||||
}
|
||||
|
||||
private void fTouchKeyFull_Load(object sender, EventArgs e)
|
||||
{
|
||||
this.Show();
|
||||
Application.DoEvents();
|
||||
this.tbInput.SelectAll();
|
||||
this.tbInput.Focus();
|
||||
}
|
||||
#region "Mouse Form Move"
|
||||
|
||||
private Boolean fMove = false;
|
||||
private Point MDownPos;
|
||||
private void LbTitle_MouseMove(object sender, MouseEventArgs e)
|
||||
{
|
||||
if (fMove)
|
||||
{
|
||||
Point offset = new Point(e.X - MDownPos.X, e.Y - MDownPos.Y);
|
||||
this.Left += offset.X;
|
||||
this.Top += offset.Y;
|
||||
offset = new Point(0, 0);
|
||||
}
|
||||
}
|
||||
private void LbTitle_MouseUp(object sender, MouseEventArgs e)
|
||||
{
|
||||
fMove = false;
|
||||
}
|
||||
private void LbTitle_MouseDown(object sender, MouseEventArgs e)
|
||||
{
|
||||
MDownPos = new Point(e.X, e.Y);
|
||||
fMove = true;
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private void touchKeyFull1_keyClick(string key)
|
||||
{
|
||||
var seltext = tbInput.SelectedText;
|
||||
switch(key)
|
||||
{
|
||||
|
||||
case "CLR":
|
||||
this.tbInput.Text = string.Empty;
|
||||
break;
|
||||
case "BACK":
|
||||
if (this.tbInput.TextLength < 2) this.tbInput.Text = string.Empty;
|
||||
else this.tbInput.Text = this.tbInput.Text.Substring(0,tbInput.TextLength-1);
|
||||
this.tbInput.SelectionStart = this.tbInput.TextLength;
|
||||
break;
|
||||
case "ENTER":
|
||||
this.DialogResult = DialogResult.OK;
|
||||
break;
|
||||
case "SPACE":
|
||||
if (seltext.Length == tbInput.TextLength) tbInput.Text = "";
|
||||
this.tbInput.Text += " ";
|
||||
this.tbInput.SelectionStart = this.tbInput.TextLength;
|
||||
break;
|
||||
default:
|
||||
|
||||
if (seltext.Length == tbInput.TextLength) tbInput.Text = "";
|
||||
this.tbInput.Text += key;
|
||||
this.tbInput.SelectionStart = this.tbInput.TextLength;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
private void button1_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.Close();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
120
Cs_HMI/Project/Dialog/fTouchKeyFull.resx
Normal file
120
Cs_HMI/Project/Dialog/fTouchKeyFull.resx
Normal file
@@ -0,0 +1,120 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
</root>
|
||||
835
Cs_HMI/Project/Dialog/fTouchNumDot.Designer.cs
generated
Normal file
835
Cs_HMI/Project/Dialog/fTouchNumDot.Designer.cs
generated
Normal file
@@ -0,0 +1,835 @@
|
||||
namespace Project.Dialog
|
||||
{
|
||||
partial class fTouchNumDot
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (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()
|
||||
{
|
||||
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
|
||||
this.arLabel1 = new arCtl.arLabel();
|
||||
this.arLabel2 = new arCtl.arLabel();
|
||||
this.arLabel3 = new arCtl.arLabel();
|
||||
this.arLabel4 = new arCtl.arLabel();
|
||||
this.arLabel5 = new arCtl.arLabel();
|
||||
this.arLabel6 = new arCtl.arLabel();
|
||||
this.arLabel7 = new arCtl.arLabel();
|
||||
this.arLabel8 = new arCtl.arLabel();
|
||||
this.arLabel9 = new arCtl.arLabel();
|
||||
this.arLabel11 = new arCtl.arLabel();
|
||||
this.arLabel12 = new arCtl.arLabel();
|
||||
this.arLabel13 = new arCtl.arLabel();
|
||||
this.arLabel14 = new arCtl.arLabel();
|
||||
this.arLabel15 = new arCtl.arLabel();
|
||||
this.arLabel10 = new arCtl.arLabel();
|
||||
this.tbInput = new System.Windows.Forms.TextBox();
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.tableLayoutPanel1.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// tableLayoutPanel1
|
||||
//
|
||||
this.tableLayoutPanel1.ColumnCount = 4;
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25F));
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25F));
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25F));
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25F));
|
||||
this.tableLayoutPanel1.Controls.Add(this.arLabel1, 0, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.arLabel2, 1, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.arLabel3, 2, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.arLabel4, 2, 1);
|
||||
this.tableLayoutPanel1.Controls.Add(this.arLabel5, 1, 1);
|
||||
this.tableLayoutPanel1.Controls.Add(this.arLabel6, 0, 1);
|
||||
this.tableLayoutPanel1.Controls.Add(this.arLabel7, 0, 2);
|
||||
this.tableLayoutPanel1.Controls.Add(this.arLabel8, 1, 2);
|
||||
this.tableLayoutPanel1.Controls.Add(this.arLabel9, 2, 2);
|
||||
this.tableLayoutPanel1.Controls.Add(this.arLabel11, 1, 3);
|
||||
this.tableLayoutPanel1.Controls.Add(this.arLabel12, 3, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.arLabel13, 2, 3);
|
||||
this.tableLayoutPanel1.Controls.Add(this.arLabel14, 0, 3);
|
||||
this.tableLayoutPanel1.Controls.Add(this.arLabel15, 3, 1);
|
||||
this.tableLayoutPanel1.Controls.Add(this.arLabel10, 3, 2);
|
||||
this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.tableLayoutPanel1.Location = new System.Drawing.Point(5, 50);
|
||||
this.tableLayoutPanel1.Name = "tableLayoutPanel1";
|
||||
this.tableLayoutPanel1.RowCount = 4;
|
||||
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 25F));
|
||||
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 25F));
|
||||
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 25F));
|
||||
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 25F));
|
||||
this.tableLayoutPanel1.Size = new System.Drawing.Size(324, 265);
|
||||
this.tableLayoutPanel1.TabIndex = 1;
|
||||
//
|
||||
// arLabel1
|
||||
//
|
||||
this.arLabel1.BackColor = System.Drawing.Color.SkyBlue;
|
||||
this.arLabel1.BackColor2 = System.Drawing.Color.DeepSkyBlue;
|
||||
this.arLabel1.BackgroundImagePadding = new System.Windows.Forms.Padding(0);
|
||||
this.arLabel1.BorderColor = System.Drawing.Color.SteelBlue;
|
||||
this.arLabel1.BorderColorOver = System.Drawing.Color.Red;
|
||||
this.arLabel1.BorderSize = new System.Windows.Forms.Padding(2);
|
||||
this.arLabel1.ColorTheme = arCtl.arLabel.eColorTheme.Custom;
|
||||
this.arLabel1.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.arLabel1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.arLabel1.Font = new System.Drawing.Font("Consolas", 21.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.arLabel1.ForeColor = System.Drawing.Color.White;
|
||||
this.arLabel1.GradientEnable = false;
|
||||
this.arLabel1.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical;
|
||||
this.arLabel1.GradientRepeatBG = false;
|
||||
this.arLabel1.isButton = true;
|
||||
this.arLabel1.Location = new System.Drawing.Point(0, 0);
|
||||
this.arLabel1.Margin = new System.Windows.Forms.Padding(0);
|
||||
this.arLabel1.MouseDownColor = System.Drawing.Color.Yellow;
|
||||
this.arLabel1.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
|
||||
this.arLabel1.msg = null;
|
||||
this.arLabel1.Name = "arLabel1";
|
||||
this.arLabel1.ProgressColor1 = System.Drawing.Color.LightSkyBlue;
|
||||
this.arLabel1.ProgressColor2 = System.Drawing.Color.DeepSkyBlue;
|
||||
this.arLabel1.ProgressEnable = false;
|
||||
this.arLabel1.ProgressFont = new System.Drawing.Font("Consolas", 10F);
|
||||
this.arLabel1.ProgressForeColor = System.Drawing.Color.Black;
|
||||
this.arLabel1.ProgressMax = 100F;
|
||||
this.arLabel1.ProgressMin = 0F;
|
||||
this.arLabel1.ProgressPadding = new System.Windows.Forms.Padding(0);
|
||||
this.arLabel1.ProgressValue = 0F;
|
||||
this.arLabel1.ShadowColor = System.Drawing.Color.WhiteSmoke;
|
||||
this.arLabel1.Sign = "";
|
||||
this.arLabel1.SignAlign = System.Drawing.ContentAlignment.BottomRight;
|
||||
this.arLabel1.SignColor = System.Drawing.Color.Yellow;
|
||||
this.arLabel1.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
|
||||
this.arLabel1.Size = new System.Drawing.Size(81, 66);
|
||||
this.arLabel1.TabIndex = 0;
|
||||
this.arLabel1.Tag = "1";
|
||||
this.arLabel1.Text = "1";
|
||||
this.arLabel1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
this.arLabel1.TextShadow = false;
|
||||
this.arLabel1.TextVisible = true;
|
||||
this.arLabel1.Click += new System.EventHandler(this.arLabel1_Click);
|
||||
//
|
||||
// arLabel2
|
||||
//
|
||||
this.arLabel2.BackColor = System.Drawing.Color.SkyBlue;
|
||||
this.arLabel2.BackColor2 = System.Drawing.Color.DeepSkyBlue;
|
||||
this.arLabel2.BackgroundImagePadding = new System.Windows.Forms.Padding(0);
|
||||
this.arLabel2.BorderColor = System.Drawing.Color.SteelBlue;
|
||||
this.arLabel2.BorderColorOver = System.Drawing.Color.Red;
|
||||
this.arLabel2.BorderSize = new System.Windows.Forms.Padding(2);
|
||||
this.arLabel2.ColorTheme = arCtl.arLabel.eColorTheme.Custom;
|
||||
this.arLabel2.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.arLabel2.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.arLabel2.Font = new System.Drawing.Font("Consolas", 21.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.arLabel2.ForeColor = System.Drawing.Color.White;
|
||||
this.arLabel2.GradientEnable = false;
|
||||
this.arLabel2.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical;
|
||||
this.arLabel2.GradientRepeatBG = false;
|
||||
this.arLabel2.isButton = true;
|
||||
this.arLabel2.Location = new System.Drawing.Point(81, 0);
|
||||
this.arLabel2.Margin = new System.Windows.Forms.Padding(0);
|
||||
this.arLabel2.MouseDownColor = System.Drawing.Color.Yellow;
|
||||
this.arLabel2.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
|
||||
this.arLabel2.msg = null;
|
||||
this.arLabel2.Name = "arLabel2";
|
||||
this.arLabel2.ProgressColor1 = System.Drawing.Color.LightSkyBlue;
|
||||
this.arLabel2.ProgressColor2 = System.Drawing.Color.DeepSkyBlue;
|
||||
this.arLabel2.ProgressEnable = false;
|
||||
this.arLabel2.ProgressFont = new System.Drawing.Font("Consolas", 10F);
|
||||
this.arLabel2.ProgressForeColor = System.Drawing.Color.Black;
|
||||
this.arLabel2.ProgressMax = 100F;
|
||||
this.arLabel2.ProgressMin = 0F;
|
||||
this.arLabel2.ProgressPadding = new System.Windows.Forms.Padding(0);
|
||||
this.arLabel2.ProgressValue = 0F;
|
||||
this.arLabel2.ShadowColor = System.Drawing.Color.WhiteSmoke;
|
||||
this.arLabel2.Sign = "";
|
||||
this.arLabel2.SignAlign = System.Drawing.ContentAlignment.BottomRight;
|
||||
this.arLabel2.SignColor = System.Drawing.Color.Yellow;
|
||||
this.arLabel2.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
|
||||
this.arLabel2.Size = new System.Drawing.Size(81, 66);
|
||||
this.arLabel2.TabIndex = 0;
|
||||
this.arLabel2.Tag = "2";
|
||||
this.arLabel2.Text = "2";
|
||||
this.arLabel2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
this.arLabel2.TextShadow = false;
|
||||
this.arLabel2.TextVisible = true;
|
||||
this.arLabel2.Click += new System.EventHandler(this.arLabel1_Click);
|
||||
//
|
||||
// arLabel3
|
||||
//
|
||||
this.arLabel3.BackColor = System.Drawing.Color.SkyBlue;
|
||||
this.arLabel3.BackColor2 = System.Drawing.Color.DeepSkyBlue;
|
||||
this.arLabel3.BackgroundImagePadding = new System.Windows.Forms.Padding(0);
|
||||
this.arLabel3.BorderColor = System.Drawing.Color.SteelBlue;
|
||||
this.arLabel3.BorderColorOver = System.Drawing.Color.Red;
|
||||
this.arLabel3.BorderSize = new System.Windows.Forms.Padding(2);
|
||||
this.arLabel3.ColorTheme = arCtl.arLabel.eColorTheme.Custom;
|
||||
this.arLabel3.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.arLabel3.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.arLabel3.Font = new System.Drawing.Font("Consolas", 21.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.arLabel3.ForeColor = System.Drawing.Color.White;
|
||||
this.arLabel3.GradientEnable = false;
|
||||
this.arLabel3.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical;
|
||||
this.arLabel3.GradientRepeatBG = false;
|
||||
this.arLabel3.isButton = true;
|
||||
this.arLabel3.Location = new System.Drawing.Point(162, 0);
|
||||
this.arLabel3.Margin = new System.Windows.Forms.Padding(0);
|
||||
this.arLabel3.MouseDownColor = System.Drawing.Color.Yellow;
|
||||
this.arLabel3.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
|
||||
this.arLabel3.msg = null;
|
||||
this.arLabel3.Name = "arLabel3";
|
||||
this.arLabel3.ProgressColor1 = System.Drawing.Color.LightSkyBlue;
|
||||
this.arLabel3.ProgressColor2 = System.Drawing.Color.DeepSkyBlue;
|
||||
this.arLabel3.ProgressEnable = false;
|
||||
this.arLabel3.ProgressFont = new System.Drawing.Font("Consolas", 10F);
|
||||
this.arLabel3.ProgressForeColor = System.Drawing.Color.Black;
|
||||
this.arLabel3.ProgressMax = 100F;
|
||||
this.arLabel3.ProgressMin = 0F;
|
||||
this.arLabel3.ProgressPadding = new System.Windows.Forms.Padding(0);
|
||||
this.arLabel3.ProgressValue = 0F;
|
||||
this.arLabel3.ShadowColor = System.Drawing.Color.WhiteSmoke;
|
||||
this.arLabel3.Sign = "";
|
||||
this.arLabel3.SignAlign = System.Drawing.ContentAlignment.BottomRight;
|
||||
this.arLabel3.SignColor = System.Drawing.Color.Yellow;
|
||||
this.arLabel3.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
|
||||
this.arLabel3.Size = new System.Drawing.Size(81, 66);
|
||||
this.arLabel3.TabIndex = 0;
|
||||
this.arLabel3.Tag = "3";
|
||||
this.arLabel3.Text = "3";
|
||||
this.arLabel3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
this.arLabel3.TextShadow = false;
|
||||
this.arLabel3.TextVisible = true;
|
||||
this.arLabel3.Click += new System.EventHandler(this.arLabel1_Click);
|
||||
//
|
||||
// arLabel4
|
||||
//
|
||||
this.arLabel4.BackColor = System.Drawing.Color.SkyBlue;
|
||||
this.arLabel4.BackColor2 = System.Drawing.Color.DeepSkyBlue;
|
||||
this.arLabel4.BackgroundImagePadding = new System.Windows.Forms.Padding(0);
|
||||
this.arLabel4.BorderColor = System.Drawing.Color.SteelBlue;
|
||||
this.arLabel4.BorderColorOver = System.Drawing.Color.Red;
|
||||
this.arLabel4.BorderSize = new System.Windows.Forms.Padding(2);
|
||||
this.arLabel4.ColorTheme = arCtl.arLabel.eColorTheme.Custom;
|
||||
this.arLabel4.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.arLabel4.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.arLabel4.Font = new System.Drawing.Font("Consolas", 21.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.arLabel4.ForeColor = System.Drawing.Color.White;
|
||||
this.arLabel4.GradientEnable = false;
|
||||
this.arLabel4.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical;
|
||||
this.arLabel4.GradientRepeatBG = false;
|
||||
this.arLabel4.isButton = true;
|
||||
this.arLabel4.Location = new System.Drawing.Point(162, 66);
|
||||
this.arLabel4.Margin = new System.Windows.Forms.Padding(0);
|
||||
this.arLabel4.MouseDownColor = System.Drawing.Color.Yellow;
|
||||
this.arLabel4.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
|
||||
this.arLabel4.msg = null;
|
||||
this.arLabel4.Name = "arLabel4";
|
||||
this.arLabel4.ProgressColor1 = System.Drawing.Color.LightSkyBlue;
|
||||
this.arLabel4.ProgressColor2 = System.Drawing.Color.DeepSkyBlue;
|
||||
this.arLabel4.ProgressEnable = false;
|
||||
this.arLabel4.ProgressFont = new System.Drawing.Font("Consolas", 10F);
|
||||
this.arLabel4.ProgressForeColor = System.Drawing.Color.Black;
|
||||
this.arLabel4.ProgressMax = 100F;
|
||||
this.arLabel4.ProgressMin = 0F;
|
||||
this.arLabel4.ProgressPadding = new System.Windows.Forms.Padding(0);
|
||||
this.arLabel4.ProgressValue = 0F;
|
||||
this.arLabel4.ShadowColor = System.Drawing.Color.WhiteSmoke;
|
||||
this.arLabel4.Sign = "";
|
||||
this.arLabel4.SignAlign = System.Drawing.ContentAlignment.BottomRight;
|
||||
this.arLabel4.SignColor = System.Drawing.Color.Yellow;
|
||||
this.arLabel4.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
|
||||
this.arLabel4.Size = new System.Drawing.Size(81, 66);
|
||||
this.arLabel4.TabIndex = 0;
|
||||
this.arLabel4.Tag = "6";
|
||||
this.arLabel4.Text = "6";
|
||||
this.arLabel4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
this.arLabel4.TextShadow = false;
|
||||
this.arLabel4.TextVisible = true;
|
||||
this.arLabel4.Click += new System.EventHandler(this.arLabel1_Click);
|
||||
//
|
||||
// arLabel5
|
||||
//
|
||||
this.arLabel5.BackColor = System.Drawing.Color.SkyBlue;
|
||||
this.arLabel5.BackColor2 = System.Drawing.Color.DeepSkyBlue;
|
||||
this.arLabel5.BackgroundImagePadding = new System.Windows.Forms.Padding(0);
|
||||
this.arLabel5.BorderColor = System.Drawing.Color.SteelBlue;
|
||||
this.arLabel5.BorderColorOver = System.Drawing.Color.Red;
|
||||
this.arLabel5.BorderSize = new System.Windows.Forms.Padding(2);
|
||||
this.arLabel5.ColorTheme = arCtl.arLabel.eColorTheme.Custom;
|
||||
this.arLabel5.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.arLabel5.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.arLabel5.Font = new System.Drawing.Font("Consolas", 21.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.arLabel5.ForeColor = System.Drawing.Color.White;
|
||||
this.arLabel5.GradientEnable = false;
|
||||
this.arLabel5.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical;
|
||||
this.arLabel5.GradientRepeatBG = false;
|
||||
this.arLabel5.isButton = true;
|
||||
this.arLabel5.Location = new System.Drawing.Point(81, 66);
|
||||
this.arLabel5.Margin = new System.Windows.Forms.Padding(0);
|
||||
this.arLabel5.MouseDownColor = System.Drawing.Color.Yellow;
|
||||
this.arLabel5.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
|
||||
this.arLabel5.msg = null;
|
||||
this.arLabel5.Name = "arLabel5";
|
||||
this.arLabel5.ProgressColor1 = System.Drawing.Color.LightSkyBlue;
|
||||
this.arLabel5.ProgressColor2 = System.Drawing.Color.DeepSkyBlue;
|
||||
this.arLabel5.ProgressEnable = false;
|
||||
this.arLabel5.ProgressFont = new System.Drawing.Font("Consolas", 10F);
|
||||
this.arLabel5.ProgressForeColor = System.Drawing.Color.Black;
|
||||
this.arLabel5.ProgressMax = 100F;
|
||||
this.arLabel5.ProgressMin = 0F;
|
||||
this.arLabel5.ProgressPadding = new System.Windows.Forms.Padding(0);
|
||||
this.arLabel5.ProgressValue = 0F;
|
||||
this.arLabel5.ShadowColor = System.Drawing.Color.WhiteSmoke;
|
||||
this.arLabel5.Sign = "";
|
||||
this.arLabel5.SignAlign = System.Drawing.ContentAlignment.BottomRight;
|
||||
this.arLabel5.SignColor = System.Drawing.Color.Yellow;
|
||||
this.arLabel5.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
|
||||
this.arLabel5.Size = new System.Drawing.Size(81, 66);
|
||||
this.arLabel5.TabIndex = 0;
|
||||
this.arLabel5.Tag = "5";
|
||||
this.arLabel5.Text = "5";
|
||||
this.arLabel5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
this.arLabel5.TextShadow = false;
|
||||
this.arLabel5.TextVisible = true;
|
||||
this.arLabel5.Click += new System.EventHandler(this.arLabel1_Click);
|
||||
//
|
||||
// arLabel6
|
||||
//
|
||||
this.arLabel6.BackColor = System.Drawing.Color.SkyBlue;
|
||||
this.arLabel6.BackColor2 = System.Drawing.Color.DeepSkyBlue;
|
||||
this.arLabel6.BackgroundImagePadding = new System.Windows.Forms.Padding(0);
|
||||
this.arLabel6.BorderColor = System.Drawing.Color.SteelBlue;
|
||||
this.arLabel6.BorderColorOver = System.Drawing.Color.Red;
|
||||
this.arLabel6.BorderSize = new System.Windows.Forms.Padding(2);
|
||||
this.arLabel6.ColorTheme = arCtl.arLabel.eColorTheme.Custom;
|
||||
this.arLabel6.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.arLabel6.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.arLabel6.Font = new System.Drawing.Font("Consolas", 21.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.arLabel6.ForeColor = System.Drawing.Color.White;
|
||||
this.arLabel6.GradientEnable = false;
|
||||
this.arLabel6.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical;
|
||||
this.arLabel6.GradientRepeatBG = false;
|
||||
this.arLabel6.isButton = true;
|
||||
this.arLabel6.Location = new System.Drawing.Point(0, 66);
|
||||
this.arLabel6.Margin = new System.Windows.Forms.Padding(0);
|
||||
this.arLabel6.MouseDownColor = System.Drawing.Color.Yellow;
|
||||
this.arLabel6.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
|
||||
this.arLabel6.msg = null;
|
||||
this.arLabel6.Name = "arLabel6";
|
||||
this.arLabel6.ProgressColor1 = System.Drawing.Color.LightSkyBlue;
|
||||
this.arLabel6.ProgressColor2 = System.Drawing.Color.DeepSkyBlue;
|
||||
this.arLabel6.ProgressEnable = false;
|
||||
this.arLabel6.ProgressFont = new System.Drawing.Font("Consolas", 10F);
|
||||
this.arLabel6.ProgressForeColor = System.Drawing.Color.Black;
|
||||
this.arLabel6.ProgressMax = 100F;
|
||||
this.arLabel6.ProgressMin = 0F;
|
||||
this.arLabel6.ProgressPadding = new System.Windows.Forms.Padding(0);
|
||||
this.arLabel6.ProgressValue = 0F;
|
||||
this.arLabel6.ShadowColor = System.Drawing.Color.WhiteSmoke;
|
||||
this.arLabel6.Sign = "";
|
||||
this.arLabel6.SignAlign = System.Drawing.ContentAlignment.BottomRight;
|
||||
this.arLabel6.SignColor = System.Drawing.Color.Yellow;
|
||||
this.arLabel6.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
|
||||
this.arLabel6.Size = new System.Drawing.Size(81, 66);
|
||||
this.arLabel6.TabIndex = 0;
|
||||
this.arLabel6.Tag = "4";
|
||||
this.arLabel6.Text = "4";
|
||||
this.arLabel6.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
this.arLabel6.TextShadow = false;
|
||||
this.arLabel6.TextVisible = true;
|
||||
this.arLabel6.Click += new System.EventHandler(this.arLabel1_Click);
|
||||
//
|
||||
// arLabel7
|
||||
//
|
||||
this.arLabel7.BackColor = System.Drawing.Color.SkyBlue;
|
||||
this.arLabel7.BackColor2 = System.Drawing.Color.DeepSkyBlue;
|
||||
this.arLabel7.BackgroundImagePadding = new System.Windows.Forms.Padding(0);
|
||||
this.arLabel7.BorderColor = System.Drawing.Color.SteelBlue;
|
||||
this.arLabel7.BorderColorOver = System.Drawing.Color.Red;
|
||||
this.arLabel7.BorderSize = new System.Windows.Forms.Padding(2);
|
||||
this.arLabel7.ColorTheme = arCtl.arLabel.eColorTheme.Custom;
|
||||
this.arLabel7.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.arLabel7.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.arLabel7.Font = new System.Drawing.Font("Consolas", 21.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.arLabel7.ForeColor = System.Drawing.Color.White;
|
||||
this.arLabel7.GradientEnable = false;
|
||||
this.arLabel7.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical;
|
||||
this.arLabel7.GradientRepeatBG = false;
|
||||
this.arLabel7.isButton = true;
|
||||
this.arLabel7.Location = new System.Drawing.Point(0, 132);
|
||||
this.arLabel7.Margin = new System.Windows.Forms.Padding(0);
|
||||
this.arLabel7.MouseDownColor = System.Drawing.Color.Yellow;
|
||||
this.arLabel7.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
|
||||
this.arLabel7.msg = null;
|
||||
this.arLabel7.Name = "arLabel7";
|
||||
this.arLabel7.ProgressColor1 = System.Drawing.Color.LightSkyBlue;
|
||||
this.arLabel7.ProgressColor2 = System.Drawing.Color.DeepSkyBlue;
|
||||
this.arLabel7.ProgressEnable = false;
|
||||
this.arLabel7.ProgressFont = new System.Drawing.Font("Consolas", 10F);
|
||||
this.arLabel7.ProgressForeColor = System.Drawing.Color.Black;
|
||||
this.arLabel7.ProgressMax = 100F;
|
||||
this.arLabel7.ProgressMin = 0F;
|
||||
this.arLabel7.ProgressPadding = new System.Windows.Forms.Padding(0);
|
||||
this.arLabel7.ProgressValue = 0F;
|
||||
this.arLabel7.ShadowColor = System.Drawing.Color.WhiteSmoke;
|
||||
this.arLabel7.Sign = "";
|
||||
this.arLabel7.SignAlign = System.Drawing.ContentAlignment.BottomRight;
|
||||
this.arLabel7.SignColor = System.Drawing.Color.Yellow;
|
||||
this.arLabel7.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
|
||||
this.arLabel7.Size = new System.Drawing.Size(81, 66);
|
||||
this.arLabel7.TabIndex = 0;
|
||||
this.arLabel7.Tag = "7";
|
||||
this.arLabel7.Text = "7";
|
||||
this.arLabel7.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
this.arLabel7.TextShadow = false;
|
||||
this.arLabel7.TextVisible = true;
|
||||
this.arLabel7.Click += new System.EventHandler(this.arLabel1_Click);
|
||||
//
|
||||
// arLabel8
|
||||
//
|
||||
this.arLabel8.BackColor = System.Drawing.Color.SkyBlue;
|
||||
this.arLabel8.BackColor2 = System.Drawing.Color.DeepSkyBlue;
|
||||
this.arLabel8.BackgroundImagePadding = new System.Windows.Forms.Padding(0);
|
||||
this.arLabel8.BorderColor = System.Drawing.Color.SteelBlue;
|
||||
this.arLabel8.BorderColorOver = System.Drawing.Color.Red;
|
||||
this.arLabel8.BorderSize = new System.Windows.Forms.Padding(2);
|
||||
this.arLabel8.ColorTheme = arCtl.arLabel.eColorTheme.Custom;
|
||||
this.arLabel8.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.arLabel8.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.arLabel8.Font = new System.Drawing.Font("Consolas", 21.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.arLabel8.ForeColor = System.Drawing.Color.White;
|
||||
this.arLabel8.GradientEnable = false;
|
||||
this.arLabel8.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical;
|
||||
this.arLabel8.GradientRepeatBG = false;
|
||||
this.arLabel8.isButton = true;
|
||||
this.arLabel8.Location = new System.Drawing.Point(81, 132);
|
||||
this.arLabel8.Margin = new System.Windows.Forms.Padding(0);
|
||||
this.arLabel8.MouseDownColor = System.Drawing.Color.Yellow;
|
||||
this.arLabel8.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
|
||||
this.arLabel8.msg = null;
|
||||
this.arLabel8.Name = "arLabel8";
|
||||
this.arLabel8.ProgressColor1 = System.Drawing.Color.LightSkyBlue;
|
||||
this.arLabel8.ProgressColor2 = System.Drawing.Color.DeepSkyBlue;
|
||||
this.arLabel8.ProgressEnable = false;
|
||||
this.arLabel8.ProgressFont = new System.Drawing.Font("Consolas", 10F);
|
||||
this.arLabel8.ProgressForeColor = System.Drawing.Color.Black;
|
||||
this.arLabel8.ProgressMax = 100F;
|
||||
this.arLabel8.ProgressMin = 0F;
|
||||
this.arLabel8.ProgressPadding = new System.Windows.Forms.Padding(0);
|
||||
this.arLabel8.ProgressValue = 0F;
|
||||
this.arLabel8.ShadowColor = System.Drawing.Color.WhiteSmoke;
|
||||
this.arLabel8.Sign = "";
|
||||
this.arLabel8.SignAlign = System.Drawing.ContentAlignment.BottomRight;
|
||||
this.arLabel8.SignColor = System.Drawing.Color.Yellow;
|
||||
this.arLabel8.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
|
||||
this.arLabel8.Size = new System.Drawing.Size(81, 66);
|
||||
this.arLabel8.TabIndex = 0;
|
||||
this.arLabel8.Tag = "8";
|
||||
this.arLabel8.Text = "8";
|
||||
this.arLabel8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
this.arLabel8.TextShadow = false;
|
||||
this.arLabel8.TextVisible = true;
|
||||
this.arLabel8.Click += new System.EventHandler(this.arLabel1_Click);
|
||||
//
|
||||
// arLabel9
|
||||
//
|
||||
this.arLabel9.BackColor = System.Drawing.Color.SkyBlue;
|
||||
this.arLabel9.BackColor2 = System.Drawing.Color.DeepSkyBlue;
|
||||
this.arLabel9.BackgroundImagePadding = new System.Windows.Forms.Padding(0);
|
||||
this.arLabel9.BorderColor = System.Drawing.Color.SteelBlue;
|
||||
this.arLabel9.BorderColorOver = System.Drawing.Color.Red;
|
||||
this.arLabel9.BorderSize = new System.Windows.Forms.Padding(2);
|
||||
this.arLabel9.ColorTheme = arCtl.arLabel.eColorTheme.Custom;
|
||||
this.arLabel9.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.arLabel9.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.arLabel9.Font = new System.Drawing.Font("Consolas", 21.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.arLabel9.ForeColor = System.Drawing.Color.White;
|
||||
this.arLabel9.GradientEnable = false;
|
||||
this.arLabel9.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical;
|
||||
this.arLabel9.GradientRepeatBG = false;
|
||||
this.arLabel9.isButton = true;
|
||||
this.arLabel9.Location = new System.Drawing.Point(162, 132);
|
||||
this.arLabel9.Margin = new System.Windows.Forms.Padding(0);
|
||||
this.arLabel9.MouseDownColor = System.Drawing.Color.Yellow;
|
||||
this.arLabel9.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
|
||||
this.arLabel9.msg = null;
|
||||
this.arLabel9.Name = "arLabel9";
|
||||
this.arLabel9.ProgressColor1 = System.Drawing.Color.LightSkyBlue;
|
||||
this.arLabel9.ProgressColor2 = System.Drawing.Color.DeepSkyBlue;
|
||||
this.arLabel9.ProgressEnable = false;
|
||||
this.arLabel9.ProgressFont = new System.Drawing.Font("Consolas", 10F);
|
||||
this.arLabel9.ProgressForeColor = System.Drawing.Color.Black;
|
||||
this.arLabel9.ProgressMax = 100F;
|
||||
this.arLabel9.ProgressMin = 0F;
|
||||
this.arLabel9.ProgressPadding = new System.Windows.Forms.Padding(0);
|
||||
this.arLabel9.ProgressValue = 0F;
|
||||
this.arLabel9.ShadowColor = System.Drawing.Color.WhiteSmoke;
|
||||
this.arLabel9.Sign = "";
|
||||
this.arLabel9.SignAlign = System.Drawing.ContentAlignment.BottomRight;
|
||||
this.arLabel9.SignColor = System.Drawing.Color.Yellow;
|
||||
this.arLabel9.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
|
||||
this.arLabel9.Size = new System.Drawing.Size(81, 66);
|
||||
this.arLabel9.TabIndex = 0;
|
||||
this.arLabel9.Tag = "9";
|
||||
this.arLabel9.Text = "9";
|
||||
this.arLabel9.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
this.arLabel9.TextShadow = false;
|
||||
this.arLabel9.TextVisible = true;
|
||||
this.arLabel9.Click += new System.EventHandler(this.arLabel1_Click);
|
||||
//
|
||||
// arLabel11
|
||||
//
|
||||
this.arLabel11.BackColor = System.Drawing.Color.SkyBlue;
|
||||
this.arLabel11.BackColor2 = System.Drawing.Color.DeepSkyBlue;
|
||||
this.arLabel11.BackgroundImagePadding = new System.Windows.Forms.Padding(0);
|
||||
this.arLabel11.BorderColor = System.Drawing.Color.SteelBlue;
|
||||
this.arLabel11.BorderColorOver = System.Drawing.Color.Red;
|
||||
this.arLabel11.BorderSize = new System.Windows.Forms.Padding(2);
|
||||
this.arLabel11.ColorTheme = arCtl.arLabel.eColorTheme.Custom;
|
||||
this.arLabel11.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.arLabel11.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.arLabel11.Font = new System.Drawing.Font("Consolas", 21.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.arLabel11.ForeColor = System.Drawing.Color.White;
|
||||
this.arLabel11.GradientEnable = false;
|
||||
this.arLabel11.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical;
|
||||
this.arLabel11.GradientRepeatBG = false;
|
||||
this.arLabel11.isButton = true;
|
||||
this.arLabel11.Location = new System.Drawing.Point(81, 198);
|
||||
this.arLabel11.Margin = new System.Windows.Forms.Padding(0);
|
||||
this.arLabel11.MouseDownColor = System.Drawing.Color.Yellow;
|
||||
this.arLabel11.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
|
||||
this.arLabel11.msg = null;
|
||||
this.arLabel11.Name = "arLabel11";
|
||||
this.arLabel11.ProgressColor1 = System.Drawing.Color.LightSkyBlue;
|
||||
this.arLabel11.ProgressColor2 = System.Drawing.Color.DeepSkyBlue;
|
||||
this.arLabel11.ProgressEnable = false;
|
||||
this.arLabel11.ProgressFont = new System.Drawing.Font("Consolas", 10F);
|
||||
this.arLabel11.ProgressForeColor = System.Drawing.Color.Black;
|
||||
this.arLabel11.ProgressMax = 100F;
|
||||
this.arLabel11.ProgressMin = 0F;
|
||||
this.arLabel11.ProgressPadding = new System.Windows.Forms.Padding(0);
|
||||
this.arLabel11.ProgressValue = 0F;
|
||||
this.arLabel11.ShadowColor = System.Drawing.Color.WhiteSmoke;
|
||||
this.arLabel11.Sign = "";
|
||||
this.arLabel11.SignAlign = System.Drawing.ContentAlignment.BottomRight;
|
||||
this.arLabel11.SignColor = System.Drawing.Color.Yellow;
|
||||
this.arLabel11.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
|
||||
this.arLabel11.Size = new System.Drawing.Size(81, 67);
|
||||
this.arLabel11.TabIndex = 0;
|
||||
this.arLabel11.Tag = "0";
|
||||
this.arLabel11.Text = "0";
|
||||
this.arLabel11.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
this.arLabel11.TextShadow = false;
|
||||
this.arLabel11.TextVisible = true;
|
||||
this.arLabel11.Click += new System.EventHandler(this.arLabel1_Click);
|
||||
//
|
||||
// arLabel12
|
||||
//
|
||||
this.arLabel12.BackColor = System.Drawing.Color.Gray;
|
||||
this.arLabel12.BackColor2 = System.Drawing.Color.Gold;
|
||||
this.arLabel12.BackgroundImagePadding = new System.Windows.Forms.Padding(0);
|
||||
this.arLabel12.BorderColor = System.Drawing.Color.SteelBlue;
|
||||
this.arLabel12.BorderColorOver = System.Drawing.Color.Red;
|
||||
this.arLabel12.BorderSize = new System.Windows.Forms.Padding(2);
|
||||
this.arLabel12.ColorTheme = arCtl.arLabel.eColorTheme.Custom;
|
||||
this.arLabel12.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.arLabel12.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.arLabel12.Font = new System.Drawing.Font("Consolas", 12F);
|
||||
this.arLabel12.ForeColor = System.Drawing.Color.White;
|
||||
this.arLabel12.GradientEnable = true;
|
||||
this.arLabel12.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical;
|
||||
this.arLabel12.GradientRepeatBG = false;
|
||||
this.arLabel12.isButton = true;
|
||||
this.arLabel12.Location = new System.Drawing.Point(243, 0);
|
||||
this.arLabel12.Margin = new System.Windows.Forms.Padding(0);
|
||||
this.arLabel12.MouseDownColor = System.Drawing.Color.Yellow;
|
||||
this.arLabel12.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
|
||||
this.arLabel12.msg = null;
|
||||
this.arLabel12.Name = "arLabel12";
|
||||
this.arLabel12.ProgressColor1 = System.Drawing.Color.LightSkyBlue;
|
||||
this.arLabel12.ProgressColor2 = System.Drawing.Color.DeepSkyBlue;
|
||||
this.arLabel12.ProgressEnable = false;
|
||||
this.arLabel12.ProgressFont = new System.Drawing.Font("Consolas", 10F);
|
||||
this.arLabel12.ProgressForeColor = System.Drawing.Color.Black;
|
||||
this.arLabel12.ProgressMax = 100F;
|
||||
this.arLabel12.ProgressMin = 0F;
|
||||
this.arLabel12.ProgressPadding = new System.Windows.Forms.Padding(0);
|
||||
this.arLabel12.ProgressValue = 0F;
|
||||
this.arLabel12.ShadowColor = System.Drawing.Color.WhiteSmoke;
|
||||
this.arLabel12.Sign = "";
|
||||
this.arLabel12.SignAlign = System.Drawing.ContentAlignment.BottomRight;
|
||||
this.arLabel12.SignColor = System.Drawing.Color.Yellow;
|
||||
this.arLabel12.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
|
||||
this.arLabel12.Size = new System.Drawing.Size(81, 66);
|
||||
this.arLabel12.TabIndex = 0;
|
||||
this.arLabel12.Tag = "B";
|
||||
this.arLabel12.Text = "BACK";
|
||||
this.arLabel12.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
this.arLabel12.TextShadow = false;
|
||||
this.arLabel12.TextVisible = true;
|
||||
this.arLabel12.Click += new System.EventHandler(this.arLabel1_Click);
|
||||
//
|
||||
// arLabel13
|
||||
//
|
||||
this.arLabel13.BackColor = System.Drawing.Color.SkyBlue;
|
||||
this.arLabel13.BackColor2 = System.Drawing.Color.DeepSkyBlue;
|
||||
this.arLabel13.BackgroundImagePadding = new System.Windows.Forms.Padding(0);
|
||||
this.arLabel13.BorderColor = System.Drawing.Color.SteelBlue;
|
||||
this.arLabel13.BorderColorOver = System.Drawing.Color.Red;
|
||||
this.arLabel13.BorderSize = new System.Windows.Forms.Padding(2);
|
||||
this.arLabel13.ColorTheme = arCtl.arLabel.eColorTheme.Custom;
|
||||
this.arLabel13.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.arLabel13.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.arLabel13.Font = new System.Drawing.Font("Consolas", 21.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.arLabel13.ForeColor = System.Drawing.Color.White;
|
||||
this.arLabel13.GradientEnable = false;
|
||||
this.arLabel13.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical;
|
||||
this.arLabel13.GradientRepeatBG = false;
|
||||
this.arLabel13.isButton = true;
|
||||
this.arLabel13.Location = new System.Drawing.Point(162, 198);
|
||||
this.arLabel13.Margin = new System.Windows.Forms.Padding(0);
|
||||
this.arLabel13.MouseDownColor = System.Drawing.Color.Yellow;
|
||||
this.arLabel13.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
|
||||
this.arLabel13.msg = null;
|
||||
this.arLabel13.Name = "arLabel13";
|
||||
this.arLabel13.ProgressColor1 = System.Drawing.Color.LightSkyBlue;
|
||||
this.arLabel13.ProgressColor2 = System.Drawing.Color.DeepSkyBlue;
|
||||
this.arLabel13.ProgressEnable = false;
|
||||
this.arLabel13.ProgressFont = new System.Drawing.Font("Consolas", 10F);
|
||||
this.arLabel13.ProgressForeColor = System.Drawing.Color.Black;
|
||||
this.arLabel13.ProgressMax = 100F;
|
||||
this.arLabel13.ProgressMin = 0F;
|
||||
this.arLabel13.ProgressPadding = new System.Windows.Forms.Padding(0);
|
||||
this.arLabel13.ProgressValue = 0F;
|
||||
this.arLabel13.ShadowColor = System.Drawing.Color.WhiteSmoke;
|
||||
this.arLabel13.Sign = "";
|
||||
this.arLabel13.SignAlign = System.Drawing.ContentAlignment.BottomRight;
|
||||
this.arLabel13.SignColor = System.Drawing.Color.Yellow;
|
||||
this.arLabel13.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
|
||||
this.arLabel13.Size = new System.Drawing.Size(81, 67);
|
||||
this.arLabel13.TabIndex = 0;
|
||||
this.arLabel13.Tag = ".";
|
||||
this.arLabel13.Text = ".";
|
||||
this.arLabel13.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
this.arLabel13.TextShadow = false;
|
||||
this.arLabel13.TextVisible = true;
|
||||
this.arLabel13.Click += new System.EventHandler(this.arLabel1_Click);
|
||||
//
|
||||
// arLabel14
|
||||
//
|
||||
this.arLabel14.BackColor = System.Drawing.Color.SkyBlue;
|
||||
this.arLabel14.BackColor2 = System.Drawing.Color.DeepSkyBlue;
|
||||
this.arLabel14.BackgroundImagePadding = new System.Windows.Forms.Padding(0);
|
||||
this.arLabel14.BorderColor = System.Drawing.Color.SteelBlue;
|
||||
this.arLabel14.BorderColorOver = System.Drawing.Color.Red;
|
||||
this.arLabel14.BorderSize = new System.Windows.Forms.Padding(2);
|
||||
this.arLabel14.ColorTheme = arCtl.arLabel.eColorTheme.Custom;
|
||||
this.arLabel14.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.arLabel14.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.arLabel14.Font = new System.Drawing.Font("Consolas", 21.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.arLabel14.ForeColor = System.Drawing.Color.White;
|
||||
this.arLabel14.GradientEnable = false;
|
||||
this.arLabel14.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical;
|
||||
this.arLabel14.GradientRepeatBG = false;
|
||||
this.arLabel14.isButton = true;
|
||||
this.arLabel14.Location = new System.Drawing.Point(0, 198);
|
||||
this.arLabel14.Margin = new System.Windows.Forms.Padding(0);
|
||||
this.arLabel14.MouseDownColor = System.Drawing.Color.Yellow;
|
||||
this.arLabel14.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
|
||||
this.arLabel14.msg = null;
|
||||
this.arLabel14.Name = "arLabel14";
|
||||
this.arLabel14.ProgressColor1 = System.Drawing.Color.LightSkyBlue;
|
||||
this.arLabel14.ProgressColor2 = System.Drawing.Color.DeepSkyBlue;
|
||||
this.arLabel14.ProgressEnable = false;
|
||||
this.arLabel14.ProgressFont = new System.Drawing.Font("Consolas", 10F);
|
||||
this.arLabel14.ProgressForeColor = System.Drawing.Color.Black;
|
||||
this.arLabel14.ProgressMax = 100F;
|
||||
this.arLabel14.ProgressMin = 0F;
|
||||
this.arLabel14.ProgressPadding = new System.Windows.Forms.Padding(0);
|
||||
this.arLabel14.ProgressValue = 0F;
|
||||
this.arLabel14.ShadowColor = System.Drawing.Color.WhiteSmoke;
|
||||
this.arLabel14.Sign = "";
|
||||
this.arLabel14.SignAlign = System.Drawing.ContentAlignment.BottomRight;
|
||||
this.arLabel14.SignColor = System.Drawing.Color.Yellow;
|
||||
this.arLabel14.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
|
||||
this.arLabel14.Size = new System.Drawing.Size(81, 67);
|
||||
this.arLabel14.TabIndex = 0;
|
||||
this.arLabel14.Tag = "-";
|
||||
this.arLabel14.Text = "-";
|
||||
this.arLabel14.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
this.arLabel14.TextShadow = false;
|
||||
this.arLabel14.TextVisible = true;
|
||||
this.arLabel14.Click += new System.EventHandler(this.arLabel1_Click);
|
||||
//
|
||||
// arLabel15
|
||||
//
|
||||
this.arLabel15.BackColor = System.Drawing.Color.Gray;
|
||||
this.arLabel15.BackColor2 = System.Drawing.Color.SteelBlue;
|
||||
this.arLabel15.BackgroundImagePadding = new System.Windows.Forms.Padding(0);
|
||||
this.arLabel15.BorderColor = System.Drawing.Color.SteelBlue;
|
||||
this.arLabel15.BorderColorOver = System.Drawing.Color.Red;
|
||||
this.arLabel15.BorderSize = new System.Windows.Forms.Padding(2);
|
||||
this.arLabel15.ColorTheme = arCtl.arLabel.eColorTheme.Custom;
|
||||
this.arLabel15.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.arLabel15.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.arLabel15.Font = new System.Drawing.Font("Consolas", 12F);
|
||||
this.arLabel15.ForeColor = System.Drawing.Color.White;
|
||||
this.arLabel15.GradientEnable = true;
|
||||
this.arLabel15.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical;
|
||||
this.arLabel15.GradientRepeatBG = false;
|
||||
this.arLabel15.isButton = true;
|
||||
this.arLabel15.Location = new System.Drawing.Point(243, 66);
|
||||
this.arLabel15.Margin = new System.Windows.Forms.Padding(0);
|
||||
this.arLabel15.MouseDownColor = System.Drawing.Color.Yellow;
|
||||
this.arLabel15.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
|
||||
this.arLabel15.msg = null;
|
||||
this.arLabel15.Name = "arLabel15";
|
||||
this.arLabel15.ProgressColor1 = System.Drawing.Color.LightSkyBlue;
|
||||
this.arLabel15.ProgressColor2 = System.Drawing.Color.DeepSkyBlue;
|
||||
this.arLabel15.ProgressEnable = false;
|
||||
this.arLabel15.ProgressFont = new System.Drawing.Font("Consolas", 10F);
|
||||
this.arLabel15.ProgressForeColor = System.Drawing.Color.Black;
|
||||
this.arLabel15.ProgressMax = 100F;
|
||||
this.arLabel15.ProgressMin = 0F;
|
||||
this.arLabel15.ProgressPadding = new System.Windows.Forms.Padding(0);
|
||||
this.arLabel15.ProgressValue = 0F;
|
||||
this.arLabel15.ShadowColor = System.Drawing.Color.WhiteSmoke;
|
||||
this.arLabel15.Sign = "";
|
||||
this.arLabel15.SignAlign = System.Drawing.ContentAlignment.BottomRight;
|
||||
this.arLabel15.SignColor = System.Drawing.Color.Yellow;
|
||||
this.arLabel15.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
|
||||
this.arLabel15.Size = new System.Drawing.Size(81, 66);
|
||||
this.arLabel15.TabIndex = 0;
|
||||
this.arLabel15.Tag = "C";
|
||||
this.arLabel15.Text = "CLEAR";
|
||||
this.arLabel15.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
this.arLabel15.TextShadow = false;
|
||||
this.arLabel15.TextVisible = true;
|
||||
this.arLabel15.Click += new System.EventHandler(this.arLabel1_Click);
|
||||
//
|
||||
// arLabel10
|
||||
//
|
||||
this.arLabel10.BackColor = System.Drawing.Color.CadetBlue;
|
||||
this.arLabel10.BackColor2 = System.Drawing.Color.Lime;
|
||||
this.arLabel10.BackgroundImagePadding = new System.Windows.Forms.Padding(0);
|
||||
this.arLabel10.BorderColor = System.Drawing.Color.SteelBlue;
|
||||
this.arLabel10.BorderColorOver = System.Drawing.Color.Red;
|
||||
this.arLabel10.BorderSize = new System.Windows.Forms.Padding(2);
|
||||
this.arLabel10.ColorTheme = arCtl.arLabel.eColorTheme.Custom;
|
||||
this.arLabel10.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.arLabel10.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.arLabel10.Font = new System.Drawing.Font("Consolas", 12F);
|
||||
this.arLabel10.ForeColor = System.Drawing.Color.White;
|
||||
this.arLabel10.GradientEnable = true;
|
||||
this.arLabel10.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical;
|
||||
this.arLabel10.GradientRepeatBG = false;
|
||||
this.arLabel10.isButton = true;
|
||||
this.arLabel10.Location = new System.Drawing.Point(243, 132);
|
||||
this.arLabel10.Margin = new System.Windows.Forms.Padding(0);
|
||||
this.arLabel10.MouseDownColor = System.Drawing.Color.Yellow;
|
||||
this.arLabel10.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
|
||||
this.arLabel10.msg = null;
|
||||
this.arLabel10.Name = "arLabel10";
|
||||
this.arLabel10.ProgressColor1 = System.Drawing.Color.LightSkyBlue;
|
||||
this.arLabel10.ProgressColor2 = System.Drawing.Color.DeepSkyBlue;
|
||||
this.arLabel10.ProgressEnable = false;
|
||||
this.arLabel10.ProgressFont = new System.Drawing.Font("Consolas", 10F);
|
||||
this.arLabel10.ProgressForeColor = System.Drawing.Color.Black;
|
||||
this.arLabel10.ProgressMax = 100F;
|
||||
this.arLabel10.ProgressMin = 0F;
|
||||
this.arLabel10.ProgressPadding = new System.Windows.Forms.Padding(0);
|
||||
this.arLabel10.ProgressValue = 0F;
|
||||
this.tableLayoutPanel1.SetRowSpan(this.arLabel10, 2);
|
||||
this.arLabel10.ShadowColor = System.Drawing.Color.WhiteSmoke;
|
||||
this.arLabel10.Sign = "";
|
||||
this.arLabel10.SignAlign = System.Drawing.ContentAlignment.BottomRight;
|
||||
this.arLabel10.SignColor = System.Drawing.Color.Yellow;
|
||||
this.arLabel10.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
|
||||
this.arLabel10.Size = new System.Drawing.Size(81, 133);
|
||||
this.arLabel10.TabIndex = 0;
|
||||
this.arLabel10.Tag = "E";
|
||||
this.arLabel10.Text = "ENTER";
|
||||
this.arLabel10.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
this.arLabel10.TextShadow = false;
|
||||
this.arLabel10.TextVisible = true;
|
||||
this.arLabel10.Click += new System.EventHandler(this.arLabel1_Click);
|
||||
//
|
||||
// tbInput
|
||||
//
|
||||
this.tbInput.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.tbInput.Font = new System.Drawing.Font("Calibri", 20.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.tbInput.Location = new System.Drawing.Point(5, 5);
|
||||
this.tbInput.Name = "tbInput";
|
||||
this.tbInput.Size = new System.Drawing.Size(324, 40);
|
||||
this.tbInput.TabIndex = 2;
|
||||
this.tbInput.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||
//
|
||||
// panel1
|
||||
//
|
||||
this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.panel1.Location = new System.Drawing.Point(5, 45);
|
||||
this.panel1.Name = "panel1";
|
||||
this.panel1.Size = new System.Drawing.Size(324, 5);
|
||||
this.panel1.TabIndex = 3;
|
||||
//
|
||||
// fTouchNumDot
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
|
||||
this.ClientSize = new System.Drawing.Size(334, 320);
|
||||
this.Controls.Add(this.tableLayoutPanel1);
|
||||
this.Controls.Add(this.panel1);
|
||||
this.Controls.Add(this.tbInput);
|
||||
this.Name = "fTouchNumDot";
|
||||
this.Padding = new System.Windows.Forms.Padding(5);
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||
this.Text = "Input Value";
|
||||
this.Load += new System.EventHandler(this.fTouchNumDot_Load);
|
||||
this.tableLayoutPanel1.ResumeLayout(false);
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
|
||||
private arCtl.arLabel arLabel1;
|
||||
private arCtl.arLabel arLabel2;
|
||||
private arCtl.arLabel arLabel3;
|
||||
private arCtl.arLabel arLabel4;
|
||||
private arCtl.arLabel arLabel5;
|
||||
private arCtl.arLabel arLabel6;
|
||||
private arCtl.arLabel arLabel7;
|
||||
private arCtl.arLabel arLabel8;
|
||||
private arCtl.arLabel arLabel9;
|
||||
private arCtl.arLabel arLabel10;
|
||||
private arCtl.arLabel arLabel11;
|
||||
private arCtl.arLabel arLabel12;
|
||||
public System.Windows.Forms.TextBox tbInput;
|
||||
private System.Windows.Forms.Panel panel1;
|
||||
private arCtl.arLabel arLabel13;
|
||||
private arCtl.arLabel arLabel14;
|
||||
private arCtl.arLabel arLabel15;
|
||||
}
|
||||
}
|
||||
85
Cs_HMI/Project/Dialog/fTouchNumDot.cs
Normal file
85
Cs_HMI/Project/Dialog/fTouchNumDot.cs
Normal file
@@ -0,0 +1,85 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace Project.Dialog
|
||||
{
|
||||
public partial class fTouchNumDot : Form
|
||||
{
|
||||
public fTouchNumDot(string value)
|
||||
{
|
||||
InitializeComponent();
|
||||
this.tbInput.KeyDown += (s1, e1) => { if (e1.KeyCode == Keys.Enter) Confirm(); };
|
||||
this.KeyPreview = true;
|
||||
this.tbInput.Text = value;
|
||||
this.KeyDown += (s1, e1) =>
|
||||
{
|
||||
if (e1.KeyCode == Keys.Escape) this.Close();
|
||||
};
|
||||
}
|
||||
|
||||
private void fTouchNumDot_Load(object sender, EventArgs e)
|
||||
{
|
||||
this.tbInput.SelectAll();
|
||||
this.tbInput.Focus();
|
||||
}
|
||||
private void Confirm()
|
||||
{
|
||||
string id = tbInput.Text.Trim();
|
||||
if (id.isEmpty())
|
||||
{
|
||||
tbInput.Focus();
|
||||
return;
|
||||
}
|
||||
DialogResult = DialogResult.OK;
|
||||
}
|
||||
|
||||
|
||||
public void ProcessKey(ref TextBox cmb_rfid, string key)
|
||||
{
|
||||
if (key == "B")
|
||||
{
|
||||
if (cmb_rfid.Text != "")
|
||||
cmb_rfid.Text = cmb_rfid.Text.Substring(0, cmb_rfid.Text.Length - 1);
|
||||
}
|
||||
else if (key == "C")
|
||||
{
|
||||
cmb_rfid.Text = "";
|
||||
}
|
||||
else if (key == "E")
|
||||
{
|
||||
Confirm();
|
||||
}
|
||||
else
|
||||
{
|
||||
if (cmb_rfid.SelectionLength > 0 && cmb_rfid.TextLength == cmb_rfid.SelectionLength)
|
||||
{
|
||||
cmb_rfid.Text = key;
|
||||
}
|
||||
else if (cmb_rfid.SelectionLength > 0)
|
||||
{
|
||||
//선택된 영역을 대체해준다.
|
||||
cmb_rfid.SelectedText = key;
|
||||
}
|
||||
else cmb_rfid.Text += key;
|
||||
}
|
||||
|
||||
cmb_rfid.SelectionLength = 0;
|
||||
if (cmb_rfid.Text != "")
|
||||
cmb_rfid.SelectionStart = cmb_rfid.Text.Length;
|
||||
|
||||
}
|
||||
|
||||
private void arLabel1_Click(object sender, EventArgs e)
|
||||
{
|
||||
var ctl = sender as arCtl.arLabel;
|
||||
ProcessKey(ref tbInput, ctl.Tag.ToString());
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
120
Cs_HMI/Project/Dialog/fTouchNumDot.resx
Normal file
120
Cs_HMI/Project/Dialog/fTouchNumDot.resx
Normal file
@@ -0,0 +1,120 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
</root>
|
||||
500
Cs_HMI/Project/Dialog/fUpdateForm.Designer.cs
generated
Normal file
500
Cs_HMI/Project/Dialog/fUpdateForm.Designer.cs
generated
Normal file
@@ -0,0 +1,500 @@
|
||||
namespace Project.Dialog
|
||||
{
|
||||
partial class fUpdateForm
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (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()
|
||||
{
|
||||
this.components = new System.ComponentModel.Container();
|
||||
this.tmBlink = new System.Windows.Forms.Timer(this.components);
|
||||
this.arPanel1 = new arCtl.arPanel();
|
||||
this.panButton = new System.Windows.Forms.Panel();
|
||||
this.btYes = new arCtl.arLabel();
|
||||
this.btNo = new arCtl.arLabel();
|
||||
this.panel7 = new System.Windows.Forms.Panel();
|
||||
this.lb3 = new arCtl.arLabel();
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.lb2 = new arCtl.arLabel();
|
||||
this.panel4 = new System.Windows.Forms.Panel();
|
||||
this.lb1 = new arCtl.arLabel();
|
||||
this.panel8 = new System.Windows.Forms.Panel();
|
||||
this.lbTitle = new arCtl.arLabel();
|
||||
this.arLabel1 = new arCtl.arLabel();
|
||||
this.panel2 = new System.Windows.Forms.Panel();
|
||||
this.arPanel1.SuspendLayout();
|
||||
this.panButton.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// tmBlink
|
||||
//
|
||||
this.tmBlink.Enabled = true;
|
||||
this.tmBlink.Interval = 300;
|
||||
this.tmBlink.Tick += new System.EventHandler(this.tmBlink_Tick);
|
||||
//
|
||||
// arPanel1
|
||||
//
|
||||
this.arPanel1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(100)))), ((int)(((byte)(100)))));
|
||||
this.arPanel1.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(100)))), ((int)(((byte)(100)))));
|
||||
this.arPanel1.BorderColor = System.Drawing.Color.DimGray;
|
||||
this.arPanel1.BorderSize = new System.Windows.Forms.Padding(1);
|
||||
this.arPanel1.Controls.Add(this.panButton);
|
||||
this.arPanel1.Controls.Add(this.panel7);
|
||||
this.arPanel1.Controls.Add(this.lb3);
|
||||
this.arPanel1.Controls.Add(this.panel2);
|
||||
this.arPanel1.Controls.Add(this.arLabel1);
|
||||
this.arPanel1.Controls.Add(this.panel1);
|
||||
this.arPanel1.Controls.Add(this.lb2);
|
||||
this.arPanel1.Controls.Add(this.panel4);
|
||||
this.arPanel1.Controls.Add(this.lb1);
|
||||
this.arPanel1.Controls.Add(this.panel8);
|
||||
this.arPanel1.Controls.Add(this.lbTitle);
|
||||
this.arPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.arPanel1.Font = new System.Drawing.Font("Consolas", 10F, System.Drawing.FontStyle.Italic);
|
||||
this.arPanel1.ForeColor = System.Drawing.Color.Khaki;
|
||||
this.arPanel1.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical;
|
||||
this.arPanel1.GradientRepeatBG = false;
|
||||
this.arPanel1.Location = new System.Drawing.Point(5, 5);
|
||||
this.arPanel1.Name = "arPanel1";
|
||||
this.arPanel1.Padding = new System.Windows.Forms.Padding(6);
|
||||
this.arPanel1.ProgressColor1 = System.Drawing.Color.LightSkyBlue;
|
||||
this.arPanel1.ProgressColor2 = System.Drawing.Color.DeepSkyBlue;
|
||||
this.arPanel1.ProgressMax = 100F;
|
||||
this.arPanel1.ProgressMin = 0F;
|
||||
this.arPanel1.ProgressPadding = new System.Windows.Forms.Padding(0);
|
||||
this.arPanel1.ProgressValue = 0F;
|
||||
this.arPanel1.ShadowColor = System.Drawing.Color.Black;
|
||||
this.arPanel1.ShowBorder = true;
|
||||
this.arPanel1.Size = new System.Drawing.Size(508, 358);
|
||||
this.arPanel1.TabIndex = 0;
|
||||
this.arPanel1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
|
||||
this.arPanel1.TextShadow = false;
|
||||
this.arPanel1.UseProgressBar = false;
|
||||
//
|
||||
// panButton
|
||||
//
|
||||
this.panButton.Controls.Add(this.btYes);
|
||||
this.panButton.Controls.Add(this.btNo);
|
||||
this.panButton.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.panButton.Location = new System.Drawing.Point(6, 298);
|
||||
this.panButton.Name = "panButton";
|
||||
this.panButton.Size = new System.Drawing.Size(496, 54);
|
||||
this.panButton.TabIndex = 10;
|
||||
//
|
||||
// btYes
|
||||
//
|
||||
this.btYes.BackColor = System.Drawing.Color.SeaGreen;
|
||||
this.btYes.BackColor2 = System.Drawing.Color.SeaGreen;
|
||||
this.btYes.BackgroundImagePadding = new System.Windows.Forms.Padding(0);
|
||||
this.btYes.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(90)))), ((int)(((byte)(90)))));
|
||||
this.btYes.BorderColorOver = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(90)))), ((int)(((byte)(90)))));
|
||||
this.btYes.BorderSize = new System.Windows.Forms.Padding(1);
|
||||
this.btYes.ColorTheme = arCtl.arLabel.eColorTheme.Custom;
|
||||
this.btYes.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.btYes.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.btYes.Enabled = false;
|
||||
this.btYes.Font = new System.Drawing.Font("맑은 고딕", 15F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.btYes.ForeColor = System.Drawing.Color.Black;
|
||||
this.btYes.GradientEnable = true;
|
||||
this.btYes.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical;
|
||||
this.btYes.GradientRepeatBG = false;
|
||||
this.btYes.isButton = true;
|
||||
this.btYes.Location = new System.Drawing.Point(0, 0);
|
||||
this.btYes.MouseDownColor = System.Drawing.Color.Yellow;
|
||||
this.btYes.MouseOverColor = System.Drawing.Color.Yellow;
|
||||
this.btYes.msg = null;
|
||||
this.btYes.Name = "btYes";
|
||||
this.btYes.ProgressColor1 = System.Drawing.Color.LightSkyBlue;
|
||||
this.btYes.ProgressColor2 = System.Drawing.Color.DeepSkyBlue;
|
||||
this.btYes.ProgressEnable = false;
|
||||
this.btYes.ProgressFont = new System.Drawing.Font("Consolas", 10F);
|
||||
this.btYes.ProgressForeColor = System.Drawing.Color.Black;
|
||||
this.btYes.ProgressMax = 100F;
|
||||
this.btYes.ProgressMin = 0F;
|
||||
this.btYes.ProgressPadding = new System.Windows.Forms.Padding(0);
|
||||
this.btYes.ProgressValue = 0F;
|
||||
this.btYes.ShadowColor = System.Drawing.Color.Gray;
|
||||
this.btYes.Sign = "";
|
||||
this.btYes.SignAlign = System.Drawing.ContentAlignment.BottomRight;
|
||||
this.btYes.SignColor = System.Drawing.Color.Yellow;
|
||||
this.btYes.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
|
||||
this.btYes.Size = new System.Drawing.Size(267, 54);
|
||||
this.btYes.TabIndex = 0;
|
||||
this.btYes.Text = "예(F5)";
|
||||
this.btYes.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
this.btYes.TextShadow = true;
|
||||
this.btYes.TextVisible = true;
|
||||
this.btYes.Click += new System.EventHandler(this.btYes_Click);
|
||||
//
|
||||
// btNo
|
||||
//
|
||||
this.btNo.BackColor = System.Drawing.Color.Goldenrod;
|
||||
this.btNo.BackColor2 = System.Drawing.Color.Goldenrod;
|
||||
this.btNo.BackgroundImagePadding = new System.Windows.Forms.Padding(0);
|
||||
this.btNo.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(90)))), ((int)(((byte)(90)))));
|
||||
this.btNo.BorderColorOver = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(90)))), ((int)(((byte)(90)))));
|
||||
this.btNo.BorderSize = new System.Windows.Forms.Padding(1);
|
||||
this.btNo.ColorTheme = arCtl.arLabel.eColorTheme.Custom;
|
||||
this.btNo.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.btNo.Dock = System.Windows.Forms.DockStyle.Right;
|
||||
this.btNo.Font = new System.Drawing.Font("맑은 고딕", 15F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.btNo.ForeColor = System.Drawing.Color.Black;
|
||||
this.btNo.GradientEnable = true;
|
||||
this.btNo.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical;
|
||||
this.btNo.GradientRepeatBG = false;
|
||||
this.btNo.isButton = true;
|
||||
this.btNo.Location = new System.Drawing.Point(267, 0);
|
||||
this.btNo.MouseDownColor = System.Drawing.Color.Yellow;
|
||||
this.btNo.MouseOverColor = System.Drawing.Color.Yellow;
|
||||
this.btNo.msg = null;
|
||||
this.btNo.Name = "btNo";
|
||||
this.btNo.ProgressColor1 = System.Drawing.Color.LightSkyBlue;
|
||||
this.btNo.ProgressColor2 = System.Drawing.Color.DeepSkyBlue;
|
||||
this.btNo.ProgressEnable = false;
|
||||
this.btNo.ProgressFont = new System.Drawing.Font("Consolas", 10F);
|
||||
this.btNo.ProgressForeColor = System.Drawing.Color.Black;
|
||||
this.btNo.ProgressMax = 100F;
|
||||
this.btNo.ProgressMin = 0F;
|
||||
this.btNo.ProgressPadding = new System.Windows.Forms.Padding(0);
|
||||
this.btNo.ProgressValue = 0F;
|
||||
this.btNo.ShadowColor = System.Drawing.Color.Gray;
|
||||
this.btNo.Sign = "";
|
||||
this.btNo.SignAlign = System.Drawing.ContentAlignment.BottomRight;
|
||||
this.btNo.SignColor = System.Drawing.Color.Yellow;
|
||||
this.btNo.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
|
||||
this.btNo.Size = new System.Drawing.Size(229, 54);
|
||||
this.btNo.TabIndex = 1;
|
||||
this.btNo.Text = "아니오(ESC)";
|
||||
this.btNo.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
this.btNo.TextShadow = true;
|
||||
this.btNo.TextVisible = true;
|
||||
this.btNo.Click += new System.EventHandler(this.btNo_Click);
|
||||
//
|
||||
// panel7
|
||||
//
|
||||
this.panel7.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.panel7.Location = new System.Drawing.Point(6, 293);
|
||||
this.panel7.Name = "panel7";
|
||||
this.panel7.Size = new System.Drawing.Size(496, 5);
|
||||
this.panel7.TabIndex = 0;
|
||||
//
|
||||
// lb3
|
||||
//
|
||||
this.lb3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(100)))), ((int)(((byte)(100)))));
|
||||
this.lb3.BackColor2 = System.Drawing.Color.Gray;
|
||||
this.lb3.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
|
||||
this.lb3.BackgroundImagePadding = new System.Windows.Forms.Padding(0);
|
||||
this.lb3.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80)))));
|
||||
this.lb3.BorderColorOver = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80)))));
|
||||
this.lb3.BorderSize = new System.Windows.Forms.Padding(1);
|
||||
this.lb3.ColorTheme = arCtl.arLabel.eColorTheme.Custom;
|
||||
this.lb3.Cursor = System.Windows.Forms.Cursors.Arrow;
|
||||
this.lb3.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.lb3.Font = new System.Drawing.Font("맑은 고딕", 15F, System.Drawing.FontStyle.Bold);
|
||||
this.lb3.ForeColor = System.Drawing.Color.White;
|
||||
this.lb3.GradientEnable = true;
|
||||
this.lb3.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.ForwardDiagonal;
|
||||
this.lb3.GradientRepeatBG = false;
|
||||
this.lb3.isButton = false;
|
||||
this.lb3.Location = new System.Drawing.Point(6, 243);
|
||||
this.lb3.MouseDownColor = System.Drawing.Color.Yellow;
|
||||
this.lb3.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
|
||||
this.lb3.msg = null;
|
||||
this.lb3.Name = "lb3";
|
||||
this.lb3.Padding = new System.Windows.Forms.Padding(10, 0, 0, 0);
|
||||
this.lb3.ProgressColor1 = System.Drawing.Color.LightSkyBlue;
|
||||
this.lb3.ProgressColor2 = System.Drawing.Color.DeepSkyBlue;
|
||||
this.lb3.ProgressEnable = true;
|
||||
this.lb3.ProgressFont = new System.Drawing.Font("Consolas", 20F);
|
||||
this.lb3.ProgressForeColor = System.Drawing.Color.Black;
|
||||
this.lb3.ProgressMax = 100F;
|
||||
this.lb3.ProgressMin = 0F;
|
||||
this.lb3.ProgressPadding = new System.Windows.Forms.Padding(0);
|
||||
this.lb3.ProgressValue = 50F;
|
||||
this.lb3.ShadowColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
|
||||
this.lb3.Sign = "";
|
||||
this.lb3.SignAlign = System.Drawing.ContentAlignment.BottomRight;
|
||||
this.lb3.SignColor = System.Drawing.Color.Yellow;
|
||||
this.lb3.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
|
||||
this.lb3.Size = new System.Drawing.Size(496, 50);
|
||||
this.lb3.TabIndex = 5;
|
||||
this.lb3.Text = "0%";
|
||||
this.lb3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
this.lb3.TextShadow = true;
|
||||
this.lb3.TextVisible = true;
|
||||
//
|
||||
// panel1
|
||||
//
|
||||
this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.panel1.Location = new System.Drawing.Point(6, 183);
|
||||
this.panel1.Name = "panel1";
|
||||
this.panel1.Size = new System.Drawing.Size(496, 5);
|
||||
this.panel1.TabIndex = 11;
|
||||
//
|
||||
// lb2
|
||||
//
|
||||
this.lb2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(100)))), ((int)(((byte)(100)))));
|
||||
this.lb2.BackColor2 = System.Drawing.Color.Gray;
|
||||
this.lb2.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
|
||||
this.lb2.BackgroundImagePadding = new System.Windows.Forms.Padding(0);
|
||||
this.lb2.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80)))));
|
||||
this.lb2.BorderColorOver = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80)))));
|
||||
this.lb2.BorderSize = new System.Windows.Forms.Padding(1);
|
||||
this.lb2.ColorTheme = arCtl.arLabel.eColorTheme.Custom;
|
||||
this.lb2.Cursor = System.Windows.Forms.Cursors.Arrow;
|
||||
this.lb2.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.lb2.Font = new System.Drawing.Font("맑은 고딕", 15F, System.Drawing.FontStyle.Bold);
|
||||
this.lb2.ForeColor = System.Drawing.Color.White;
|
||||
this.lb2.GradientEnable = true;
|
||||
this.lb2.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.ForwardDiagonal;
|
||||
this.lb2.GradientRepeatBG = false;
|
||||
this.lb2.isButton = false;
|
||||
this.lb2.Location = new System.Drawing.Point(6, 133);
|
||||
this.lb2.MouseDownColor = System.Drawing.Color.Yellow;
|
||||
this.lb2.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
|
||||
this.lb2.msg = null;
|
||||
this.lb2.Name = "lb2";
|
||||
this.lb2.Padding = new System.Windows.Forms.Padding(10, 0, 0, 0);
|
||||
this.lb2.ProgressColor1 = System.Drawing.Color.LightSkyBlue;
|
||||
this.lb2.ProgressColor2 = System.Drawing.Color.DeepSkyBlue;
|
||||
this.lb2.ProgressEnable = false;
|
||||
this.lb2.ProgressFont = new System.Drawing.Font("Consolas", 10F);
|
||||
this.lb2.ProgressForeColor = System.Drawing.Color.Black;
|
||||
this.lb2.ProgressMax = 100F;
|
||||
this.lb2.ProgressMin = 0F;
|
||||
this.lb2.ProgressPadding = new System.Windows.Forms.Padding(0);
|
||||
this.lb2.ProgressValue = 0F;
|
||||
this.lb2.ShadowColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
|
||||
this.lb2.Sign = "";
|
||||
this.lb2.SignAlign = System.Drawing.ContentAlignment.BottomRight;
|
||||
this.lb2.SignColor = System.Drawing.Color.Yellow;
|
||||
this.lb2.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
|
||||
this.lb2.Size = new System.Drawing.Size(496, 50);
|
||||
this.lb2.TabIndex = 4;
|
||||
this.lb2.Text = "현재버젼 : {0}";
|
||||
this.lb2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
this.lb2.TextShadow = true;
|
||||
this.lb2.TextVisible = true;
|
||||
//
|
||||
// panel4
|
||||
//
|
||||
this.panel4.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.panel4.Location = new System.Drawing.Point(6, 128);
|
||||
this.panel4.Name = "panel4";
|
||||
this.panel4.Size = new System.Drawing.Size(496, 5);
|
||||
this.panel4.TabIndex = 14;
|
||||
//
|
||||
// lb1
|
||||
//
|
||||
this.lb1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(100)))), ((int)(((byte)(100)))));
|
||||
this.lb1.BackColor2 = System.Drawing.Color.Gray;
|
||||
this.lb1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
|
||||
this.lb1.BackgroundImagePadding = new System.Windows.Forms.Padding(0);
|
||||
this.lb1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80)))));
|
||||
this.lb1.BorderColorOver = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80)))));
|
||||
this.lb1.BorderSize = new System.Windows.Forms.Padding(1);
|
||||
this.lb1.ColorTheme = arCtl.arLabel.eColorTheme.Custom;
|
||||
this.lb1.Cursor = System.Windows.Forms.Cursors.Arrow;
|
||||
this.lb1.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.lb1.Font = new System.Drawing.Font("맑은 고딕", 15F, System.Drawing.FontStyle.Bold);
|
||||
this.lb1.ForeColor = System.Drawing.Color.White;
|
||||
this.lb1.GradientEnable = true;
|
||||
this.lb1.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.ForwardDiagonal;
|
||||
this.lb1.GradientRepeatBG = false;
|
||||
this.lb1.isButton = false;
|
||||
this.lb1.Location = new System.Drawing.Point(6, 78);
|
||||
this.lb1.MouseDownColor = System.Drawing.Color.Yellow;
|
||||
this.lb1.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
|
||||
this.lb1.msg = null;
|
||||
this.lb1.Name = "lb1";
|
||||
this.lb1.Padding = new System.Windows.Forms.Padding(10, 0, 0, 0);
|
||||
this.lb1.ProgressColor1 = System.Drawing.Color.LightSkyBlue;
|
||||
this.lb1.ProgressColor2 = System.Drawing.Color.DeepSkyBlue;
|
||||
this.lb1.ProgressEnable = false;
|
||||
this.lb1.ProgressFont = new System.Drawing.Font("Consolas", 10F);
|
||||
this.lb1.ProgressForeColor = System.Drawing.Color.Black;
|
||||
this.lb1.ProgressMax = 100F;
|
||||
this.lb1.ProgressMin = 0F;
|
||||
this.lb1.ProgressPadding = new System.Windows.Forms.Padding(0);
|
||||
this.lb1.ProgressValue = 0F;
|
||||
this.lb1.ShadowColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
|
||||
this.lb1.Sign = "";
|
||||
this.lb1.SignAlign = System.Drawing.ContentAlignment.BottomRight;
|
||||
this.lb1.SignColor = System.Drawing.Color.Yellow;
|
||||
this.lb1.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
|
||||
this.lb1.Size = new System.Drawing.Size(496, 50);
|
||||
this.lb1.TabIndex = 2;
|
||||
this.lb1.Text = "드라이브 : {0}";
|
||||
this.lb1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
this.lb1.TextShadow = true;
|
||||
this.lb1.TextVisible = true;
|
||||
//
|
||||
// panel8
|
||||
//
|
||||
this.panel8.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.panel8.Location = new System.Drawing.Point(6, 73);
|
||||
this.panel8.Name = "panel8";
|
||||
this.panel8.Size = new System.Drawing.Size(496, 5);
|
||||
this.panel8.TabIndex = 18;
|
||||
//
|
||||
// lbTitle
|
||||
//
|
||||
this.lbTitle.BackColor = System.Drawing.Color.Brown;
|
||||
this.lbTitle.BackColor2 = System.Drawing.Color.Tomato;
|
||||
this.lbTitle.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
|
||||
this.lbTitle.BackgroundImagePadding = new System.Windows.Forms.Padding(0);
|
||||
this.lbTitle.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(90)))), ((int)(((byte)(90)))));
|
||||
this.lbTitle.BorderColorOver = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(90)))), ((int)(((byte)(90)))));
|
||||
this.lbTitle.BorderSize = new System.Windows.Forms.Padding(1);
|
||||
this.lbTitle.ColorTheme = arCtl.arLabel.eColorTheme.Custom;
|
||||
this.lbTitle.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.lbTitle.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.lbTitle.Font = new System.Drawing.Font("맑은 고딕", 22F, System.Drawing.FontStyle.Bold);
|
||||
this.lbTitle.ForeColor = System.Drawing.Color.WhiteSmoke;
|
||||
this.lbTitle.GradientEnable = true;
|
||||
this.lbTitle.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Horizontal;
|
||||
this.lbTitle.GradientRepeatBG = false;
|
||||
this.lbTitle.isButton = true;
|
||||
this.lbTitle.Location = new System.Drawing.Point(6, 6);
|
||||
this.lbTitle.MouseDownColor = System.Drawing.Color.Yellow;
|
||||
this.lbTitle.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
|
||||
this.lbTitle.msg = null;
|
||||
this.lbTitle.Name = "lbTitle";
|
||||
this.lbTitle.ProgressColor1 = System.Drawing.Color.LightSkyBlue;
|
||||
this.lbTitle.ProgressColor2 = System.Drawing.Color.DeepSkyBlue;
|
||||
this.lbTitle.ProgressEnable = false;
|
||||
this.lbTitle.ProgressFont = new System.Drawing.Font("Consolas", 10F);
|
||||
this.lbTitle.ProgressForeColor = System.Drawing.Color.Black;
|
||||
this.lbTitle.ProgressMax = 100F;
|
||||
this.lbTitle.ProgressMin = 0F;
|
||||
this.lbTitle.ProgressPadding = new System.Windows.Forms.Padding(0);
|
||||
this.lbTitle.ProgressValue = 0F;
|
||||
this.lbTitle.ShadowColor = System.Drawing.Color.FromArgb(((int)(((byte)(50)))), ((int)(((byte)(50)))), ((int)(((byte)(50)))));
|
||||
this.lbTitle.Sign = "";
|
||||
this.lbTitle.SignAlign = System.Drawing.ContentAlignment.BottomRight;
|
||||
this.lbTitle.SignColor = System.Drawing.Color.Yellow;
|
||||
this.lbTitle.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
|
||||
this.lbTitle.Size = new System.Drawing.Size(496, 67);
|
||||
this.lbTitle.TabIndex = 3;
|
||||
this.lbTitle.Text = "프로그램 업데이트";
|
||||
this.lbTitle.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
this.lbTitle.TextShadow = true;
|
||||
this.lbTitle.TextVisible = true;
|
||||
this.lbTitle.Click += new System.EventHandler(this.lbTitle_Click);
|
||||
//
|
||||
// arLabel1
|
||||
//
|
||||
this.arLabel1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(100)))), ((int)(((byte)(100)))));
|
||||
this.arLabel1.BackColor2 = System.Drawing.Color.Gray;
|
||||
this.arLabel1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
|
||||
this.arLabel1.BackgroundImagePadding = new System.Windows.Forms.Padding(0);
|
||||
this.arLabel1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80)))));
|
||||
this.arLabel1.BorderColorOver = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80)))));
|
||||
this.arLabel1.BorderSize = new System.Windows.Forms.Padding(1);
|
||||
this.arLabel1.ColorTheme = arCtl.arLabel.eColorTheme.Custom;
|
||||
this.arLabel1.Cursor = System.Windows.Forms.Cursors.Arrow;
|
||||
this.arLabel1.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.arLabel1.Font = new System.Drawing.Font("맑은 고딕", 15F, System.Drawing.FontStyle.Bold);
|
||||
this.arLabel1.ForeColor = System.Drawing.Color.White;
|
||||
this.arLabel1.GradientEnable = true;
|
||||
this.arLabel1.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.ForwardDiagonal;
|
||||
this.arLabel1.GradientRepeatBG = false;
|
||||
this.arLabel1.isButton = false;
|
||||
this.arLabel1.Location = new System.Drawing.Point(6, 188);
|
||||
this.arLabel1.MouseDownColor = System.Drawing.Color.Yellow;
|
||||
this.arLabel1.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
|
||||
this.arLabel1.msg = null;
|
||||
this.arLabel1.Name = "arLabel1";
|
||||
this.arLabel1.Padding = new System.Windows.Forms.Padding(10, 0, 0, 0);
|
||||
this.arLabel1.ProgressColor1 = System.Drawing.Color.LightSkyBlue;
|
||||
this.arLabel1.ProgressColor2 = System.Drawing.Color.DeepSkyBlue;
|
||||
this.arLabel1.ProgressEnable = false;
|
||||
this.arLabel1.ProgressFont = new System.Drawing.Font("Consolas", 10F);
|
||||
this.arLabel1.ProgressForeColor = System.Drawing.Color.Black;
|
||||
this.arLabel1.ProgressMax = 100F;
|
||||
this.arLabel1.ProgressMin = 0F;
|
||||
this.arLabel1.ProgressPadding = new System.Windows.Forms.Padding(0);
|
||||
this.arLabel1.ProgressValue = 0F;
|
||||
this.arLabel1.ShadowColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
|
||||
this.arLabel1.Sign = "";
|
||||
this.arLabel1.SignAlign = System.Drawing.ContentAlignment.BottomRight;
|
||||
this.arLabel1.SignColor = System.Drawing.Color.Yellow;
|
||||
this.arLabel1.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
|
||||
this.arLabel1.Size = new System.Drawing.Size(496, 50);
|
||||
this.arLabel1.TabIndex = 19;
|
||||
this.arLabel1.Text = "패치버젼 : {0}";
|
||||
this.arLabel1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
this.arLabel1.TextShadow = true;
|
||||
this.arLabel1.TextVisible = true;
|
||||
//
|
||||
// panel2
|
||||
//
|
||||
this.panel2.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.panel2.Location = new System.Drawing.Point(6, 238);
|
||||
this.panel2.Name = "panel2";
|
||||
this.panel2.Size = new System.Drawing.Size(496, 5);
|
||||
this.panel2.TabIndex = 20;
|
||||
//
|
||||
// fUpdateForm
|
||||
//
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
||||
this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(200)))), ((int)(((byte)(200)))), ((int)(((byte)(200)))));
|
||||
this.ClientSize = new System.Drawing.Size(518, 368);
|
||||
this.Controls.Add(this.arPanel1);
|
||||
this.Font = new System.Drawing.Font("Consolas", 21.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
|
||||
this.KeyPreview = true;
|
||||
this.MaximizeBox = false;
|
||||
this.Name = "fUpdateForm";
|
||||
this.Padding = new System.Windows.Forms.Padding(5);
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||
this.Text = "Message Window";
|
||||
this.TopMost = true;
|
||||
this.Load += new System.EventHandler(this.fMsg_Load);
|
||||
this.arPanel1.ResumeLayout(false);
|
||||
this.panButton.ResumeLayout(false);
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
public arCtl.arLabel lb1;
|
||||
private arCtl.arPanel arPanel1;
|
||||
public arCtl.arLabel lbTitle;
|
||||
public arCtl.arLabel lb3;
|
||||
public arCtl.arLabel lb2;
|
||||
private System.Windows.Forms.Timer tmBlink;
|
||||
public arCtl.arLabel btYes;
|
||||
public arCtl.arLabel btNo;
|
||||
private System.Windows.Forms.Panel panButton;
|
||||
private System.Windows.Forms.Panel panel1;
|
||||
private System.Windows.Forms.Panel panel7;
|
||||
private System.Windows.Forms.Panel panel4;
|
||||
private System.Windows.Forms.Panel panel8;
|
||||
private System.Windows.Forms.Panel panel2;
|
||||
public arCtl.arLabel arLabel1;
|
||||
}
|
||||
}
|
||||
256
Cs_HMI/Project/Dialog/fUpdateForm.cs
Normal file
256
Cs_HMI/Project/Dialog/fUpdateForm.cs
Normal file
@@ -0,0 +1,256 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace Project.Dialog
|
||||
{
|
||||
public partial class fUpdateForm : Form
|
||||
{
|
||||
private Boolean fMove = false;
|
||||
private Point MDownPos;
|
||||
private string _drive = string.Empty;
|
||||
|
||||
public fUpdateForm()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
public fUpdateForm(string drvName)
|
||||
{
|
||||
InitializeComponent();
|
||||
_drive = drvName;
|
||||
this.FormClosing += fMsgWindow_FormClosing;
|
||||
this.KeyDown += FJobSelect_KeyDown;
|
||||
this.lbTitle.MouseMove += label1_MouseMove;
|
||||
lbTitle.MouseUp += label1_MouseUp;
|
||||
lbTitle.MouseDown += label1_MouseDown;
|
||||
lbTitle.MouseDoubleClick += label1_MouseDoubleClick;
|
||||
|
||||
|
||||
}
|
||||
|
||||
void fMsgWindow_FormClosing(object sender, FormClosingEventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private void fMsg_Load(object sender, EventArgs e)
|
||||
{
|
||||
//해당드라이브에서 패치를 체크한다.
|
||||
// AGV폴더 아래에 Patch_AGV_20200407.zip 식으로 파일을 처리한다
|
||||
|
||||
lb3.ProgressValue = 0;
|
||||
lb3.Text = "--";
|
||||
lb1.Text = string.Format("드라이브 : {0}", _drive);
|
||||
lb2.Text = "현재버젼 : " + PUB.PatchVersion;
|
||||
var dir = System.IO.Path.Combine(this._drive, "AGV");
|
||||
if(System.IO.Directory.Exists(dir))
|
||||
{
|
||||
//폴더는 있다
|
||||
var files = System.IO.Directory.GetFiles(dir, "Patch_AGV_*.zip");
|
||||
if(files == null || files.Length == 0)
|
||||
{
|
||||
arLabel1.Text = "패치파일이 없습니다";
|
||||
}
|
||||
else
|
||||
{
|
||||
var LastFile = files.OrderByDescending(t => t).FirstOrDefault();
|
||||
var splbuf = LastFile.Split('_');
|
||||
|
||||
patchversion = splbuf[2] + splbuf[3].ToUpper().Replace(".ZIP", "");
|
||||
arLabel1.Text = "패치버젼 : " + patchversion;
|
||||
arLabel1.Tag = LastFile;
|
||||
btYes.Enabled = true;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
arLabel1.Text = "패치폴더("+dir +")가 없습니다";
|
||||
|
||||
}
|
||||
}
|
||||
string patchversion = "";
|
||||
private void FJobSelect_KeyDown(object sender, KeyEventArgs e)
|
||||
{
|
||||
if (e.KeyCode == Keys.Escape)
|
||||
{
|
||||
e.Handled = true;
|
||||
e.SuppressKeyPress = false;
|
||||
DialogResult = DialogResult.Cancel;
|
||||
this.Close();
|
||||
}
|
||||
else if (e.KeyCode == Keys.F5)
|
||||
btYes.PerformClick();
|
||||
}
|
||||
|
||||
//public void setMessage(string msg)
|
||||
//{
|
||||
// //msg를 분리해서 표시를 한다.
|
||||
// var lbs = new arCtl.arLabel[] { lbTitle, lb1, lb2, lb3 };
|
||||
// var lineBuf = msg.Replace("\r", "").Split('\n');
|
||||
// int maxLine = Math.Min(lbs.Length, lineBuf.Length);
|
||||
|
||||
// for (int i = 0; i < lbs.Length; i++) //최대줄을 넘어가는건 표시불가
|
||||
// {
|
||||
// if (i >= lineBuf.Length)
|
||||
// {
|
||||
// lbs[i].Text = string.Empty;
|
||||
// }
|
||||
// else
|
||||
// {
|
||||
// if (i > 0) lbs[i].Text = string.Format("{0}. {1}", i, lineBuf[i]);
|
||||
// else lbs[i].Text = lineBuf[i];
|
||||
// }
|
||||
|
||||
// }
|
||||
//}
|
||||
|
||||
|
||||
|
||||
private void label1_MouseMove(object sender, MouseEventArgs e)
|
||||
{
|
||||
if (fMove)
|
||||
{
|
||||
Point offset = new Point(e.X - MDownPos.X, e.Y - MDownPos.Y);
|
||||
this.Left += offset.X;
|
||||
this.Top += offset.Y;
|
||||
offset = new Point(0, 0);
|
||||
}
|
||||
}
|
||||
|
||||
private void label1_MouseUp(object sender, MouseEventArgs e)
|
||||
{
|
||||
fMove = false;
|
||||
}
|
||||
|
||||
private void label1_MouseDown(object sender, MouseEventArgs e)
|
||||
{
|
||||
MDownPos = new Point(e.X, e.Y);
|
||||
fMove = true;
|
||||
}
|
||||
|
||||
private void label1_MouseDoubleClick(object sender, MouseEventArgs e)
|
||||
{
|
||||
|
||||
|
||||
}
|
||||
public enum EWinColor
|
||||
{
|
||||
Attention = 0,
|
||||
Error,
|
||||
Information
|
||||
}
|
||||
|
||||
public void SetWindowColor(EWinColor wincolor)
|
||||
{
|
||||
switch (wincolor)
|
||||
{
|
||||
case EWinColor.Attention:
|
||||
lbTitle.BackColor = Color.Gold;
|
||||
lbTitle.BackColor2 = Color.Orange;
|
||||
lbTitle.ShadowColor = Color.FromArgb(150, 150, 150);
|
||||
lbTitle.ForeColor = Color.FromArgb(50, 50, 50);
|
||||
break;
|
||||
case EWinColor.Error:
|
||||
lbTitle.BackColor = Color.Brown;
|
||||
lbTitle.BackColor2 = Color.Tomato;
|
||||
lbTitle.ShadowColor = Color.FromArgb(50, 50, 50);
|
||||
lbTitle.ForeColor = Color.WhiteSmoke;
|
||||
break;
|
||||
default:
|
||||
lbTitle.BackColor = Color.DarkTurquoise;
|
||||
lbTitle.BackColor2 = Color.LightSkyBlue;
|
||||
lbTitle.ShadowColor = Color.FromArgb(50, 50, 50);
|
||||
lbTitle.ForeColor = Color.WhiteSmoke;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
private void lbTitle_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.DialogResult = DialogResult.Cancel;
|
||||
this.Close();
|
||||
}
|
||||
|
||||
private void tmBlink_Tick(object sender, EventArgs e)
|
||||
{
|
||||
var bg1 = lbTitle.BackColor;
|
||||
var bg2 = lbTitle.BackColor2;
|
||||
lbTitle.BackColor = bg2;
|
||||
lbTitle.BackColor2 = bg1;
|
||||
}
|
||||
|
||||
private void btYes_Click(object sender, EventArgs e)
|
||||
{
|
||||
//파일
|
||||
var file = arLabel1.Tag.ToString();
|
||||
if(System.IO.File.Exists(file))
|
||||
{
|
||||
//이 파일을 _patch 폴더에 압축해제한다.
|
||||
var dir_path = new System.IO.DirectoryInfo(System.IO.Path.Combine(Util.CurrentPath,"_patch"));
|
||||
if (dir_path.Exists == true)
|
||||
{
|
||||
try
|
||||
{
|
||||
dir_path.Delete(true);
|
||||
} catch (Exception ex)
|
||||
{
|
||||
Util.MsgE(ex.Message);
|
||||
return;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
dir_path.Create(); //폴더를 생성해준다.
|
||||
}
|
||||
|
||||
//해당폴더에 압축을 해제해준다.
|
||||
var f = new Ionic.Zip.ZipFile(file);
|
||||
f.ExtractProgress += F_ExtractProgress;
|
||||
f.ExtractAll(dir_path.FullName);
|
||||
f.ExtractProgress -= F_ExtractProgress;
|
||||
|
||||
//패치정보파일 추가
|
||||
var infofile = System.IO.Path.Combine(dir_path.FullName, "version.txt");
|
||||
System.IO.File.WriteAllText(infofile, patchversion, System.Text.Encoding.UTF8);
|
||||
|
||||
DialogResult = DialogResult.Yes;
|
||||
this.Close();
|
||||
}
|
||||
else
|
||||
{
|
||||
Util.MsgE("패치파일이 없습니다\n" + file);
|
||||
return;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private void F_ExtractProgress(object sender, Ionic.Zip.ExtractProgressEventArgs e)
|
||||
{
|
||||
if(e.TotalBytesToTransfer < 1)
|
||||
{
|
||||
lb3.ProgressValue = 0;
|
||||
}
|
||||
else
|
||||
{
|
||||
var perc = (e.BytesTransferred / e.TotalBytesToTransfer) * 100.0;
|
||||
this.lb3.ProgressValue = (float)perc;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
private void btNo_Click(object sender, EventArgs e)
|
||||
{
|
||||
DialogResult = DialogResult.Cancel;
|
||||
this.Close();
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
123
Cs_HMI/Project/Dialog/fUpdateForm.resx
Normal file
123
Cs_HMI/Project/Dialog/fUpdateForm.resx
Normal file
@@ -0,0 +1,123 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<metadata name="tmBlink.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
</metadata>
|
||||
</root>
|
||||
168
Cs_HMI/Project/Dialog/fVolume.Designer.cs
generated
Normal file
168
Cs_HMI/Project/Dialog/fVolume.Designer.cs
generated
Normal file
@@ -0,0 +1,168 @@
|
||||
namespace Project.Dialog
|
||||
{
|
||||
partial class fVolume
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (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()
|
||||
{
|
||||
this.button1 = new System.Windows.Forms.Button();
|
||||
this.button2 = new System.Windows.Forms.Button();
|
||||
this.button3 = new System.Windows.Forms.Button();
|
||||
this.button4 = new System.Windows.Forms.Button();
|
||||
this.button5 = new System.Windows.Forms.Button();
|
||||
this.button6 = new System.Windows.Forms.Button();
|
||||
this.button7 = new System.Windows.Forms.Button();
|
||||
this.button8 = new System.Windows.Forms.Button();
|
||||
this.textBox1 = new System.Windows.Forms.TextBox();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// button1
|
||||
//
|
||||
this.button1.Location = new System.Drawing.Point(10, 9);
|
||||
this.button1.Name = "button1";
|
||||
this.button1.Size = new System.Drawing.Size(169, 103);
|
||||
this.button1.TabIndex = 0;
|
||||
this.button1.Text = "up";
|
||||
this.button1.UseVisualStyleBackColor = true;
|
||||
this.button1.Click += new System.EventHandler(this.button1_Click);
|
||||
//
|
||||
// button2
|
||||
//
|
||||
this.button2.Location = new System.Drawing.Point(185, 9);
|
||||
this.button2.Name = "button2";
|
||||
this.button2.Size = new System.Drawing.Size(169, 103);
|
||||
this.button2.TabIndex = 1;
|
||||
this.button2.Text = "down";
|
||||
this.button2.UseVisualStyleBackColor = true;
|
||||
this.button2.Click += new System.EventHandler(this.button2_Click);
|
||||
//
|
||||
// button3
|
||||
//
|
||||
this.button3.Location = new System.Drawing.Point(360, 9);
|
||||
this.button3.Name = "button3";
|
||||
this.button3.Size = new System.Drawing.Size(169, 103);
|
||||
this.button3.TabIndex = 2;
|
||||
this.button3.Text = "mute";
|
||||
this.button3.UseVisualStyleBackColor = true;
|
||||
this.button3.Click += new System.EventHandler(this.button3_Click);
|
||||
//
|
||||
// button4
|
||||
//
|
||||
this.button4.Location = new System.Drawing.Point(185, 118);
|
||||
this.button4.Name = "button4";
|
||||
this.button4.Size = new System.Drawing.Size(169, 103);
|
||||
this.button4.TabIndex = 4;
|
||||
this.button4.Text = "music down";
|
||||
this.button4.UseVisualStyleBackColor = true;
|
||||
this.button4.Click += new System.EventHandler(this.button4_Click);
|
||||
//
|
||||
// button5
|
||||
//
|
||||
this.button5.Location = new System.Drawing.Point(10, 118);
|
||||
this.button5.Name = "button5";
|
||||
this.button5.Size = new System.Drawing.Size(169, 103);
|
||||
this.button5.TabIndex = 3;
|
||||
this.button5.Text = "music up";
|
||||
this.button5.UseVisualStyleBackColor = true;
|
||||
this.button5.Click += new System.EventHandler(this.button5_Click);
|
||||
//
|
||||
// button6
|
||||
//
|
||||
this.button6.Location = new System.Drawing.Point(359, 118);
|
||||
this.button6.Name = "button6";
|
||||
this.button6.Size = new System.Drawing.Size(169, 46);
|
||||
this.button6.TabIndex = 5;
|
||||
this.button6.Text = "play";
|
||||
this.button6.UseVisualStyleBackColor = true;
|
||||
this.button6.Click += new System.EventHandler(this.button6_Click);
|
||||
//
|
||||
// button7
|
||||
//
|
||||
this.button7.Location = new System.Drawing.Point(359, 175);
|
||||
this.button7.Name = "button7";
|
||||
this.button7.Size = new System.Drawing.Size(169, 46);
|
||||
this.button7.TabIndex = 5;
|
||||
this.button7.Text = "stop";
|
||||
this.button7.UseVisualStyleBackColor = true;
|
||||
this.button7.Click += new System.EventHandler(this.button7_Click);
|
||||
//
|
||||
// button8
|
||||
//
|
||||
this.button8.Location = new System.Drawing.Point(10, 227);
|
||||
this.button8.Name = "button8";
|
||||
this.button8.Size = new System.Drawing.Size(169, 46);
|
||||
this.button8.TabIndex = 6;
|
||||
this.button8.Text = "Speak";
|
||||
this.button8.UseVisualStyleBackColor = true;
|
||||
this.button8.Click += new System.EventHandler(this.button8_Click);
|
||||
//
|
||||
// textBox1
|
||||
//
|
||||
this.textBox1.Font = new System.Drawing.Font("굴림", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.textBox1.Location = new System.Drawing.Point(185, 234);
|
||||
this.textBox1.Name = "textBox1";
|
||||
this.textBox1.Size = new System.Drawing.Size(343, 32);
|
||||
this.textBox1.TabIndex = 7;
|
||||
this.textBox1.Text = "음성 테스트 메세지 입니다";
|
||||
//
|
||||
// fVolume
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(540, 282);
|
||||
this.Controls.Add(this.textBox1);
|
||||
this.Controls.Add(this.button8);
|
||||
this.Controls.Add(this.button7);
|
||||
this.Controls.Add(this.button6);
|
||||
this.Controls.Add(this.button4);
|
||||
this.Controls.Add(this.button5);
|
||||
this.Controls.Add(this.button3);
|
||||
this.Controls.Add(this.button2);
|
||||
this.Controls.Add(this.button1);
|
||||
this.MaximizeBox = false;
|
||||
this.MinimizeBox = false;
|
||||
this.Name = "fVolume";
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||
this.Text = "fVolume";
|
||||
this.Load += new System.EventHandler(this.fVolume_Load);
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.Button button1;
|
||||
private System.Windows.Forms.Button button2;
|
||||
private System.Windows.Forms.Button button3;
|
||||
private System.Windows.Forms.Button button4;
|
||||
private System.Windows.Forms.Button button5;
|
||||
private System.Windows.Forms.Button button6;
|
||||
private System.Windows.Forms.Button button7;
|
||||
private System.Windows.Forms.Button button8;
|
||||
private System.Windows.Forms.TextBox textBox1;
|
||||
}
|
||||
}
|
||||
124
Cs_HMI/Project/Dialog/fVolume.cs
Normal file
124
Cs_HMI/Project/Dialog/fVolume.cs
Normal file
@@ -0,0 +1,124 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace Project.Dialog
|
||||
{
|
||||
public partial class fVolume : Form
|
||||
{
|
||||
//AudioSwitcher.AudioApi.CoreAudio.CoreAudioController ac;
|
||||
//AudioSwitcher.AudioApi.CoreAudio.CoreAudioDevice dev;
|
||||
System.Media.SoundPlayer snd;
|
||||
|
||||
private const int APPCOMMAND_VOLUME_MUTE = 0x80000;
|
||||
private const int APPCOMMAND_VOLUME_UP = 0xA0000;
|
||||
private const int APPCOMMAND_VOLUME_DOWN = 0x90000;
|
||||
private const int WM_APPCOMMAND = 0x319;
|
||||
|
||||
[DllImport("user32.dll")]
|
||||
public static extern IntPtr SendMessageW(IntPtr hWnd, int Msg,
|
||||
IntPtr wParam, IntPtr lParam);
|
||||
|
||||
private void Mute()
|
||||
{
|
||||
SendMessageW(this.Handle, WM_APPCOMMAND, this.Handle,
|
||||
(IntPtr)APPCOMMAND_VOLUME_MUTE);
|
||||
}
|
||||
|
||||
private void VolDown()
|
||||
{
|
||||
SendMessageW(this.Handle, WM_APPCOMMAND, this.Handle,
|
||||
(IntPtr)APPCOMMAND_VOLUME_DOWN);
|
||||
}
|
||||
|
||||
private void VolUp()
|
||||
{
|
||||
SendMessageW(this.Handle, WM_APPCOMMAND, this.Handle,
|
||||
(IntPtr)APPCOMMAND_VOLUME_UP);
|
||||
}
|
||||
|
||||
public fVolume()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
private void trackBar1_Scroll(object sender, EventArgs e)
|
||||
{
|
||||
//if(dev != null)
|
||||
//{
|
||||
// dev.Volume = this.trackBar1.Value;
|
||||
// System.Media.SystemSounds.Beep.Play();
|
||||
//}
|
||||
}
|
||||
|
||||
private void fVolume_Load(object sender, EventArgs e)
|
||||
{
|
||||
snd = new System.Media.SoundPlayer();
|
||||
//var dev = new AudioSwitcher.AudioApi.CoreAudio.CoreAudioController().GetPlaybackDevices();
|
||||
//if (dev == null)
|
||||
//{
|
||||
// trackBar1.Enabled = false;
|
||||
// Util.MsgE("사운드 장치가 없습니다", true);
|
||||
//}
|
||||
//else
|
||||
//{
|
||||
// this.trackBar1.Value = (int)dev.Volume;
|
||||
// System.Media.SystemSounds.Beep.Play();
|
||||
//}
|
||||
}
|
||||
|
||||
private void button1_Click(object sender, EventArgs e)
|
||||
{
|
||||
//up
|
||||
VolUp();
|
||||
System.Media.SystemSounds.Beep.Play();
|
||||
}
|
||||
|
||||
private void button2_Click(object sender, EventArgs e)
|
||||
{
|
||||
VolDown();
|
||||
System.Media.SystemSounds.Beep.Play();
|
||||
}
|
||||
|
||||
private void button3_Click(object sender, EventArgs e)
|
||||
{
|
||||
Mute();
|
||||
}
|
||||
|
||||
private void button5_Click(object sender, EventArgs e)
|
||||
{
|
||||
PUB.mplayer.Volume += 0.1;
|
||||
PUB.setting.musicvol = (int)(PUB.mplayer.Volume * 100);
|
||||
}
|
||||
|
||||
private void button4_Click(object sender, EventArgs e)
|
||||
{
|
||||
PUB.mplayer.Volume -= 0.1;
|
||||
PUB.setting.musicvol = (int)(PUB.mplayer.Volume * 100);
|
||||
}
|
||||
|
||||
private void button7_Click(object sender, EventArgs e)
|
||||
{
|
||||
PUB.mplayer.Stop();
|
||||
}
|
||||
|
||||
private void button6_Click(object sender, EventArgs e)
|
||||
{
|
||||
PUB.mplayer.Play();
|
||||
}
|
||||
|
||||
private void button8_Click(object sender, EventArgs e)
|
||||
{
|
||||
var s = "고수석님, 그 에러는 못고쳐요. 포기 하면 편해요";
|
||||
var s1 = $"현재시간은 {DateTime.Now.Hour}시 입니다";
|
||||
PUB.Speak( this.textBox1.Text);
|
||||
}
|
||||
}
|
||||
}
|
||||
120
Cs_HMI/Project/Dialog/fVolume.resx
Normal file
120
Cs_HMI/Project/Dialog/fVolume.resx
Normal file
@@ -0,0 +1,120 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
</root>
|
||||
Reference in New Issue
Block a user