コード例 #1
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.pbIcon       = new VisionInfoSolutionLibrary.PictureBox();
     this.lblKujdes    = new System.Windows.Forms.Label();
     this.lblNrDhomash = new System.Windows.Forms.Label();
     this.numNrDhomash = new VisionInfoSolutionLibrary.NumericBox();
     this.btnOK        = new System.Windows.Forms.Button();
     this.btnAnullo    = new System.Windows.Forms.Button();
     this.error1       = new VisionInfoSolutionLibrary.ErrorProvider();
     this.cmCopyPaste  = new VisionInfoSolutionLibrary.ContextMenu();
     this.mKopjo       = new System.Windows.Forms.MenuItem();
     this.mPrej        = new System.Windows.Forms.MenuItem();
     this.mNgjit       = new System.Windows.Forms.MenuItem();
     this.menuItem4    = new System.Windows.Forms.MenuItem();
     this.mFshi        = new System.Windows.Forms.MenuItem();
     this.mPerzgjidh   = new System.Windows.Forms.MenuItem();
     this.SuspendLayout();
     //
     // pbIcon
     //
     this.pbIcon.Location = new System.Drawing.Point(12, 20);
     this.pbIcon.Name     = "pbIcon";
     this.pbIcon.Size     = new System.Drawing.Size(48, 40);
     this.pbIcon.TabIndex = 0;
     this.pbIcon.TabStop  = false;
     this.pbIcon.Paint   += new System.Windows.Forms.PaintEventHandler(this.pbIcon_Paint);
     //
     // lblKujdes
     //
     this.lblKujdes.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.lblKujdes.Location  = new System.Drawing.Point(64, 12);
     this.lblKujdes.Name      = "lblKujdes";
     this.lblKujdes.Size      = new System.Drawing.Size(320, 56);
     this.lblKujdes.TabIndex  = 1;
     this.lblKujdes.Text      = "Kujdes!\r\nJu po ndryshoni numrin e dhomave te hotelit.\r\nNese rrisni numrin e dhoma" +
                                "ve atehere duhet te kerkoni nje tjeter numer aktivizimi per programin";
     //
     // lblNrDhomash
     //
     this.lblNrDhomash.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.lblNrDhomash.Location  = new System.Drawing.Point(16, 92);
     this.lblNrDhomash.Name      = "lblNrDhomash";
     this.lblNrDhomash.Size      = new System.Drawing.Size(160, 23);
     this.lblNrDhomash.TabIndex  = 2;
     this.lblNrDhomash.Text      = "Jepni numrin e ri te dhomave:";
     //
     // numNrDhomash
     //
     this.numNrDhomash.AutoSize                = false;
     this.numNrDhomash.ContextMenu             = this.cmCopyPaste;
     this.numNrDhomash.DefaultErrorMessage     = "";
     this.numNrDhomash.DesabledControlColor    = System.Drawing.SystemColors.ControlLight;
     this.numNrDhomash.DigitsAfterDecimalPoint = 0;
     this.numNrDhomash.FixedLength             = false;
     this.numNrDhomash.IsValid              = false;
     this.numNrDhomash.KeepFocus            = false;
     this.numNrDhomash.Location             = new System.Drawing.Point(180, 92);
     this.numNrDhomash.Name                 = "numNrDhomash";
     this.numNrDhomash.OnlyPositive         = true;
     this.numNrDhomash.Required             = false;
     this.numNrDhomash.RequiredControlColor = System.Drawing.Color.White;
     this.numNrDhomash.Size                 = new System.Drawing.Size(92, 20);
     this.numNrDhomash.TabIndex             = 3;
     this.numNrDhomash.Text                 = "";
     this.numNrDhomash.TextAlign            = System.Windows.Forms.HorizontalAlignment.Right;
     //
     // btnOK
     //
     this.btnOK.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.btnOK.Location  = new System.Drawing.Point(60, 140);
     this.btnOK.Name      = "btnOK";
     this.btnOK.TabIndex  = 4;
     this.btnOK.Text      = "OK";
     this.btnOK.Click    += new System.EventHandler(this.btnOK_Click);
     //
     // btnAnullo
     //
     this.btnAnullo.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.btnAnullo.FlatStyle    = System.Windows.Forms.FlatStyle.System;
     this.btnAnullo.Location     = new System.Drawing.Point(216, 140);
     this.btnAnullo.Name         = "btnAnullo";
     this.btnAnullo.TabIndex     = 5;
     this.btnAnullo.Text         = "Anullo";
     //
     // error1
     //
     this.error1.ContainerControl = this;
     //
     // cmCopyPaste
     //
     this.cmCopyPaste.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.mKopjo,
         this.mPrej,
         this.mNgjit,
         this.menuItem4,
         this.mFshi,
         this.mPerzgjidh
     });
     this.cmCopyPaste.Popup += new System.EventHandler(this.contextMenu1_Popup);
     //
     // mKopjo
     //
     this.mKopjo.Index  = 0;
     this.mKopjo.Text   = "Kopjo";
     this.mKopjo.Click += new System.EventHandler(this.mKopjo_Click);
     //
     // mPrej
     //
     this.mPrej.Index  = 1;
     this.mPrej.Text   = "Prej";
     this.mPrej.Click += new System.EventHandler(this.mPrej_Click);
     //
     // mNgjit
     //
     this.mNgjit.Index  = 2;
     this.mNgjit.Text   = "Ngjit";
     this.mNgjit.Click += new System.EventHandler(this.mNgjit_Click);
     //
     // menuItem4
     //
     this.menuItem4.Index = 3;
     this.menuItem4.Text  = "-";
     //
     // mFshi
     //
     this.mFshi.Index  = 4;
     this.mFshi.Text   = "Fshi";
     this.mFshi.Click += new System.EventHandler(this.mFshi_Click);
     //
     // mPerzgjidh
     //
     this.mPerzgjidh.Index  = 5;
     this.mPerzgjidh.Text   = "Perzgjidh te gjithen";
     this.mPerzgjidh.Click += new System.EventHandler(this.mPerzgjidh_Click);
     //
     // NumriDhomave
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.CancelButton      = this.btnAnullo;
     this.ClientSize        = new System.Drawing.Size(414, 180);
     this.Controls.Add(this.btnAnullo);
     this.Controls.Add(this.btnOK);
     this.Controls.Add(this.numNrDhomash);
     this.Controls.Add(this.lblNrDhomash);
     this.Controls.Add(this.lblKujdes);
     this.Controls.Add(this.pbIcon);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "NumriDhomave";
     this.ShowInTaskbar   = false;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "Ndryshimi i numrit te dhomave";
     this.Load           += new System.EventHandler(this.NumriDhomave_Load);
     this.ResumeLayout(false);
 }
