Exemplo n.º 1
0
        private void ReDesignKeyForm()
        {
#if UvAutoGeneration
            int pith = this.label_ink.Location.Y - this.label1.Location.Y;
            this.Height += pith;

            m_ButtonSetUv        = new System.Windows.Forms.Button();
            m_serialNoControl_uv = new BYHXControls.SerialNoControl();
            label_uv             = new System.Windows.Forms.Label();

            label_uv.Text      = ResString.GetResString("label_uv.Text");
            m_ButtonSetUv.Text = ResString.GetResString("m_ButtonSetUv.Text");
//			label_uv.Text = "UV Password:"******"Set";

            label_uv.Location = new Point(this.label_ink.Location.X, this.label_ink.Location.Y + pith);
            label_uv.Size     = this.label_ink.Size;

            m_serialNoControl_uv.Location     = new Point(this.m_serialNoControl_ink.Location.X, label_uv.Location.Y);
            m_serialNoControl_uv.Size         = this.m_serialNoControl_ink.Size;
            m_serialNoControl_uv.CharsPerUnit = 4;
            m_serialNoControl_uv.Count        = 4;

            m_ButtonSetUv.Location = new Point(this.m_ButtonSetInk.Location.X, label_uv.Location.Y);
            m_ButtonSetUv.Size     = this.m_ButtonSetInk.Size;

            m_ButtonSetUv.Click += new System.EventHandler(this.m_ButtonSetUv_Click);
            this.Controls.Add(this.m_ButtonSetUv);
            this.Controls.Add(this.m_serialNoControl_uv);
            this.Controls.Add(this.label_uv);
#endif
        }
