//------------------------------------------------------------------------------
// <auto-generated>
//     This code was generated by a tool.
//     Runtime Version:4.0.30319.1008
//
//     Changes to this file may cause incorrect behavior and will be lost if
//     the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------

namespace Neo.ApplicationFramework.Generated {
    using Neo.ApplicationFramework.Controls.Controls;
    using Neo.ApplicationFramework.Controls;
    using Neo.ApplicationFramework.Interfaces;
    using Neo.ApplicationFramework.Tools.Security;
    using Neo.ApplicationFramework.Common.MultiLanguage;
    
    
    [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
    public partial class Screensaver : Neo.ApplicationFramework.Controls.Controls.Form {
        
        private Neo.ApplicationFramework.Controls.Controls.Button m_Button1;
        
        private System.ComponentModel.IContainer components;
        
        public Screensaver() {
            this.InitializeComponent();
            this.m_Button1.Click += new System.EventHandler(this.m_Button1_Action_Click);
            this.ApplyLanguageInternal();
        }
        
        protected Neo.ApplicationFramework.Controls.Script.ButtonCFAdapter Button1 {
            get {
                return this.AdapterService.CreateAdapter<Neo.ApplicationFramework.Controls.Script.ButtonCFAdapter>(this.m_Button1);
            }
        }
        
        private void InitializeComponent() {
            this.components = new System.ComponentModel.Container();
            Neo.ApplicationFramework.Common.Graphics.Logic.BrushCF brushcf1 = new Neo.ApplicationFramework.Common.Graphics.Logic.BrushCF();
            Neo.ApplicationFramework.Common.Graphics.Logic.BrushCF brushcf2 = new Neo.ApplicationFramework.Common.Graphics.Logic.BrushCF();
            Neo.ApplicationFramework.Common.Graphics.Logic.BrushCF brushcf3 = new Neo.ApplicationFramework.Common.Graphics.Logic.BrushCF();
            this.m_Button1 = new Neo.ApplicationFramework.Controls.Controls.Button();
            ((System.ComponentModel.ISupportInitialize)(this.m_Button1)).BeginInit();
            this.SuspendLayout();
            // 
            // Screensaver
            // 
            brushcf1.EndColor = System.Drawing.Color.Empty;
            brushcf1.StartColor = System.Drawing.Color.FromArgb(((int)(((byte)(132)))), ((int)(((byte)(162)))), ((int)(((byte)(198)))));
            this.Background = brushcf1;
            this.BorderStyle = Neo.ApplicationFramework.Interfaces.ScreenBorderStyle.ThreeDBorder;
            this.ClientSize = new System.Drawing.Size(320, 240);
            this.ControlBox = false;
            // 
            // m_Button1
            // 
            brushcf2.EndColor = System.Drawing.Color.FromArgb(((int)(((byte)(212)))), ((int)(((byte)(208)))), ((int)(((byte)(200)))));
            brushcf2.FillDirection = Neo.ApplicationFramework.Interfaces.FillDirection.VerticalTopToBottom;
            brushcf2.StartColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
            this.m_Button1.Background = brushcf2;
            brushcf3.EndColor = System.Drawing.Color.Empty;
            brushcf3.StartColor = System.Drawing.Color.FromArgb(((int)(((byte)(112)))), ((int)(((byte)(112)))), ((int)(((byte)(112)))));
            this.m_Button1.BorderBrush = brushcf3;
            this.m_Button1.BorderThickness = new Neo.ApplicationFramework.Common.Graphics.Logic.ThicknessCF(1D, 1D, 1D, 1D);
            this.m_Button1.FontFamily = "Tahoma";
            this.m_Button1.FontSizePixels = 8;
            this.m_Button1.Foreground = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
            this.m_Button1.Height = 213;
            this.m_Button1.ImageMargin = new Neo.ApplicationFramework.Common.Graphics.Logic.ThicknessCF(2D, 2D, 2D, 2D);
            this.m_Button1.IndicatorMargin = null;
            this.m_Button1.Left = 13;
            this.m_Button1.Name = "m_Button1";
            this.m_Button1.ScreenOwnerName = "Screensaver";
            this.m_Button1.StyleName = "Default";
            this.m_Button1.SymbolHeight = 0;
            this.m_Button1.SymbolWidth = 0;
            this.m_Button1.TabIndex = 2147483647;
            this.m_Button1.TextHeight = 10;
            this.m_Button1.TextMargin = new Neo.ApplicationFramework.Common.Graphics.Logic.ThicknessCF(2D, 2D, 2D, 2D);
            this.m_Button1.TextWidth = 286;
            this.m_Button1.Top = 13;
            this.m_Button1.Transparent = true;
            this.m_Button1.Value = 0D;
            this.m_Button1.Width = 292;
            this.DrawingPrimitives.Add(this.m_Button1);
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
            this.Location = new System.Drawing.Point(0, 0);
            this.ModalScreen = true;
            this.Name = "Screensaver";
            this.PopupScreen = false;
            this.ScreenTitle = "Screen1";
            this.TemplateScreen = null;
            this.WindowState = System.Windows.Forms.FormWindowState.Normal;
            ((System.ComponentModel.ISupportInitialize)(this.m_Button1)).EndInit();
            this.ResumeLayout(false);
            this.SecurityExtender.SetSecurityGroupsRequired(this.m_Button1, SecurityGroups.None);
            this.SecurityExtender.SetVisibilityOnAccessDenied(this.m_Button1, VisibilityModes.Default);
            this.DelayInputExtender.SetDelayMouseInput(this, false);
            this.DelayInputExtender.SetDelayMouseInput(this.m_Button1, false);
        }
        
        protected override void Dispose(bool disposing) {
            base.Dispose(disposing);
            this.components.Dispose();
        }
        
        private void m_Button1_Action_Click(object sender, System.EventArgs e) {
            Neo.ApplicationFramework.Generated.Globals.AuditTrailService.LogAction("m_Button1", "Click", "Show Screen", "Menu", "");
            Neo.ApplicationFramework.Generated.Globals.Menu.Show();
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
        private void ApplyLanguageInternal() {
            Neo.ApplicationFramework.Tools.MultiLanguage.MultiLanguageResourceManager resources = new Neo.ApplicationFramework.Tools.MultiLanguage.MultiLanguageResourceManager(typeof(Screensaver));
            this.m_Button1.Text = resources.GetText("Screensaver.Button1.Text", "");
            this.ApplyResourcesOnForm();
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
        protected override void ApplyLanguage() {
            this.ApplyLanguageInternal();
            base.ApplyLanguage();
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
        public override void ConnectDataBindings() {
            base.ConnectDataBindings();
        }
    }
}