コード例 #2
0
 /// <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.gbStili         = new VisionInfoSolutionLibrary.GroupBox();
     this.rbStilXP        = new VisionInfoSolutionLibrary.RadioButton(this.components);
     this.rbStilOffice    = new VisionInfoSolutionLibrary.RadioButton(this.components);
     this.gbEmail         = new VisionInfoSolutionLibrary.GroupBox();
     this.lblEmail        = new VisionInfoSolutionLibrary.Label();
     this.lblPassword     = new VisionInfoSolutionLibrary.Label();
     this.lblHost         = new VisionInfoSolutionLibrary.Label();
     this.txtHost         = new VisionInfoSolutionLibrary.TextBox();
     this.txtEmail        = new VisionInfoSolutionLibrary.TextBox();
     this.txtPassword     = new VisionInfoSolutionLibrary.TextBox();
     this.btnRuaj         = new VisionInfoSolutionLibrary.Button(this.components);
     this.gbGjuha         = new VisionInfoSolutionLibrary.GroupBox();
     this.rbFrengjisht    = new VisionInfoSolutionLibrary.RadioButton(this.components);
     this.rbItalisht      = new VisionInfoSolutionLibrary.RadioButton(this.components);
     this.rbAnglisht      = new VisionInfoSolutionLibrary.RadioButton(this.components);
     this.rbShqip         = new VisionInfoSolutionLibrary.RadioButton(this.components);
     this.warning         = new VisionInfoSolutionLibrary.ErrorProvider();
     this.cmbProgramet    = new VisionInfoSolutionLibrary.ComboBox(this.components);
     this.gbAssemblies    = new VisionInfoSolutionLibrary.GroupBox();
     this.label2          = new VisionInfoSolutionLibrary.Label();
     this.label1          = new VisionInfoSolutionLibrary.Label();
     this.txtIpPc         = new VisionInfoSolutionLibrary.TextBox();
     this.btnRuajAssembly = new VisionInfoSolutionLibrary.Button(this.components);
     ((System.ComponentModel.ISupportInitialize)(this.gbStili)).BeginInit();
     this.gbStili.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gbEmail)).BeginInit();
     this.gbEmail.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gbGjuha)).BeginInit();
     this.gbGjuha.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gbAssemblies)).BeginInit();
     this.gbAssemblies.SuspendLayout();
     this.SuspendLayout();
     //
     // lblStatus
     //
     this.lblStatus.Name = "lblStatus";
     //
     // gbStili
     //
     this.gbStili.BackColor = System.Drawing.Color.Transparent;
     this.gbStili.Controls.Add(this.rbStilXP);
     this.gbStili.Controls.Add(this.rbStilOffice);
     this.gbStili.FlatStyle   = System.Windows.Forms.FlatStyle.Flat;
     this.gbStili.Location    = new System.Drawing.Point(10, 42);
     this.gbStili.Name        = "gbStili";
     this.gbStili.Size        = new System.Drawing.Size(390, 68);
     this.gbStili.TabIndex    = 1;
     this.gbStili.Text        = "Stili ne te cilin do te paraqitet programi";
     this.gbStili.VisualStyle = Janus.Windows.UI.Dock.PanelVisualStyle.Office2003;
     //
     // rbStilXP
     //
     this.rbStilXP.Location = new System.Drawing.Point(20, 24);
     this.rbStilXP.Name     = "rbStilXP";
     this.rbStilXP.Size     = new System.Drawing.Size(132, 24);
     this.rbStilXP.TabIndex = 1;
     this.rbStilXP.Text     = "Ne stilin XP dhe klasik";
     //
     // rbStilOffice
     //
     this.rbStilOffice.Location = new System.Drawing.Point(212, 24);
     this.rbStilOffice.Name     = "rbStilOffice";
     this.rbStilOffice.Size     = new System.Drawing.Size(116, 24);
     this.rbStilOffice.TabIndex = 0;
     this.rbStilOffice.Text     = "Ne stilin Office 2003";
     //
     // gbEmail
     //
     this.gbEmail.BackColor = System.Drawing.Color.Transparent;
     this.gbEmail.Controls.Add(this.lblEmail);
     this.gbEmail.Controls.Add(this.lblPassword);
     this.gbEmail.Controls.Add(this.lblHost);
     this.gbEmail.Controls.Add(this.txtHost);
     this.gbEmail.Controls.Add(this.txtEmail);
     this.gbEmail.Controls.Add(this.txtPassword);
     this.gbEmail.FlatStyle   = System.Windows.Forms.FlatStyle.Flat;
     this.gbEmail.Location    = new System.Drawing.Point(10, 184);
     this.gbEmail.Name        = "gbEmail";
     this.gbEmail.Size        = new System.Drawing.Size(390, 132);
     this.gbEmail.TabIndex    = 2;
     this.gbEmail.Text        = "Rregullimi i vlerave te adreses elektronike";
     this.gbEmail.VisualStyle = Janus.Windows.UI.Dock.PanelVisualStyle.Office2003;
     //
     // lblEmail
     //
     this.lblEmail.Location  = new System.Drawing.Point(24, 28);
     this.lblEmail.Name      = "lblEmail";
     this.lblEmail.Size      = new System.Drawing.Size(100, 20);
     this.lblEmail.TabIndex  = 5;
     this.lblEmail.Text      = "Adresa e emailit";
     this.lblEmail.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // lblPassword
     //
     this.lblPassword.Location  = new System.Drawing.Point(24, 56);
     this.lblPassword.Name      = "lblPassword";
     this.lblPassword.Size      = new System.Drawing.Size(100, 20);
     this.lblPassword.TabIndex  = 4;
     this.lblPassword.Text      = "Fjalekalimi";
     this.lblPassword.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // lblHost
     //
     this.lblHost.Location  = new System.Drawing.Point(24, 84);
     this.lblHost.Name      = "lblHost";
     this.lblHost.Size      = new System.Drawing.Size(96, 20);
     this.lblHost.TabIndex  = 3;
     this.lblHost.Text      = "Host";
     this.lblHost.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // txtHost
     //
     this.txtHost.AutoSize             = false;
     this.txtHost.DefaultErrorMessage  = "";
     this.txtHost.DesabledControlColor = System.Drawing.SystemColors.ControlLight;
     this.txtHost.FixedLength          = false;
     this.txtHost.IsValid              = true;
     this.txtHost.Location             = new System.Drawing.Point(144, 84);
     this.txtHost.Name                 = "txtHost";
     this.txtHost.Required             = false;
     this.txtHost.RequiredControlColor = System.Drawing.Color.White;
     this.txtHost.Size                 = new System.Drawing.Size(168, 20);
     this.txtHost.TabIndex             = 2;
     this.txtHost.Text                 = "";
     //
     // txtEmail
     //
     this.txtEmail.AutoSize             = false;
     this.txtEmail.DefaultErrorMessage  = "";
     this.txtEmail.DesabledControlColor = System.Drawing.SystemColors.ControlLight;
     this.txtEmail.FixedLength          = false;
     this.txtEmail.IsValid              = true;
     this.txtEmail.Location             = new System.Drawing.Point(144, 28);
     this.txtEmail.Name                 = "txtEmail";
     this.txtEmail.Required             = false;
     this.txtEmail.RequiredControlColor = System.Drawing.Color.White;
     this.txtEmail.Size                 = new System.Drawing.Size(168, 20);
     this.txtEmail.TabIndex             = 1;
     this.txtEmail.Text                 = "";
     this.txtEmail.Leave               += new System.EventHandler(this.txtEmail_Leave);
     //
     // txtPassword
     //
     this.txtPassword.AutoSize             = false;
     this.txtPassword.DefaultErrorMessage  = "";
     this.txtPassword.DesabledControlColor = System.Drawing.SystemColors.ControlLight;
     this.txtPassword.FixedLength          = false;
     this.txtPassword.IsValid              = true;
     this.txtPassword.Location             = new System.Drawing.Point(144, 56);
     this.txtPassword.Name                 = "txtPassword";
     this.txtPassword.PasswordChar         = '*';
     this.txtPassword.Required             = false;
     this.txtPassword.RequiredControlColor = System.Drawing.Color.White;
     this.txtPassword.Size                 = new System.Drawing.Size(168, 20);
     this.txtPassword.TabIndex             = 0;
     this.txtPassword.Text                 = "";
     //
     // btnRuaj
     //
     this.btnRuaj.Cursor       = System.Windows.Forms.Cursors.Hand;
     this.btnRuaj.DoValidation = false;
     this.btnRuaj.FlatStyle    = System.Windows.Forms.FlatStyle.Flat;
     this.btnRuaj.Location     = new System.Drawing.Point(272, 332);
     this.btnRuaj.Name         = "btnRuaj";
     this.btnRuaj.Size         = new System.Drawing.Size(90, 21);
     this.btnRuaj.TabIndex     = 3;
     this.btnRuaj.Text         = "Ruaj";
     this.toolTips.SetToolTip(this.btnRuaj, "Ruan ndryshimet e bera ne tiparet e programit!");
     this.btnRuaj.VisualStyle = Janus.Windows.UI.VisualStyle.Office2003;
     this.btnRuaj.Click      += new System.EventHandler(this.btnRuaj_Click);
     //
     // gbGjuha
     //
     this.gbGjuha.BackColor = System.Drawing.Color.Transparent;
     this.gbGjuha.Controls.Add(this.rbFrengjisht);
     this.gbGjuha.Controls.Add(this.rbItalisht);
     this.gbGjuha.Controls.Add(this.rbAnglisht);
     this.gbGjuha.Controls.Add(this.rbShqip);
     this.gbGjuha.FlatStyle   = System.Windows.Forms.FlatStyle.Flat;
     this.gbGjuha.Location    = new System.Drawing.Point(10, 112);
     this.gbGjuha.Name        = "gbGjuha";
     this.gbGjuha.Size        = new System.Drawing.Size(392, 68);
     this.gbGjuha.TabIndex    = 4;
     this.gbGjuha.Text        = "Zgjidhni gjuhen e printimit te faturave";
     this.gbGjuha.VisualStyle = Janus.Windows.UI.Dock.PanelVisualStyle.Office2003;
     //
     // rbFrengjisht
     //
     this.rbFrengjisht.Location = new System.Drawing.Point(292, 24);
     this.rbFrengjisht.Name     = "rbFrengjisht";
     this.rbFrengjisht.Size     = new System.Drawing.Size(80, 24);
     this.rbFrengjisht.TabIndex = 3;
     this.rbFrengjisht.Text     = "Frengjisht";
     //
     // rbItalisht
     //
     this.rbItalisht.Location = new System.Drawing.Point(204, 24);
     this.rbItalisht.Name     = "rbItalisht";
     this.rbItalisht.Size     = new System.Drawing.Size(80, 24);
     this.rbItalisht.TabIndex = 2;
     this.rbItalisht.Text     = "Italisht";
     //
     // rbAnglisht
     //
     this.rbAnglisht.Location = new System.Drawing.Point(108, 24);
     this.rbAnglisht.Name     = "rbAnglisht";
     this.rbAnglisht.Size     = new System.Drawing.Size(80, 24);
     this.rbAnglisht.TabIndex = 1;
     this.rbAnglisht.Text     = "Anglisht";
     //
     // rbShqip
     //
     this.rbShqip.Location = new System.Drawing.Point(16, 24);
     this.rbShqip.Name     = "rbShqip";
     this.rbShqip.Size     = new System.Drawing.Size(80, 24);
     this.rbShqip.TabIndex = 0;
     this.rbShqip.Text     = "Shqip";
     //
     // warning
     //
     this.warning.ContainerControl = this;
     //
     // cmbProgramet
     //
     this.cmbProgramet.DefaultErrorMessage = null;
     this.cmbProgramet.IsValid             = false;
     this.cmbProgramet.Location            = new System.Drawing.Point(172, 36);
     this.cmbProgramet.Name     = "cmbProgramet";
     this.cmbProgramet.Required = false;
     this.cmbProgramet.Size     = new System.Drawing.Size(148, 21);
     this.cmbProgramet.TabIndex = 5;
     //
     // gbAssemblies
     //
     this.gbAssemblies.BackColor = System.Drawing.Color.Transparent;
     this.gbAssemblies.Controls.Add(this.label2);
     this.gbAssemblies.Controls.Add(this.label1);
     this.gbAssemblies.Controls.Add(this.txtIpPc);
     this.gbAssemblies.Controls.Add(this.cmbProgramet);
     this.gbAssemblies.FlatStyle   = System.Windows.Forms.FlatStyle.Flat;
     this.gbAssemblies.Location    = new System.Drawing.Point(412, 42);
     this.gbAssemblies.Name        = "gbAssemblies";
     this.gbAssemblies.Size        = new System.Drawing.Size(348, 140);
     this.gbAssemblies.TabIndex    = 6;
     this.gbAssemblies.Text        = "Konfigurimi i programeve te tjere";
     this.gbAssemblies.VisualStyle = Janus.Windows.UI.Dock.PanelVisualStyle.Office2003;
     //
     // label2
     //
     this.label2.Location  = new System.Drawing.Point(24, 76);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(136, 20);
     this.label2.TabIndex  = 8;
     this.label2.Text      = "Emri ose IP i kompjuterit";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label1
     //
     this.label1.Location  = new System.Drawing.Point(28, 36);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(132, 20);
     this.label1.TabIndex  = 7;
     this.label1.Text      = "Programi ndihmes";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // txtIpPc
     //
     this.txtIpPc.AutoSize             = false;
     this.txtIpPc.DefaultErrorMessage  = "";
     this.txtIpPc.DesabledControlColor = System.Drawing.SystemColors.ControlLight;
     this.txtIpPc.FixedLength          = false;
     this.txtIpPc.IsValid              = true;
     this.txtIpPc.Location             = new System.Drawing.Point(172, 72);
     this.txtIpPc.Name                 = "txtIpPc";
     this.txtIpPc.Required             = false;
     this.txtIpPc.RequiredControlColor = System.Drawing.Color.White;
     this.txtIpPc.Size                 = new System.Drawing.Size(144, 20);
     this.txtIpPc.TabIndex             = 6;
     this.txtIpPc.Text                 = "";
     //
     // btnRuajAssembly
     //
     this.btnRuajAssembly.Cursor       = System.Windows.Forms.Cursors.Hand;
     this.btnRuajAssembly.DoValidation = true;
     this.btnRuajAssembly.FlatStyle    = System.Windows.Forms.FlatStyle.Flat;
     this.btnRuajAssembly.Location     = new System.Drawing.Point(644, 196);
     this.btnRuajAssembly.Name         = "btnRuajAssembly";
     this.btnRuajAssembly.Size         = new System.Drawing.Size(90, 21);
     this.btnRuajAssembly.TabIndex     = 7;
     this.btnRuajAssembly.Text         = "Ruaj";
     this.btnRuajAssembly.VisualStyle  = Janus.Windows.UI.VisualStyle.Office2003;
     this.btnRuajAssembly.Click       += new System.EventHandler(this.btnRuajAssembly_Click);
     //
     // Settings
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(936, 520);
     this.Controls.Add(this.btnRuajAssembly);
     this.Controls.Add(this.gbAssemblies);
     this.Controls.Add(this.gbGjuha);
     this.Controls.Add(this.btnRuaj);
     this.Controls.Add(this.gbEmail);
     this.Controls.Add(this.gbStili);
     this.HelpFile = "RREGULLIME.htm";
     this.Name     = "Settings";
     this.Text     = "Rregullime";
     this.Load    += new System.EventHandler(this.Settings_Load);
     this.Controls.SetChildIndex(this.gbStili, 0);
     this.Controls.SetChildIndex(this.gbEmail, 0);
     this.Controls.SetChildIndex(this.btnRuaj, 0);
     this.Controls.SetChildIndex(this.lblStatus, 0);
     this.Controls.SetChildIndex(this.gbGjuha, 0);
     this.Controls.SetChildIndex(this.gbAssemblies, 0);
     this.Controls.SetChildIndex(this.btnRuajAssembly, 0);
     ((System.ComponentModel.ISupportInitialize)(this.gbStili)).EndInit();
     this.gbStili.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gbEmail)).EndInit();
     this.gbEmail.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gbGjuha)).EndInit();
     this.gbGjuha.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gbAssemblies)).EndInit();
     this.gbAssemblies.ResumeLayout(false);
     this.ResumeLayout(false);
 }
