123 lines
5.5 KiB
C#
123 lines
5.5 KiB
C#
using System.Drawing;
|
|
using System.Windows.Forms;
|
|
|
|
namespace AutoIngest.App
|
|
{
|
|
/// <summary>
|
|
/// Tiny borderless toast popup. Lives in the tray by default; only shown briefly
|
|
/// while an SD/USB import is running (and a few seconds after it finishes).
|
|
/// Canonical serialized InitializeComponent so the WinForms Designer can open it.
|
|
/// </summary>
|
|
partial class MainForm
|
|
{
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing)
|
|
{
|
|
_trayBitmap?.Dispose();
|
|
_hideTimer?.Dispose();
|
|
_coordinator?.Dispose();
|
|
components?.Dispose();
|
|
}
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
#region Windows Form Designer generated code
|
|
|
|
private void InitializeComponent()
|
|
{
|
|
this.pnlToast = new System.Windows.Forms.Panel();
|
|
this.txtLog = new System.Windows.Forms.RichTextBox();
|
|
this.lblStatus = new System.Windows.Forms.Label();
|
|
this.lblTitle = new System.Windows.Forms.Label();
|
|
this.pnlToast.SuspendLayout();
|
|
this.SuspendLayout();
|
|
//
|
|
// pnlToast
|
|
//
|
|
this.pnlToast.BackColor = System.Drawing.Color.FromArgb(30, 30, 30);
|
|
this.pnlToast.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
|
this.pnlToast.Controls.Add(this.txtLog);
|
|
this.pnlToast.Controls.Add(this.lblStatus);
|
|
this.pnlToast.Controls.Add(this.lblTitle);
|
|
this.pnlToast.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.pnlToast.Location = new System.Drawing.Point(0, 0);
|
|
this.pnlToast.Name = "pnlToast";
|
|
this.pnlToast.Size = new System.Drawing.Size(340, 170);
|
|
this.pnlToast.TabIndex = 0;
|
|
//
|
|
// txtLog
|
|
//
|
|
this.txtLog.BackColor = System.Drawing.Color.FromArgb(20, 20, 20);
|
|
this.txtLog.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
|
this.txtLog.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.txtLog.Font = new System.Drawing.Font("Consolas", 8F);
|
|
this.txtLog.ForeColor = System.Drawing.Color.FromArgb(224, 224, 224);
|
|
this.txtLog.Location = new System.Drawing.Point(0, 48);
|
|
this.txtLog.Name = "txtLog";
|
|
this.txtLog.ReadOnly = true;
|
|
this.txtLog.ScrollBars = System.Windows.Forms.RichTextBoxScrollBars.Vertical;
|
|
this.txtLog.Size = new System.Drawing.Size(338, 121);
|
|
this.txtLog.TabIndex = 2;
|
|
this.txtLog.Text = "";
|
|
//
|
|
// lblStatus
|
|
//
|
|
this.lblStatus.BackColor = System.Drawing.Color.FromArgb(30, 30, 30);
|
|
this.lblStatus.Dock = System.Windows.Forms.DockStyle.Top;
|
|
this.lblStatus.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold);
|
|
this.lblStatus.ForeColor = System.Drawing.Color.FromArgb(88, 166, 255);
|
|
this.lblStatus.Location = new System.Drawing.Point(0, 24);
|
|
this.lblStatus.Name = "lblStatus";
|
|
this.lblStatus.Padding = new System.Windows.Forms.Padding(10, 2, 10, 2);
|
|
this.lblStatus.Size = new System.Drawing.Size(338, 24);
|
|
this.lblStatus.TabIndex = 1;
|
|
this.lblStatus.Text = "\u25CF Idle \u2014 insert an SD card or USB drive";
|
|
this.lblStatus.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
|
//
|
|
// lblTitle
|
|
//
|
|
this.lblTitle.BackColor = System.Drawing.Color.FromArgb(42, 42, 42);
|
|
this.lblTitle.Dock = System.Windows.Forms.DockStyle.Top;
|
|
this.lblTitle.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold);
|
|
this.lblTitle.ForeColor = System.Drawing.Color.FromArgb(224, 224, 224);
|
|
this.lblTitle.Location = new System.Drawing.Point(0, 0);
|
|
this.lblTitle.Name = "lblTitle";
|
|
this.lblTitle.Padding = new System.Windows.Forms.Padding(10, 4, 10, 4);
|
|
this.lblTitle.Size = new System.Drawing.Size(338, 24);
|
|
this.lblTitle.TabIndex = 0;
|
|
this.lblTitle.Text = "AutoIngest";
|
|
this.lblTitle.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
|
//
|
|
// MainForm
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.BackColor = System.Drawing.Color.FromArgb(30, 30, 30);
|
|
this.ClientSize = new System.Drawing.Size(340, 170);
|
|
this.Controls.Add(this.pnlToast);
|
|
this.ForeColor = System.Drawing.Color.FromArgb(224, 224, 224);
|
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
|
|
this.MaximizeBox = false;
|
|
this.MinimizeBox = false;
|
|
this.Name = "MainForm";
|
|
this.ShowInTaskbar = false;
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.Manual;
|
|
this.Text = "AutoIngest";
|
|
this.TopMost = true;
|
|
this.pnlToast.ResumeLayout(false);
|
|
this.ResumeLayout(false);
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.Panel pnlToast;
|
|
private System.Windows.Forms.Label lblTitle;
|
|
private System.Windows.Forms.Label lblStatus;
|
|
private System.Windows.Forms.RichTextBox txtLog;
|
|
}
|
|
}
|