Block startup when a newer Release exists; keep offline pharmacies working. Co-authored-by: Cursor <cursoragent@cursor.com>
108 lines
4.7 KiB
C#
108 lines
4.7 KiB
C#
namespace Электронная_Фармация.HelpForms
|
||
{
|
||
partial class HF_UpdateAvailable
|
||
{
|
||
private System.ComponentModel.IContainer components = null;
|
||
|
||
protected override void Dispose(bool disposing)
|
||
{
|
||
if (disposing && (components != null))
|
||
{
|
||
components.Dispose();
|
||
}
|
||
base.Dispose(disposing);
|
||
}
|
||
|
||
#region Windows Form Designer generated code
|
||
|
||
private void InitializeComponent()
|
||
{
|
||
this.panelHeader = new System.Windows.Forms.Panel();
|
||
this.lblTitle = new System.Windows.Forms.Label();
|
||
this.lblMessage = new System.Windows.Forms.Label();
|
||
this.btnDownload = new Elfisa.UI.Controls.ModernButton();
|
||
this.btnExit = new Elfisa.UI.Controls.ModernButton();
|
||
this.panelHeader.SuspendLayout();
|
||
this.SuspendLayout();
|
||
//
|
||
// panelHeader
|
||
//
|
||
this.panelHeader.Controls.Add(this.lblTitle);
|
||
this.panelHeader.Dock = System.Windows.Forms.DockStyle.Top;
|
||
this.panelHeader.Location = new System.Drawing.Point(0, 0);
|
||
this.panelHeader.Name = "panelHeader";
|
||
this.panelHeader.Size = new System.Drawing.Size(520, 56);
|
||
this.panelHeader.TabIndex = 0;
|
||
//
|
||
// lblTitle
|
||
//
|
||
this.lblTitle.Font = new System.Drawing.Font("Segoe UI Semibold", 13.8F, System.Drawing.FontStyle.Bold);
|
||
this.lblTitle.ForeColor = System.Drawing.Color.White;
|
||
this.lblTitle.Location = new System.Drawing.Point(12, 10);
|
||
this.lblTitle.Name = "lblTitle";
|
||
this.lblTitle.Size = new System.Drawing.Size(480, 36);
|
||
this.lblTitle.TabIndex = 0;
|
||
this.lblTitle.Text = "Доступно новое обновление";
|
||
this.lblTitle.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||
//
|
||
// lblMessage
|
||
//
|
||
this.lblMessage.Font = new System.Drawing.Font("Segoe UI", 11F);
|
||
this.lblMessage.Location = new System.Drawing.Point(24, 72);
|
||
this.lblMessage.Name = "lblMessage";
|
||
this.lblMessage.Size = new System.Drawing.Size(472, 120);
|
||
this.lblMessage.TabIndex = 1;
|
||
this.lblMessage.Text = "Доступно новое обновление";
|
||
//
|
||
// btnDownload
|
||
//
|
||
this.btnDownload.Font = new System.Drawing.Font("Segoe UI", 11F);
|
||
this.btnDownload.Location = new System.Drawing.Point(24, 220);
|
||
this.btnDownload.Name = "btnDownload";
|
||
this.btnDownload.Size = new System.Drawing.Size(180, 40);
|
||
this.btnDownload.TabIndex = 2;
|
||
this.btnDownload.Text = "Скачать";
|
||
this.btnDownload.Click += new System.EventHandler(this.btnDownload_Click);
|
||
//
|
||
// btnExit
|
||
//
|
||
this.btnExit.Font = new System.Drawing.Font("Segoe UI", 11F);
|
||
this.btnExit.Location = new System.Drawing.Point(316, 220);
|
||
this.btnExit.Name = "btnExit";
|
||
this.btnExit.Size = new System.Drawing.Size(180, 40);
|
||
this.btnExit.TabIndex = 3;
|
||
this.btnExit.Text = "Выход";
|
||
this.btnExit.Click += new System.EventHandler(this.btnExit_Click);
|
||
//
|
||
// HF_UpdateAvailable
|
||
//
|
||
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
|
||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||
this.ClientSize = new System.Drawing.Size(520, 290);
|
||
this.Controls.Add(this.btnExit);
|
||
this.Controls.Add(this.btnDownload);
|
||
this.Controls.Add(this.lblMessage);
|
||
this.Controls.Add(this.panelHeader);
|
||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
|
||
this.MaximizeBox = false;
|
||
this.MinimizeBox = false;
|
||
this.Name = "HF_UpdateAvailable";
|
||
this.ShowIcon = false;
|
||
this.ShowInTaskbar = false;
|
||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
|
||
this.Text = "Обновление";
|
||
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.HF_UpdateAvailable_FormClosing);
|
||
this.panelHeader.ResumeLayout(false);
|
||
this.ResumeLayout(false);
|
||
}
|
||
|
||
#endregion
|
||
|
||
private System.Windows.Forms.Panel panelHeader;
|
||
private System.Windows.Forms.Label lblTitle;
|
||
private System.Windows.Forms.Label lblMessage;
|
||
private Elfisa.UI.Controls.ModernButton btnDownload;
|
||
private Elfisa.UI.Controls.ModernButton btnExit;
|
||
}
|
||
}
|