コード例 #3
0
 private void InitializeComponentFirstTime()
 {
     this.pbIcon       = new VisionInfoSolutionLibrary.PictureBox();
     this.lblKujdes    = new System.Windows.Forms.Label();
     this.lblNrDhomash = new System.Windows.Forms.Label();
     this.numNrDhomash = new VisionInfoSolutionLibrary.NumericBox();
     this.btnOK        = new System.Windows.Forms.Button();
     this.btnAnullo    = new System.Windows.Forms.Button();
     this.error1       = new VisionInfoSolutionLibrary.ErrorProvider();
     this.SuspendLayout();
     //
     // pbIcon
     //
     this.pbIcon.Location = new System.Drawing.Point(12, 16);
     this.pbIcon.Name     = "pbIcon";
     this.pbIcon.Size     = new System.Drawing.Size(48, 40);
     this.pbIcon.TabIndex = 0;
     this.pbIcon.TabStop  = false;
     this.pbIcon.Paint   += new System.Windows.Forms.PaintEventHandler(this.pbIcon_Paint);
     //
     // lblKujdes
     //
     this.lblKujdes.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.lblKujdes.Location  = new System.Drawing.Point(408, 140);
     this.lblKujdes.Name      = "lblKujdes";
     this.lblKujdes.Size      = new System.Drawing.Size(320, 56);
     this.lblKujdes.TabIndex  = 1;
     this.lblKujdes.Text      = "Kujdes!\r\nJu po ndryshoni numrin e dhomave te hotelit.\r\nNese rrisni numrin e dhoma" +
                                "ve atehere duhet te kerkoni nje tjeter numer aktivizimi per programin";
     //
     // lblNrDhomash
     //
     this.lblNrDhomash.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.lblNrDhomash.Location  = new System.Drawing.Point(88, 16);
     this.lblNrDhomash.Name      = "lblNrDhomash";
     this.lblNrDhomash.Size      = new System.Drawing.Size(160, 23);
     this.lblNrDhomash.TabIndex  = 2;
     this.lblNrDhomash.Text      = "Jepni numrin e ri te dhomave:";
     this.lblNrDhomash.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // numNrDhomash
     //
     this.numNrDhomash.AutoSize                = false;
     this.numNrDhomash.DefaultErrorMessage     = "";
     this.numNrDhomash.DesabledControlColor    = System.Drawing.SystemColors.ControlLight;
     this.numNrDhomash.DigitsAfterDecimalPoint = 0;
     this.numNrDhomash.FixedLength             = false;
     this.numNrDhomash.IsValid              = true;
     this.numNrDhomash.KeepFocus            = false;
     this.numNrDhomash.Location             = new System.Drawing.Point(112, 44);
     this.numNrDhomash.Name                 = "numNrDhomash";
     this.numNrDhomash.Required             = false;
     this.numNrDhomash.RequiredControlColor = System.Drawing.Color.White;
     this.numNrDhomash.Size                 = new System.Drawing.Size(92, 20);
     this.numNrDhomash.TabIndex             = 3;
     this.numNrDhomash.Text                 = "";
     this.numNrDhomash.TextAlign            = System.Windows.Forms.HorizontalAlignment.Right;
     //
     // btnOK
     //
     this.btnOK.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.btnOK.Location  = new System.Drawing.Point(52, 84);
     this.btnOK.Name      = "btnOK";
     this.btnOK.TabIndex  = 4;
     this.btnOK.Text      = "OK";
     this.btnOK.Click    += new System.EventHandler(this.btnOK_Click);
     //
     // btnAnullo
     //
     this.btnAnullo.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.btnAnullo.Enabled      = true;
     this.btnAnullo.FlatStyle    = System.Windows.Forms.FlatStyle.System;
     this.btnAnullo.Location     = new System.Drawing.Point(184, 84);
     this.btnAnullo.Name         = "btnAnullo";
     this.btnAnullo.TabIndex     = 5;
     this.btnAnullo.Text         = "Anullo";
     //
     // error1
     //
     this.error1.ContainerControl = this;
     //
     // NumriDhomave
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.CancelButton      = this.btnAnullo;
     this.ClientSize        = new System.Drawing.Size(318, 116);
     this.ControlBox        = false;
     this.Controls.Add(this.btnAnullo);
     this.Controls.Add(this.btnOK);
     this.Controls.Add(this.numNrDhomash);
     this.Controls.Add(this.lblNrDhomash);
     this.Controls.Add(this.lblKujdes);
     this.Controls.Add(this.pbIcon);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "NumriDhomave";
     this.ShowInTaskbar   = false;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "Ndryshimi i numrit te dhomave";
     this.Load           += new System.EventHandler(this.NumriDhomave_Load);
     this.ResumeLayout(false);
 }