Exemplo n.º 2
0
 /// <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(PasswordForm));
     this.m_LabelPassword       = new System.Windows.Forms.Label();
     this.label1                = new System.Windows.Forms.Label();
     this.m_ButtonSetLang       = new System.Windows.Forms.Button();
     this.m_ButtonSetTime       = new System.Windows.Forms.Button();
     this.m_ButtonSetInk        = new System.Windows.Forms.Button();
     this.label_ink             = new System.Windows.Forms.Label();
     this.m_ButtonSetUv         = new System.Windows.Forms.Button();
     this.label_uv              = new System.Windows.Forms.Label();
     this.panelTimePassword     = new System.Windows.Forms.Panel();
     this.m_SerialNoControlTime = new BYHXControls.SerialNoControl();
     this.panelLanPassWord      = new System.Windows.Forms.Panel();
     this.m_SerialNoControlLang = new BYHXControls.SerialNoControl();
     this.panelInkPassword      = new System.Windows.Forms.Panel();
     this.m_serialNoControl_ink = new BYHXControls.SerialNoControl();
     this.panelUvPassword       = new System.Windows.Forms.Panel();
     this.m_serialNoControl_uv  = new BYHXControls.SerialNoControl();
     this.dividerPanel1         = new DividerPanel.DividerPanel();
     this.m_ButtonOK            = new System.Windows.Forms.Button();
     this.m_ButtonExit          = new System.Windows.Forms.Button();
     this.panelTimePassword.SuspendLayout();
     this.panelLanPassWord.SuspendLayout();
     this.panelInkPassword.SuspendLayout();
     this.panelUvPassword.SuspendLayout();
     this.dividerPanel1.SuspendLayout();
     this.SuspendLayout();
     //
     // m_LabelPassword
     //
     resources.ApplyResources(this.m_LabelPassword, "m_LabelPassword");
     this.m_LabelPassword.Name = "m_LabelPassword";
     //
     // label1
     //
     resources.ApplyResources(this.label1, "label1");
     this.label1.Name = "label1";
     //
     // m_ButtonSetLang
     //
     resources.ApplyResources(this.m_ButtonSetLang, "m_ButtonSetLang");
     this.m_ButtonSetLang.Name   = "m_ButtonSetLang";
     this.m_ButtonSetLang.Click += new System.EventHandler(this.m_ButtonSetLang_Click);
     //
     // m_ButtonSetTime
     //
     resources.ApplyResources(this.m_ButtonSetTime, "m_ButtonSetTime");
     this.m_ButtonSetTime.Name   = "m_ButtonSetTime";
     this.m_ButtonSetTime.Click += new System.EventHandler(this.m_ButtonSetTime_Click);
     //
     // m_ButtonSetInk
     //
     resources.ApplyResources(this.m_ButtonSetInk, "m_ButtonSetInk");
     this.m_ButtonSetInk.Name   = "m_ButtonSetInk";
     this.m_ButtonSetInk.Click += new System.EventHandler(this.m_ButtonSetInk_Click);
     //
     // label_ink
     //
     resources.ApplyResources(this.label_ink, "label_ink");
     this.label_ink.Name = "label_ink";
     //
     // m_ButtonSetUv
     //
     resources.ApplyResources(this.m_ButtonSetUv, "m_ButtonSetUv");
     this.m_ButtonSetUv.Name   = "m_ButtonSetUv";
     this.m_ButtonSetUv.Click += new System.EventHandler(this.m_ButtonSetUv_Click);
     //
     // label_uv
     //
     resources.ApplyResources(this.label_uv, "label_uv");
     this.label_uv.Name = "label_uv";
     //
     // panelTimePassword
     //
     this.panelTimePassword.Controls.Add(this.m_ButtonSetTime);
     this.panelTimePassword.Controls.Add(this.m_LabelPassword);
     this.panelTimePassword.Controls.Add(this.m_SerialNoControlTime);
     resources.ApplyResources(this.panelTimePassword, "panelTimePassword");
     this.panelTimePassword.Name = "panelTimePassword";
     //
     // m_SerialNoControlTime
     //
     this.m_SerialNoControlTime.CharsPerUnit = 4;
     this.m_SerialNoControlTime.Count        = 4;
     resources.ApplyResources(this.m_SerialNoControlTime, "m_SerialNoControlTime");
     this.m_SerialNoControlTime.Name           = "m_SerialNoControlTime";
     this.m_SerialNoControlTime.SeparateString = "-";
     //
     // panelLanPassWord
     //
     this.panelLanPassWord.Controls.Add(this.m_SerialNoControlLang);
     this.panelLanPassWord.Controls.Add(this.label1);
     this.panelLanPassWord.Controls.Add(this.m_ButtonSetLang);
     resources.ApplyResources(this.panelLanPassWord, "panelLanPassWord");
     this.panelLanPassWord.Name = "panelLanPassWord";
     //
     // m_SerialNoControlLang
     //
     this.m_SerialNoControlLang.CharsPerUnit = 4;
     this.m_SerialNoControlLang.Count        = 4;
     resources.ApplyResources(this.m_SerialNoControlLang, "m_SerialNoControlLang");
     this.m_SerialNoControlLang.Name           = "m_SerialNoControlLang";
     this.m_SerialNoControlLang.SeparateString = "-";
     //
     // panelInkPassword
     //
     this.panelInkPassword.Controls.Add(this.label_ink);
     this.panelInkPassword.Controls.Add(this.m_ButtonSetInk);
     this.panelInkPassword.Controls.Add(this.m_serialNoControl_ink);
     resources.ApplyResources(this.panelInkPassword, "panelInkPassword");
     this.panelInkPassword.Name = "panelInkPassword";
     //
     // m_serialNoControl_ink
     //
     this.m_serialNoControl_ink.CharsPerUnit = 4;
     this.m_serialNoControl_ink.Count        = 4;
     resources.ApplyResources(this.m_serialNoControl_ink, "m_serialNoControl_ink");
     this.m_serialNoControl_ink.Name           = "m_serialNoControl_ink";
     this.m_serialNoControl_ink.SeparateString = "-";
     //
     // panelUvPassword
     //
     this.panelUvPassword.Controls.Add(this.m_ButtonSetUv);
     this.panelUvPassword.Controls.Add(this.label_uv);
     this.panelUvPassword.Controls.Add(this.m_serialNoControl_uv);
     resources.ApplyResources(this.panelUvPassword, "panelUvPassword");
     this.panelUvPassword.Name = "panelUvPassword";
     //
     // m_serialNoControl_uv
     //
     this.m_serialNoControl_uv.CharsPerUnit = 4;
     this.m_serialNoControl_uv.Count        = 4;
     resources.ApplyResources(this.m_serialNoControl_uv, "m_serialNoControl_uv");
     this.m_serialNoControl_uv.Name           = "m_serialNoControl_uv";
     this.m_serialNoControl_uv.SeparateString = "-";
     //
     // dividerPanel1
     //
     this.dividerPanel1.AllowDrop  = true;
     this.dividerPanel1.BorderSide = System.Windows.Forms.Border3DSide.Top;
     this.dividerPanel1.Controls.Add(this.m_ButtonOK);
     this.dividerPanel1.Controls.Add(this.m_ButtonExit);
     resources.ApplyResources(this.dividerPanel1, "dividerPanel1");
     this.dividerPanel1.Name = "dividerPanel1";
     //
     // m_ButtonOK
     //
     this.m_ButtonOK.DialogResult = System.Windows.Forms.DialogResult.OK;
     resources.ApplyResources(this.m_ButtonOK, "m_ButtonOK");
     this.m_ButtonOK.Name   = "m_ButtonOK";
     this.m_ButtonOK.Click += new System.EventHandler(this.m_ButtonOK_Click);
     //
     // m_ButtonExit
     //
     this.m_ButtonExit.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     resources.ApplyResources(this.m_ButtonExit, "m_ButtonExit");
     this.m_ButtonExit.Name = "m_ButtonExit";
     //
     // PasswordForm
     //
     resources.ApplyResources(this, "$this");
     this.Controls.Add(this.panelUvPassword);
     this.Controls.Add(this.panelInkPassword);
     this.Controls.Add(this.panelLanPassWord);
     this.Controls.Add(this.panelTimePassword);
     this.Controls.Add(this.dividerPanel1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "PasswordForm";
     this.Load           += new System.EventHandler(this.PasswordForm_Load);
     this.panelTimePassword.ResumeLayout(false);
     this.panelTimePassword.PerformLayout();
     this.panelLanPassWord.ResumeLayout(false);
     this.panelLanPassWord.PerformLayout();
     this.panelInkPassword.ResumeLayout(false);
     this.panelInkPassword.PerformLayout();
     this.panelUvPassword.ResumeLayout(false);
     this.panelUvPassword.PerformLayout();
     this.dividerPanel1.ResumeLayout(false);
     this.ResumeLayout(false);
 }