コード例 #1
0
ファイル: Win32.cs プロジェクト: oghenez/ExtendedRenderer
 public static bool InitComboBoxInfo(ref ComponentFactory.Krypton.Toolkit.KryptonComboBox cbo, ref Win32.ComboBoxInfo cbi)
 {
     cbi.cbSize = Marshal.SizeOf(cbi);
     if (!Win32.GetComboBoxInfo(cbo.Handle, ref cbi))
     {
         return(false);
     }
     return(true);
 }
コード例 #2
0
        public KryptonComboBoxTree()
        {
            SetStyle(ControlStyles.DoubleBuffer, true);
            SetStyle(ControlStyles.ResizeRedraw, true);

            this.InitializeComponent();

            // Initializing Controls
            this.pnlBack             = new ComponentFactory.Krypton.Toolkit.KryptonPanel();
            this.pnlBack.BorderStyle = BorderStyle.None;
            this.pnlBack.Dock        = DockStyle.Fill;
            this.pnlBack.AutoScroll  = false;
            //this.pnlBack.BackColor = txtSelectedValue.BackColor;

            this.lblSizingGrip            = new LabelEx();
            this.lblSizingGrip.Size       = new Size(9, 9);
            this.lblSizingGrip.Cursor     = Cursors.SizeNWSE;
            this.lblSizingGrip.Text       = "";
            this.lblSizingGrip.MouseMove += new MouseEventHandler(SizingGripMouseMove);
            this.lblSizingGrip.MouseDown += new MouseEventHandler(SizingGripMouseDown);

            this.tvTreeView              = new KryptonTreeView();
            this.tvTreeView.BorderStyle  = BorderStyle.None;
            this.tvTreeView.DoubleClick += new EventHandler(TreeViewNodeSelect);
            this.tvTreeView.Location     = new Point(0, 0);
            this.tvTreeView.LostFocus   += new EventHandler(TreeViewLostFocus);
            //this.tvTreeView.Scrollable = false;

            this.frmTreeView = new Form();
            this.frmTreeView.FormBorderStyle = FormBorderStyle.None;
            this.frmTreeView.StartPosition   = FormStartPosition.Manual;
            this.frmTreeView.ShowInTaskbar   = false;

            this.pnlTree             = new Panel();
            this.pnlTree.Dock        = DockStyle.Fill;
            this.pnlTree.BorderStyle = BorderStyle.FixedSingle;
            this.pnlTree.BackColor   = Color.White;

            combobox = new ComponentFactory.Krypton.Toolkit.KryptonComboBox();
            combobox.DropDownStyle   = ComboBoxStyle.DropDownList;
            combobox.Dock            = DockStyle.Fill;
            combobox.ComboBox.Click += new EventHandler(ToggleTreeView);

            // Adding Controls to UserControl
            this.pnlTree.Controls.Add(this.lblSizingGrip);
            this.pnlTree.Controls.Add(this.tvTreeView);
            this.frmTreeView.Controls.Add(this.pnlTree);
            this.pnlBack.Controls.Add(combobox);
            this.Controls.Add(this.pnlBack);
        }
コード例 #3
0
        //WATEVER MAY HAPEN PLIZ DO NAT TACH DIZ AREA OF CODE IF YOU DONT WANA DAY



        private void InitializeComponent()
        {
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
            this.rdoAdmin            = new MaterialSkin.Controls.MaterialRadioButton();
            this.groupBox1           = new System.Windows.Forms.GroupBox();
            this.rdoStudent          = new MaterialSkin.Controls.MaterialRadioButton();
            this.rdoTeacher          = new MaterialSkin.Controls.MaterialRadioButton();
            this.txtID               = new ComponentFactory.Krypton.Toolkit.KryptonTextBox();
            this.materialLabel1      = new MaterialSkin.Controls.MaterialLabel();
            this.txtFirstName        = new ComponentFactory.Krypton.Toolkit.KryptonTextBox();
            this.txtMiddleName       = new ComponentFactory.Krypton.Toolkit.KryptonTextBox();
            this.txtLastName         = new ComponentFactory.Krypton.Toolkit.KryptonTextBox();
            this.txtAddress          = new ComponentFactory.Krypton.Toolkit.KryptonTextBox();
            this.txtEmail            = new ComponentFactory.Krypton.Toolkit.KryptonTextBox();
            this.groupBox2           = new System.Windows.Forms.GroupBox();
            this.dtpBirthdate        = new System.Windows.Forms.DateTimePicker();
            this.bunifuCustomLabel3  = new Bunifu.Framework.UI.BunifuCustomLabel();
            this.materialLabel5      = new MaterialSkin.Controls.MaterialLabel();
            this.materialLabel6      = new MaterialSkin.Controls.MaterialLabel();
            this.materialLabel7      = new MaterialSkin.Controls.MaterialLabel();
            this.materialLabel8      = new MaterialSkin.Controls.MaterialLabel();
            this.materialLabel9      = new MaterialSkin.Controls.MaterialLabel();
            this.groupBox3           = new System.Windows.Forms.GroupBox();
            this.materialLabel3      = new MaterialSkin.Controls.MaterialLabel();
            this.txtUsername         = new ComponentFactory.Krypton.Toolkit.KryptonTextBox();
            this.materialLabel10     = new MaterialSkin.Controls.MaterialLabel();
            this.materialLabel11     = new MaterialSkin.Controls.MaterialLabel();
            this.txtConfirmPassword  = new ComponentFactory.Krypton.Toolkit.KryptonTextBox();
            this.txtPassword         = new ComponentFactory.Krypton.Toolkit.KryptonTextBox();
            this.groupBox4           = new System.Windows.Forms.GroupBox();
            this.drpSecurityQuestion = new ComponentFactory.Krypton.Toolkit.KryptonComboBox();
            this.materialLabel12     = new MaterialSkin.Controls.MaterialLabel();
            this.materialLabel13     = new MaterialSkin.Controls.MaterialLabel();
            this.txtSecurityAnswer   = new ComponentFactory.Krypton.Toolkit.KryptonTextBox();
            this.bunifuCustomLabel1  = new Bunifu.Framework.UI.BunifuCustomLabel();
            this.bunifuCustomLabel2  = new Bunifu.Framework.UI.BunifuCustomLabel();
            this.dgvView             = new DevComponents.DotNetBar.Controls.DataGridViewX();
            this.btnEdit             = new ComponentFactory.Krypton.Toolkit.KryptonButton();
            this.txtSearch           = new MaterialSkin.Controls.MaterialSingleLineTextField();
            this.btnInsert           = new ComponentFactory.Krypton.Toolkit.KryptonButton();
            this.btnDelete           = new ComponentFactory.Krypton.Toolkit.KryptonButton();
            this.btnClear            = new ComponentFactory.Krypton.Toolkit.KryptonButton();
            this.groupBox1.SuspendLayout();
            this.groupBox2.SuspendLayout();
            this.groupBox3.SuspendLayout();
            this.groupBox4.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.drpSecurityQuestion)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.dgvView)).BeginInit();
            this.SuspendLayout();
            //
            // rdoAdmin
            //
            this.rdoAdmin.AutoSize                = true;
            this.rdoAdmin.Depth                   = 0;
            this.rdoAdmin.Font                    = new System.Drawing.Font("Roboto", 10F);
            this.rdoAdmin.Location                = new System.Drawing.Point(2, 13);
            this.rdoAdmin.Margin                  = new System.Windows.Forms.Padding(0);
            this.rdoAdmin.MouseLocation           = new System.Drawing.Point(-1, -1);
            this.rdoAdmin.MouseState              = MaterialSkin.MouseState.HOVER;
            this.rdoAdmin.Name                    = "rdoAdmin";
            this.rdoAdmin.Ripple                  = true;
            this.rdoAdmin.Size                    = new System.Drawing.Size(114, 30);
            this.rdoAdmin.TabIndex                = 2;
            this.rdoAdmin.Text                    = "Administrator";
            this.rdoAdmin.UseVisualStyleBackColor = true;
            this.rdoAdmin.CheckedChanged         += new System.EventHandler(this.rdoAdmin_CheckedChanged);
            //
            // groupBox1
            //
            this.groupBox1.BackColor = System.Drawing.SystemColors.Window;
            this.groupBox1.Controls.Add(this.rdoStudent);
            this.groupBox1.Controls.Add(this.rdoTeacher);
            this.groupBox1.Controls.Add(this.rdoAdmin);
            this.groupBox1.Font     = new System.Drawing.Font("Roboto", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.groupBox1.Location = new System.Drawing.Point(16, 98);
            this.groupBox1.Name     = "groupBox1";
            this.groupBox1.Size     = new System.Drawing.Size(280, 51);
            this.groupBox1.TabIndex = 1;
            this.groupBox1.TabStop  = false;
            this.groupBox1.Text     = "User Type";
            //
            // rdoStudent
            //
            this.rdoStudent.AutoSize                = true;
            this.rdoStudent.Depth                   = 0;
            this.rdoStudent.Font                    = new System.Drawing.Font("Roboto", 10F);
            this.rdoStudent.Location                = new System.Drawing.Point(195, 13);
            this.rdoStudent.Margin                  = new System.Windows.Forms.Padding(0);
            this.rdoStudent.MouseLocation           = new System.Drawing.Point(-1, -1);
            this.rdoStudent.MouseState              = MaterialSkin.MouseState.HOVER;
            this.rdoStudent.Name                    = "rdoStudent";
            this.rdoStudent.Ripple                  = true;
            this.rdoStudent.Size                    = new System.Drawing.Size(77, 30);
            this.rdoStudent.TabIndex                = 4;
            this.rdoStudent.Text                    = "Student";
            this.rdoStudent.UseVisualStyleBackColor = true;
            this.rdoStudent.CheckedChanged         += new System.EventHandler(this.rdoStudent_CheckedChanged);
            //
            // rdoTeacher
            //
            this.rdoTeacher.AutoSize                = true;
            this.rdoTeacher.Depth                   = 0;
            this.rdoTeacher.Font                    = new System.Drawing.Font("Roboto", 10F);
            this.rdoTeacher.Location                = new System.Drawing.Point(116, 13);
            this.rdoTeacher.Margin                  = new System.Windows.Forms.Padding(0);
            this.rdoTeacher.MouseLocation           = new System.Drawing.Point(-1, -1);
            this.rdoTeacher.MouseState              = MaterialSkin.MouseState.HOVER;
            this.rdoTeacher.Name                    = "rdoTeacher";
            this.rdoTeacher.Ripple                  = true;
            this.rdoTeacher.Size                    = new System.Drawing.Size(79, 30);
            this.rdoTeacher.TabIndex                = 3;
            this.rdoTeacher.Text                    = "Teacher";
            this.rdoTeacher.UseVisualStyleBackColor = true;
            this.rdoTeacher.CheckedChanged         += new System.EventHandler(this.rdoTeacher_CheckedChanged);
            //
            // txtID
            //
            this.txtID.Enabled  = false;
            this.txtID.Location = new System.Drawing.Point(86, 163);
            this.txtID.Name     = "txtID";
            this.txtID.Size     = new System.Drawing.Size(210, 23);
            this.txtID.TabIndex = 4;
            //
            // materialLabel1
            //
            this.materialLabel1.AutoSize   = true;
            this.materialLabel1.BackColor  = System.Drawing.SystemColors.Window;
            this.materialLabel1.Depth      = 0;
            this.materialLabel1.Font       = new System.Drawing.Font("Roboto", 11F);
            this.materialLabel1.ForeColor  = System.Drawing.Color.FromArgb(((int)(((byte)(222)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
            this.materialLabel1.Location   = new System.Drawing.Point(14, 74);
            this.materialLabel1.MouseState = MaterialSkin.MouseState.HOVER;
            this.materialLabel1.Name       = "materialLabel1";
            this.materialLabel1.Size       = new System.Drawing.Size(111, 19);
            this.materialLabel1.TabIndex   = 0;
            this.materialLabel1.Text       = "Register a User";
            //
            // txtFirstName
            //
            this.txtFirstName.Location = new System.Drawing.Point(145, 24);
            this.txtFirstName.Name     = "txtFirstName";
            this.txtFirstName.Size     = new System.Drawing.Size(233, 23);
            this.txtFirstName.TabIndex = 2;
            //
            // txtMiddleName
            //
            this.txtMiddleName.Location = new System.Drawing.Point(145, 53);
            this.txtMiddleName.Name     = "txtMiddleName";
            this.txtMiddleName.Size     = new System.Drawing.Size(233, 23);
            this.txtMiddleName.TabIndex = 3;
            //
            // txtLastName
            //
            this.txtLastName.Location = new System.Drawing.Point(145, 82);
            this.txtLastName.Name     = "txtLastName";
            this.txtLastName.Size     = new System.Drawing.Size(233, 23);
            this.txtLastName.TabIndex = 4;
            //
            // txtAddress
            //
            this.txtAddress.Location = new System.Drawing.Point(145, 111);
            this.txtAddress.Name     = "txtAddress";
            this.txtAddress.Size     = new System.Drawing.Size(233, 23);
            this.txtAddress.TabIndex = 5;
            //
            // txtEmail
            //
            this.txtEmail.Location = new System.Drawing.Point(145, 167);
            this.txtEmail.Name     = "txtEmail";
            this.txtEmail.Size     = new System.Drawing.Size(233, 23);
            this.txtEmail.TabIndex = 7;
            //
            // groupBox2
            //
            this.groupBox2.BackColor = System.Drawing.SystemColors.Window;
            this.groupBox2.Controls.Add(this.dtpBirthdate);
            this.groupBox2.Controls.Add(this.bunifuCustomLabel3);
            this.groupBox2.Controls.Add(this.txtEmail);
            this.groupBox2.Controls.Add(this.txtFirstName);
            this.groupBox2.Controls.Add(this.materialLabel5);
            this.groupBox2.Controls.Add(this.txtAddress);
            this.groupBox2.Controls.Add(this.materialLabel6);
            this.groupBox2.Controls.Add(this.txtLastName);
            this.groupBox2.Controls.Add(this.materialLabel7);
            this.groupBox2.Controls.Add(this.txtMiddleName);
            this.groupBox2.Controls.Add(this.materialLabel8);
            this.groupBox2.Controls.Add(this.materialLabel9);
            this.groupBox2.Location = new System.Drawing.Point(12, 192);
            this.groupBox2.Name     = "groupBox2";
            this.groupBox2.Size     = new System.Drawing.Size(384, 199);
            this.groupBox2.TabIndex = 18;
            this.groupBox2.TabStop  = false;
            this.groupBox2.Text     = "User Details";
            this.groupBox2.Enter   += new System.EventHandler(this.groupBox2_Enter);
            //
            // dtpBirthdate
            //
            this.dtpBirthdate.CalendarTitleBackColor    = System.Drawing.SystemColors.ControlLightLight;
            this.dtpBirthdate.CalendarTrailingForeColor = System.Drawing.SystemColors.WindowFrame;
            this.dtpBirthdate.Location = new System.Drawing.Point(145, 136);
            this.dtpBirthdate.Name     = "dtpBirthdate";
            this.dtpBirthdate.Size     = new System.Drawing.Size(233, 25);
            this.dtpBirthdate.TabIndex = 6;
            this.dtpBirthdate.Value    = new System.DateTime(2018, 7, 6, 7, 41, 9, 0);
            //
            // bunifuCustomLabel3
            //
            this.bunifuCustomLabel3.AutoSize  = true;
            this.bunifuCustomLabel3.BackColor = System.Drawing.SystemColors.Window;
            this.bunifuCustomLabel3.Font      = new System.Drawing.Font("Roboto", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.bunifuCustomLabel3.Location  = new System.Drawing.Point(48, 24);
            this.bunifuCustomLabel3.Name      = "bunifuCustomLabel3";
            this.bunifuCustomLabel3.Size      = new System.Drawing.Size(91, 19);
            this.bunifuCustomLabel3.TabIndex  = 24;
            this.bunifuCustomLabel3.Text      = "First Name :";
            //
            // materialLabel5
            //
            this.materialLabel5.AutoSize   = true;
            this.materialLabel5.BackColor  = System.Drawing.SystemColors.Window;
            this.materialLabel5.Depth      = 0;
            this.materialLabel5.Font       = new System.Drawing.Font("Roboto", 11F);
            this.materialLabel5.ForeColor  = System.Drawing.Color.FromArgb(((int)(((byte)(222)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
            this.materialLabel5.Location   = new System.Drawing.Point(34, 53);
            this.materialLabel5.MouseState = MaterialSkin.MouseState.HOVER;
            this.materialLabel5.Name       = "materialLabel5";
            this.materialLabel5.Size       = new System.Drawing.Size(106, 19);
            this.materialLabel5.TabIndex   = 8;
            this.materialLabel5.Text       = "Middle Name :";
            //
            // materialLabel6
            //
            this.materialLabel6.AutoSize   = true;
            this.materialLabel6.BackColor  = System.Drawing.SystemColors.Window;
            this.materialLabel6.Depth      = 0;
            this.materialLabel6.Font       = new System.Drawing.Font("Roboto", 11F);
            this.materialLabel6.ForeColor  = System.Drawing.Color.FromArgb(((int)(((byte)(222)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
            this.materialLabel6.Location   = new System.Drawing.Point(51, 82);
            this.materialLabel6.MouseState = MaterialSkin.MouseState.HOVER;
            this.materialLabel6.Name       = "materialLabel6";
            this.materialLabel6.Size       = new System.Drawing.Size(90, 19);
            this.materialLabel6.TabIndex   = 9;
            this.materialLabel6.Text       = "Last Name :";
            //
            // materialLabel7
            //
            this.materialLabel7.AutoSize   = true;
            this.materialLabel7.BackColor  = System.Drawing.SystemColors.Window;
            this.materialLabel7.Depth      = 0;
            this.materialLabel7.Font       = new System.Drawing.Font("Roboto", 11F);
            this.materialLabel7.ForeColor  = System.Drawing.Color.FromArgb(((int)(((byte)(222)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
            this.materialLabel7.Location   = new System.Drawing.Point(67, 111);
            this.materialLabel7.MouseState = MaterialSkin.MouseState.HOVER;
            this.materialLabel7.Name       = "materialLabel7";
            this.materialLabel7.Size       = new System.Drawing.Size(72, 19);
            this.materialLabel7.TabIndex   = 10;
            this.materialLabel7.Text       = "Address :";
            //
            // materialLabel8
            //
            this.materialLabel8.AutoSize   = true;
            this.materialLabel8.BackColor  = System.Drawing.SystemColors.Window;
            this.materialLabel8.Depth      = 0;
            this.materialLabel8.Font       = new System.Drawing.Font("Roboto", 11F);
            this.materialLabel8.ForeColor  = System.Drawing.Color.FromArgb(((int)(((byte)(222)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
            this.materialLabel8.Location   = new System.Drawing.Point(64, 140);
            this.materialLabel8.MouseState = MaterialSkin.MouseState.HOVER;
            this.materialLabel8.Name       = "materialLabel8";
            this.materialLabel8.Size       = new System.Drawing.Size(77, 19);
            this.materialLabel8.TabIndex   = 11;
            this.materialLabel8.Text       = "Birthdate :";
            //
            // materialLabel9
            //
            this.materialLabel9.AutoSize   = true;
            this.materialLabel9.BackColor  = System.Drawing.SystemColors.Window;
            this.materialLabel9.Depth      = 0;
            this.materialLabel9.Font       = new System.Drawing.Font("Roboto", 11F);
            this.materialLabel9.ForeColor  = System.Drawing.Color.FromArgb(((int)(((byte)(222)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
            this.materialLabel9.Location   = new System.Drawing.Point(25, 167);
            this.materialLabel9.MouseState = MaterialSkin.MouseState.HOVER;
            this.materialLabel9.Name       = "materialLabel9";
            this.materialLabel9.Size       = new System.Drawing.Size(114, 19);
            this.materialLabel9.TabIndex   = 12;
            this.materialLabel9.Text       = "Email Address :";
            //
            // groupBox3
            //
            this.groupBox3.BackColor = System.Drawing.SystemColors.Window;
            this.groupBox3.Controls.Add(this.materialLabel3);
            this.groupBox3.Controls.Add(this.txtUsername);
            this.groupBox3.Controls.Add(this.materialLabel10);
            this.groupBox3.Controls.Add(this.materialLabel11);
            this.groupBox3.Controls.Add(this.txtConfirmPassword);
            this.groupBox3.Controls.Add(this.txtPassword);
            this.groupBox3.Location = new System.Drawing.Point(16, 397);
            this.groupBox3.Name     = "groupBox3";
            this.groupBox3.Size     = new System.Drawing.Size(380, 117);
            this.groupBox3.TabIndex = 19;
            this.groupBox3.TabStop  = false;
            this.groupBox3.Text     = "Account Details";
            //
            // materialLabel3
            //
            this.materialLabel3.AutoSize   = true;
            this.materialLabel3.BackColor  = System.Drawing.SystemColors.Window;
            this.materialLabel3.Depth      = 0;
            this.materialLabel3.Font       = new System.Drawing.Font("Roboto", 11F);
            this.materialLabel3.ForeColor  = System.Drawing.Color.FromArgb(((int)(((byte)(222)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
            this.materialLabel3.Location   = new System.Drawing.Point(57, 21);
            this.materialLabel3.MouseState = MaterialSkin.MouseState.HOVER;
            this.materialLabel3.Name       = "materialLabel3";
            this.materialLabel3.Size       = new System.Drawing.Size(85, 19);
            this.materialLabel3.TabIndex   = 7;
            this.materialLabel3.Text       = "Username :"******"txtUsername";
            this.txtUsername.Size     = new System.Drawing.Size(226, 23);
            this.txtUsername.TabIndex = 8;
            //
            // materialLabel10
            //
            this.materialLabel10.AutoSize   = true;
            this.materialLabel10.BackColor  = System.Drawing.SystemColors.Window;
            this.materialLabel10.Depth      = 0;
            this.materialLabel10.Font       = new System.Drawing.Font("Roboto", 11F);
            this.materialLabel10.ForeColor  = System.Drawing.Color.FromArgb(((int)(((byte)(222)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
            this.materialLabel10.Location   = new System.Drawing.Point(59, 51);
            this.materialLabel10.MouseState = MaterialSkin.MouseState.HOVER;
            this.materialLabel10.Name       = "materialLabel10";
            this.materialLabel10.Size       = new System.Drawing.Size(83, 19);
            this.materialLabel10.TabIndex   = 8;
            this.materialLabel10.Text       = "Password :"******"Roboto", 11F);
            this.materialLabel11.ForeColor  = System.Drawing.Color.FromArgb(((int)(((byte)(222)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
            this.materialLabel11.Location   = new System.Drawing.Point(1, 80);
            this.materialLabel11.MouseState = MaterialSkin.MouseState.HOVER;
            this.materialLabel11.Name       = "materialLabel11";
            this.materialLabel11.Size       = new System.Drawing.Size(141, 19);
            this.materialLabel11.TabIndex   = 9;
            this.materialLabel11.Text       = "Confirm Password :"******"txtConfirmPassword";
            this.txtConfirmPassword.PasswordChar          = '●';
            this.txtConfirmPassword.Size                  = new System.Drawing.Size(226, 23);
            this.txtConfirmPassword.TabIndex              = 10;
            this.txtConfirmPassword.UseSystemPasswordChar = true;
            //
            // txtPassword
            //
            this.txtPassword.Location              = new System.Drawing.Point(148, 51);
            this.txtPassword.Name                  = "txtPassword";
            this.txtPassword.PasswordChar          = '●';
            this.txtPassword.Size                  = new System.Drawing.Size(226, 23);
            this.txtPassword.TabIndex              = 8;
            this.txtPassword.UseSystemPasswordChar = true;
            //
            // groupBox4
            //
            this.groupBox4.BackColor = System.Drawing.SystemColors.Window;
            this.groupBox4.Controls.Add(this.drpSecurityQuestion);
            this.groupBox4.Controls.Add(this.materialLabel12);
            this.groupBox4.Controls.Add(this.materialLabel13);
            this.groupBox4.Controls.Add(this.txtSecurityAnswer);
            this.groupBox4.Location = new System.Drawing.Point(18, 520);
            this.groupBox4.Name     = "groupBox4";
            this.groupBox4.Size     = new System.Drawing.Size(378, 90);
            this.groupBox4.TabIndex = 20;
            this.groupBox4.TabStop  = false;
            this.groupBox4.Text     = "Account Recovery";
            //
            // drpSecurityQuestion
            //
            this.drpSecurityQuestion.DropDownStyle     = System.Windows.Forms.ComboBoxStyle.DropDownList;
            this.drpSecurityQuestion.DropDownWidth     = 224;
            this.drpSecurityQuestion.InputControlStyle = ComponentFactory.Krypton.Toolkit.InputControlStyle.Ribbon;
            this.drpSecurityQuestion.Items.AddRange(new object[] {
                "In what city were you born?",
                "What high school did you attend?",
                "What is the first and last name of your first boyfriend or girlfriend?",
                "What is the name of your favorite pet?",
                "What is the name of your first grade teacher?",
                "What is the name of your first school?",
                "What is your father\'s middle name?",
                "What is your favorite color?",
                "what is your favorite forum",
                "What is your favorite movie?",
                "what is your favorite online platform",
                "what is your favorite social media website",
                "what is your favorite website",
                "What is your mother\'s maiden name?",
                "What street did you grow up on?",
                "What was the make of your first car?",
                "What was your favorite place to visit as a child?",
                "What was your high school mascot?",
                "When is your anniversary?",
                "Which is your favorite web browser?",
                "Which phone number do you remember most from your childhood?",
                "Who is your favorite actor, musician, or artist?"
            });
            this.drpSecurityQuestion.Location    = new System.Drawing.Point(148, 21);
            this.drpSecurityQuestion.Name        = "drpSecurityQuestion";
            this.drpSecurityQuestion.PaletteMode = ComponentFactory.Krypton.Toolkit.PaletteMode.Office2010Black;
            this.drpSecurityQuestion.Size        = new System.Drawing.Size(224, 21);
            this.drpSecurityQuestion.TabIndex    = 11;
            //
            // materialLabel12
            //
            this.materialLabel12.AutoSize   = true;
            this.materialLabel12.BackColor  = System.Drawing.SystemColors.Window;
            this.materialLabel12.Depth      = 0;
            this.materialLabel12.Font       = new System.Drawing.Font("Roboto", 11F);
            this.materialLabel12.ForeColor  = System.Drawing.Color.FromArgb(((int)(((byte)(222)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
            this.materialLabel12.Location   = new System.Drawing.Point(7, 21);
            this.materialLabel12.MouseState = MaterialSkin.MouseState.HOVER;
            this.materialLabel12.Name       = "materialLabel12";
            this.materialLabel12.Size       = new System.Drawing.Size(135, 19);
            this.materialLabel12.TabIndex   = 7;
            this.materialLabel12.Text       = "Security Question :";
            //
            // materialLabel13
            //
            this.materialLabel13.AutoSize   = true;
            this.materialLabel13.BackColor  = System.Drawing.SystemColors.Window;
            this.materialLabel13.Depth      = 0;
            this.materialLabel13.Font       = new System.Drawing.Font("Roboto", 11F);
            this.materialLabel13.ForeColor  = System.Drawing.Color.FromArgb(((int)(((byte)(222)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
            this.materialLabel13.Location   = new System.Drawing.Point(17, 51);
            this.materialLabel13.MouseState = MaterialSkin.MouseState.HOVER;
            this.materialLabel13.Name       = "materialLabel13";
            this.materialLabel13.Size       = new System.Drawing.Size(125, 19);
            this.materialLabel13.TabIndex   = 8;
            this.materialLabel13.Text       = "Security Answer :";
            //
            // txtSecurityAnswer
            //
            this.txtSecurityAnswer.Location = new System.Drawing.Point(148, 51);
            this.txtSecurityAnswer.Name     = "txtSecurityAnswer";
            this.txtSecurityAnswer.Size     = new System.Drawing.Size(224, 23);
            this.txtSecurityAnswer.TabIndex = 12;
            //
            // bunifuCustomLabel1
            //
            this.bunifuCustomLabel1.AutoSize  = true;
            this.bunifuCustomLabel1.BackColor = System.Drawing.SystemColors.Window;
            this.bunifuCustomLabel1.Font      = new System.Drawing.Font("Roboto Medium", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.bunifuCustomLabel1.Location  = new System.Drawing.Point(17, 163);
            this.bunifuCustomLabel1.Name      = "bunifuCustomLabel1";
            this.bunifuCustomLabel1.Size      = new System.Drawing.Size(66, 20);
            this.bunifuCustomLabel1.TabIndex  = 23;
            this.bunifuCustomLabel1.Text      = "User ID :";
            //
            // bunifuCustomLabel2
            //
            this.bunifuCustomLabel2.AutoSize  = true;
            this.bunifuCustomLabel2.BackColor = System.Drawing.SystemColors.Window;
            this.bunifuCustomLabel2.Font      = new System.Drawing.Font("Roboto", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.bunifuCustomLabel2.Location  = new System.Drawing.Point(931, 75);
            this.bunifuCustomLabel2.Name      = "bunifuCustomLabel2";
            this.bunifuCustomLabel2.Size      = new System.Drawing.Size(63, 19);
            this.bunifuCustomLabel2.TabIndex  = 24;
            this.bunifuCustomLabel2.Text      = "Search :";
            //
            // dgvView
            //
            this.dgvView.AllowUserToAddRows          = false;
            this.dgvView.AllowUserToDeleteRows       = false;
            this.dgvView.AllowUserToOrderColumns     = true;
            this.dgvView.AllowUserToResizeColumns    = false;
            this.dgvView.AllowUserToResizeRows       = false;
            this.dgvView.BackgroundColor             = System.Drawing.SystemColors.InactiveCaption;
            this.dgvView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
            dataGridViewCellStyle3.Alignment         = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
            dataGridViewCellStyle3.BackColor         = System.Drawing.SystemColors.Window;
            dataGridViewCellStyle3.Font               = new System.Drawing.Font("Roboto Light", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            dataGridViewCellStyle3.ForeColor          = System.Drawing.SystemColors.ControlText;
            dataGridViewCellStyle3.SelectionBackColor = System.Drawing.SystemColors.Highlight;
            dataGridViewCellStyle3.SelectionForeColor = System.Drawing.SystemColors.ControlText;
            dataGridViewCellStyle3.WrapMode           = System.Windows.Forms.DataGridViewTriState.False;
            this.dgvView.DefaultCellStyle             = dataGridViewCellStyle3;
            this.dgvView.EditMode  = System.Windows.Forms.DataGridViewEditMode.EditProgrammatically;
            this.dgvView.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
            this.dgvView.Location  = new System.Drawing.Point(402, 103);
            this.dgvView.Name      = "dgvView";
            this.dgvView.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.AutoSizeToAllHeaders;
            this.dgvView.SelectionMode           = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
            this.dgvView.Size     = new System.Drawing.Size(790, 536);
            this.dgvView.TabIndex = 25;
            this.dgvView.CellContentDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvView_CellContentDoubleClick);
            //
            // btnEdit
            //
            this.btnEdit.Location    = new System.Drawing.Point(210, 614);
            this.btnEdit.Name        = "btnEdit";
            this.btnEdit.Size        = new System.Drawing.Size(90, 25);
            this.btnEdit.TabIndex    = 26;
            this.btnEdit.Values.Text = "Edit User";
            //
            // txtSearch
            //
            this.txtSearch.Depth                 = 0;
            this.txtSearch.Hint                  = "";
            this.txtSearch.Location              = new System.Drawing.Point(991, 75);
            this.txtSearch.MouseState            = MaterialSkin.MouseState.HOVER;
            this.txtSearch.Name                  = "txtSearch";
            this.txtSearch.PasswordChar          = '\0';
            this.txtSearch.SelectedText          = "";
            this.txtSearch.SelectionLength       = 0;
            this.txtSearch.SelectionStart        = 0;
            this.txtSearch.Size                  = new System.Drawing.Size(201, 23);
            this.txtSearch.TabIndex              = 28;
            this.txtSearch.UseSystemPasswordChar = false;
            this.txtSearch.Click                += new System.EventHandler(this.txtSearch_Click);
            this.txtSearch.TextChanged          += new System.EventHandler(this.txtSearch_TextChanged);
            //
            // btnInsert
            //
            this.btnInsert.Location    = new System.Drawing.Point(306, 614);
            this.btnInsert.Name        = "btnInsert";
            this.btnInsert.Size        = new System.Drawing.Size(90, 25);
            this.btnInsert.TabIndex    = 29;
            this.btnInsert.Values.Text = "Add User";
            this.btnInsert.Click      += new System.EventHandler(this.btnInsert_Click);
            //
            // btnDelete
            //
            this.btnDelete.Location    = new System.Drawing.Point(114, 614);
            this.btnDelete.Name        = "btnDelete";
            this.btnDelete.Size        = new System.Drawing.Size(90, 25);
            this.btnDelete.TabIndex    = 30;
            this.btnDelete.Values.Text = "Delete User";
            //
            // btnClear
            //
            this.btnClear.Location    = new System.Drawing.Point(18, 614);
            this.btnClear.Name        = "btnClear";
            this.btnClear.Size        = new System.Drawing.Size(90, 25);
            this.btnClear.TabIndex    = 31;
            this.btnClear.Values.Text = "Clear";
            this.btnClear.Click      += new System.EventHandler(this.btnClear_Click);
            //
            // UserRegistration
            //
            this.ClientSize = new System.Drawing.Size(1204, 670);
            this.Controls.Add(this.btnClear);
            this.Controls.Add(this.btnDelete);
            this.Controls.Add(this.btnInsert);
            this.Controls.Add(this.txtSearch);
            this.Controls.Add(this.btnEdit);
            this.Controls.Add(this.dgvView);
            this.Controls.Add(this.bunifuCustomLabel2);
            this.Controls.Add(this.bunifuCustomLabel1);
            this.Controls.Add(this.groupBox4);
            this.Controls.Add(this.groupBox3);
            this.Controls.Add(this.groupBox2);
            this.Controls.Add(this.txtID);
            this.Controls.Add(this.groupBox1);
            this.Controls.Add(this.materialLabel1);
            this.Font          = new System.Drawing.Font("Roboto Light", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.Name          = "UserRegistration";
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text          = "User Registration";
            this.Load         += new System.EventHandler(this.UserRegistration_Load_2);
            this.groupBox1.ResumeLayout(false);
            this.groupBox1.PerformLayout();
            this.groupBox2.ResumeLayout(false);
            this.groupBox2.PerformLayout();
            this.groupBox3.ResumeLayout(false);
            this.groupBox3.PerformLayout();
            this.groupBox4.ResumeLayout(false);
            this.groupBox4.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.drpSecurityQuestion)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.dgvView)).EndInit();
            this.ResumeLayout(false);
            this.PerformLayout();
        }
コード例 #4
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();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmPermisos));
     this.kryptonHeader1 = new ComponentFactory.Krypton.Toolkit.KryptonHeader();
     this.splitContainer1 = new System.Windows.Forms.SplitContainer();
     this.splitContainer2 = new System.Windows.Forms.SplitContainer();
     this.dgvUsuarios = new ComponentFactory.Krypton.Toolkit.KryptonDataGridView();
     this.usuarioBindingSource = new System.Windows.Forms.BindingSource(this.components);
     this.usuarioBindingNavigator = new System.Windows.Forms.BindingNavigator(this.components);
     this.bindingNavigatorCountItem = new System.Windows.Forms.ToolStripLabel();
     this.bindingNavigatorMoveFirstItem = new System.Windows.Forms.ToolStripButton();
     this.bindingNavigatorMovePreviousItem = new System.Windows.Forms.ToolStripButton();
     this.bindingNavigatorSeparator = new System.Windows.Forms.ToolStripSeparator();
     this.bindingNavigatorPositionItem = new System.Windows.Forms.ToolStripTextBox();
     this.bindingNavigatorSeparator1 = new System.Windows.Forms.ToolStripSeparator();
     this.bindingNavigatorMoveNextItem = new System.Windows.Forms.ToolStripButton();
     this.bindingNavigatorMoveLastItem = new System.Windows.Forms.ToolStripButton();
     this.kryptonPanel1 = new ComponentFactory.Krypton.Toolkit.KryptonPanel();
     this.gbxInformacion = new System.Windows.Forms.GroupBox();
     this.chkEsPrincipal = new ComponentFactory.Krypton.Toolkit.KryptonCheckBox();
     this.kryptonLabel2 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
     this.kryptonLabel1 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
     this.dtpFechaRegistro = new ComponentFactory.Krypton.Toolkit.KryptonDateTimePicker();
     this.cmbEmpleados = new ComponentFactory.Krypton.Toolkit.KryptonComboBox();
     this.txtPassword = new ExactTarget.Windows.Controles.CustomKryptonTextBox();
     this.txtUsername = new ExactTarget.Windows.Controles.CustomKryptonTextBox();
     this.label6 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
     this.label3 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
     this.label2 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
     this.TsMenu = new System.Windows.Forms.ToolStrip();
     this.TsbNuevo = new System.Windows.Forms.ToolStripButton();
     this.TsbEditar = new System.Windows.Forms.ToolStripButton();
     this.TsbEliminar = new System.Windows.Forms.ToolStripButton();
     this.toolStripSeparator = new System.Windows.Forms.ToolStripSeparator();
     this.TsbGuardar = new System.Windows.Forms.ToolStripButton();
     this.TsbCancelar = new System.Windows.Forms.ToolStripButton();
     this.perUsuario = new ExactTarget.Windows.Controles.PermisosFormulario();
     this.errValidator = new System.Windows.Forms.ErrorProvider(this.components);
     this.usuarioIDDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.usernameDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.passwordDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.esPrincipalDataGridViewCheckBoxColumn = new System.Windows.Forms.DataGridViewCheckBoxColumn();
     this.fechaRegistroDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.personalDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.permisosBindingSource = new System.Windows.Forms.BindingSource(this.components);
     this.personalBindingSource = new System.Windows.Forms.BindingSource(this.components);
     this.splitContainer1.Panel1.SuspendLayout();
     this.splitContainer1.Panel2.SuspendLayout();
     this.splitContainer1.SuspendLayout();
     this.splitContainer2.Panel1.SuspendLayout();
     this.splitContainer2.Panel2.SuspendLayout();
     this.splitContainer2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dgvUsuarios)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.usuarioBindingSource)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.usuarioBindingNavigator)).BeginInit();
     this.usuarioBindingNavigator.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).BeginInit();
     this.kryptonPanel1.SuspendLayout();
     this.gbxInformacion.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.cmbEmpleados)).BeginInit();
     this.TsMenu.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.errValidator)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.permisosBindingSource)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.personalBindingSource)).BeginInit();
     this.SuspendLayout();
     //
     // kryptonHeader1
     //
     this.kryptonHeader1.Dock = System.Windows.Forms.DockStyle.Top;
     this.kryptonHeader1.Location = new System.Drawing.Point(0, 0);
     this.kryptonHeader1.Name = "kryptonHeader1";
     this.kryptonHeader1.PaletteMode = ComponentFactory.Krypton.Toolkit.PaletteMode.Global;
     this.kryptonHeader1.Size = new System.Drawing.Size(753, 31);
     this.kryptonHeader1.TabIndex = 0;
     this.kryptonHeader1.Text = "Permisos de Usuario";
     this.kryptonHeader1.Values.Description = "";
     this.kryptonHeader1.Values.Heading = "Permisos de Usuario";
     this.kryptonHeader1.Values.Image = null;
     //
     // splitContainer1
     //
     this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.splitContainer1.Location = new System.Drawing.Point(0, 31);
     this.splitContainer1.Name = "splitContainer1";
     this.splitContainer1.Orientation = System.Windows.Forms.Orientation.Horizontal;
     //
     // splitContainer1.Panel1
     //
     this.splitContainer1.Panel1.Controls.Add(this.splitContainer2);
     //
     // splitContainer1.Panel2
     //
     this.splitContainer1.Panel2.Controls.Add(this.perUsuario);
     this.splitContainer1.Size = new System.Drawing.Size(753, 480);
     this.splitContainer1.SplitterDistance = 236;
     this.splitContainer1.TabIndex = 1;
     //
     // splitContainer2
     //
     this.splitContainer2.Dock = System.Windows.Forms.DockStyle.Fill;
     this.splitContainer2.Location = new System.Drawing.Point(0, 0);
     this.splitContainer2.Name = "splitContainer2";
     //
     // splitContainer2.Panel1
     //
     this.splitContainer2.Panel1.AutoScroll = true;
     this.splitContainer2.Panel1.Controls.Add(this.dgvUsuarios);
     this.splitContainer2.Panel1.Controls.Add(this.usuarioBindingNavigator);
     //
     // splitContainer2.Panel2
     //
     this.splitContainer2.Panel2.Controls.Add(this.kryptonPanel1);
     this.splitContainer2.Panel2.Controls.Add(this.TsMenu);
     this.splitContainer2.Size = new System.Drawing.Size(753, 236);
     this.splitContainer2.SplitterDistance = 274;
     this.splitContainer2.TabIndex = 0;
     //
     // dgvUsuarios
     //
     this.dgvUsuarios.AllowUserToAddRows = false;
     this.dgvUsuarios.AllowUserToDeleteRows = false;
     this.dgvUsuarios.AutoGenerateColumns = false;
     this.dgvUsuarios.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
     this.usuarioIDDataGridViewTextBoxColumn,
     this.usernameDataGridViewTextBoxColumn,
     this.passwordDataGridViewTextBoxColumn,
     this.esPrincipalDataGridViewCheckBoxColumn,
     this.fechaRegistroDataGridViewTextBoxColumn,
     this.personalDataGridViewTextBoxColumn});
     this.dgvUsuarios.DataSource = this.usuarioBindingSource;
     this.dgvUsuarios.Dock = System.Windows.Forms.DockStyle.Fill;
     this.dgvUsuarios.GridStyles.Style = ComponentFactory.Krypton.Toolkit.DataGridViewStyle.Sheet;
     this.dgvUsuarios.GridStyles.StyleBackground = ComponentFactory.Krypton.Toolkit.PaletteBackStyle.GridBackgroundSheet;
     this.dgvUsuarios.GridStyles.StyleColumn = ComponentFactory.Krypton.Toolkit.GridStyle.Sheet;
     this.dgvUsuarios.GridStyles.StyleDataCells = ComponentFactory.Krypton.Toolkit.GridStyle.Sheet;
     this.dgvUsuarios.GridStyles.StyleRow = ComponentFactory.Krypton.Toolkit.GridStyle.Sheet;
     this.dgvUsuarios.Location = new System.Drawing.Point(0, 25);
     this.dgvUsuarios.Name = "dgvUsuarios";
     this.dgvUsuarios.PaletteMode = ComponentFactory.Krypton.Toolkit.PaletteMode.Global;
     this.dgvUsuarios.ReadOnly = true;
     this.dgvUsuarios.RowHeadersWidth = 10;
     this.dgvUsuarios.Size = new System.Drawing.Size(274, 211);
     this.dgvUsuarios.StateCommon.BackStyle = ComponentFactory.Krypton.Toolkit.PaletteBackStyle.GridBackgroundSheet;
     this.dgvUsuarios.TabIndex = 0;
     this.dgvUsuarios.CellEnter += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvUsuarios_CellEnter);
     //
     // usuarioBindingSource
     //
     this.usuarioBindingSource.DataSource = typeof(ExactTarget.Business.Entities.Usuario);
     //
     // usuarioBindingNavigator
     //
     this.usuarioBindingNavigator.AddNewItem = null;
     this.usuarioBindingNavigator.BindingSource = this.usuarioBindingSource;
     this.usuarioBindingNavigator.CountItem = this.bindingNavigatorCountItem;
     this.usuarioBindingNavigator.DeleteItem = null;
     this.usuarioBindingNavigator.Font = new System.Drawing.Font("Segoe UI", 9F);
     this.usuarioBindingNavigator.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
     this.bindingNavigatorMoveFirstItem,
     this.bindingNavigatorMovePreviousItem,
     this.bindingNavigatorSeparator,
     this.bindingNavigatorPositionItem,
     this.bindingNavigatorCountItem,
     this.bindingNavigatorSeparator1,
     this.bindingNavigatorMoveNextItem,
     this.bindingNavigatorMoveLastItem});
     this.usuarioBindingNavigator.Location = new System.Drawing.Point(0, 0);
     this.usuarioBindingNavigator.MoveFirstItem = this.bindingNavigatorMoveFirstItem;
     this.usuarioBindingNavigator.MoveLastItem = this.bindingNavigatorMoveLastItem;
     this.usuarioBindingNavigator.MoveNextItem = this.bindingNavigatorMoveNextItem;
     this.usuarioBindingNavigator.MovePreviousItem = this.bindingNavigatorMovePreviousItem;
     this.usuarioBindingNavigator.Name = "usuarioBindingNavigator";
     this.usuarioBindingNavigator.PositionItem = this.bindingNavigatorPositionItem;
     this.usuarioBindingNavigator.Size = new System.Drawing.Size(274, 25);
     this.usuarioBindingNavigator.TabIndex = 2;
     this.usuarioBindingNavigator.Text = "bindingNavigator1";
     //
     // bindingNavigatorCountItem
     //
     this.bindingNavigatorCountItem.Name = "bindingNavigatorCountItem";
     this.bindingNavigatorCountItem.Size = new System.Drawing.Size(37, 22);
     this.bindingNavigatorCountItem.Text = "de {0}";
     this.bindingNavigatorCountItem.ToolTipText = "Total number of items";
     //
     // bindingNavigatorMoveFirstItem
     //
     this.bindingNavigatorMoveFirstItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.bindingNavigatorMoveFirstItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveFirstItem.Image")));
     this.bindingNavigatorMoveFirstItem.Name = "bindingNavigatorMoveFirstItem";
     this.bindingNavigatorMoveFirstItem.RightToLeftAutoMirrorImage = true;
     this.bindingNavigatorMoveFirstItem.Size = new System.Drawing.Size(23, 22);
     this.bindingNavigatorMoveFirstItem.Text = "Move first";
     //
     // bindingNavigatorMovePreviousItem
     //
     this.bindingNavigatorMovePreviousItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.bindingNavigatorMovePreviousItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMovePreviousItem.Image")));
     this.bindingNavigatorMovePreviousItem.Name = "bindingNavigatorMovePreviousItem";
     this.bindingNavigatorMovePreviousItem.RightToLeftAutoMirrorImage = true;
     this.bindingNavigatorMovePreviousItem.Size = new System.Drawing.Size(23, 22);
     this.bindingNavigatorMovePreviousItem.Text = "Move previous";
     //
     // bindingNavigatorSeparator
     //
     this.bindingNavigatorSeparator.Name = "bindingNavigatorSeparator";
     this.bindingNavigatorSeparator.Size = new System.Drawing.Size(6, 25);
     //
     // bindingNavigatorPositionItem
     //
     this.bindingNavigatorPositionItem.AccessibleName = "Position";
     this.bindingNavigatorPositionItem.AutoSize = false;
     this.bindingNavigatorPositionItem.Name = "bindingNavigatorPositionItem";
     this.bindingNavigatorPositionItem.Size = new System.Drawing.Size(50, 23);
     this.bindingNavigatorPositionItem.Text = "0";
     this.bindingNavigatorPositionItem.ToolTipText = "Current position";
     //
     // bindingNavigatorSeparator1
     //
     this.bindingNavigatorSeparator1.Name = "bindingNavigatorSeparator1";
     this.bindingNavigatorSeparator1.Size = new System.Drawing.Size(6, 25);
     //
     // bindingNavigatorMoveNextItem
     //
     this.bindingNavigatorMoveNextItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.bindingNavigatorMoveNextItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveNextItem.Image")));
     this.bindingNavigatorMoveNextItem.Name = "bindingNavigatorMoveNextItem";
     this.bindingNavigatorMoveNextItem.RightToLeftAutoMirrorImage = true;
     this.bindingNavigatorMoveNextItem.Size = new System.Drawing.Size(23, 22);
     this.bindingNavigatorMoveNextItem.Text = "Move next";
     //
     // bindingNavigatorMoveLastItem
     //
     this.bindingNavigatorMoveLastItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.bindingNavigatorMoveLastItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveLastItem.Image")));
     this.bindingNavigatorMoveLastItem.Name = "bindingNavigatorMoveLastItem";
     this.bindingNavigatorMoveLastItem.RightToLeftAutoMirrorImage = true;
     this.bindingNavigatorMoveLastItem.Size = new System.Drawing.Size(23, 22);
     this.bindingNavigatorMoveLastItem.Text = "Move last";
     //
     // kryptonPanel1
     //
     this.kryptonPanel1.Controls.Add(this.gbxInformacion);
     this.kryptonPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.kryptonPanel1.Location = new System.Drawing.Point(0, 25);
     this.kryptonPanel1.Name = "kryptonPanel1";
     this.kryptonPanel1.PaletteMode = ComponentFactory.Krypton.Toolkit.PaletteMode.Global;
     this.kryptonPanel1.PanelBackStyle = ComponentFactory.Krypton.Toolkit.PaletteBackStyle.PanelClient;
     this.kryptonPanel1.Size = new System.Drawing.Size(475, 211);
     this.kryptonPanel1.TabIndex = 3;
     //
     // gbxInformacion
     //
     this.gbxInformacion.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                 | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.gbxInformacion.BackColor = System.Drawing.Color.Transparent;
     this.gbxInformacion.Controls.Add(this.chkEsPrincipal);
     this.gbxInformacion.Controls.Add(this.kryptonLabel2);
     this.gbxInformacion.Controls.Add(this.kryptonLabel1);
     this.gbxInformacion.Controls.Add(this.dtpFechaRegistro);
     this.gbxInformacion.Controls.Add(this.cmbEmpleados);
     this.gbxInformacion.Controls.Add(this.txtPassword);
     this.gbxInformacion.Controls.Add(this.txtUsername);
     this.gbxInformacion.Controls.Add(this.label6);
     this.gbxInformacion.Controls.Add(this.label3);
     this.gbxInformacion.Controls.Add(this.label2);
     this.gbxInformacion.Font = new System.Drawing.Font("Calibri", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.gbxInformacion.ForeColor = System.Drawing.Color.Navy;
     this.gbxInformacion.Location = new System.Drawing.Point(14, 14);
     this.gbxInformacion.Name = "gbxInformacion";
     this.gbxInformacion.Size = new System.Drawing.Size(449, 183);
     this.gbxInformacion.TabIndex = 2;
     this.gbxInformacion.TabStop = false;
     this.gbxInformacion.Text = "Datos Usuario";
     //
     // chkEsPrincipal
     //
     this.chkEsPrincipal.LabelStyle = ComponentFactory.Krypton.Toolkit.LabelStyle.NormalControl;
     this.chkEsPrincipal.Location = new System.Drawing.Point(117, 137);
     this.chkEsPrincipal.Name = "chkEsPrincipal";
     this.chkEsPrincipal.PaletteMode = ComponentFactory.Krypton.Toolkit.PaletteMode.Global;
     this.chkEsPrincipal.Size = new System.Drawing.Size(19, 13);
     this.chkEsPrincipal.TabIndex = 31;
     this.chkEsPrincipal.Values.ExtraText = "";
     this.chkEsPrincipal.Values.Image = null;
     this.chkEsPrincipal.Values.Text = "";
     //
     // kryptonLabel2
     //
     this.kryptonLabel2.LabelStyle = ComponentFactory.Krypton.Toolkit.LabelStyle.NormalControl;
     this.kryptonLabel2.Location = new System.Drawing.Point(19, 135);
     this.kryptonLabel2.Name = "kryptonLabel2";
     this.kryptonLabel2.PaletteMode = ComponentFactory.Krypton.Toolkit.PaletteMode.Global;
     this.kryptonLabel2.Size = new System.Drawing.Size(91, 20);
     this.kryptonLabel2.TabIndex = 30;
     this.kryptonLabel2.Text = "Administrador:";
     this.kryptonLabel2.Values.ExtraText = "";
     this.kryptonLabel2.Values.Image = null;
     this.kryptonLabel2.Values.Text = "Administrador:";
     //
     // kryptonLabel1
     //
     this.kryptonLabel1.LabelStyle = ComponentFactory.Krypton.Toolkit.LabelStyle.NormalControl;
     this.kryptonLabel1.Location = new System.Drawing.Point(19, 109);
     this.kryptonLabel1.Name = "kryptonLabel1";
     this.kryptonLabel1.PaletteMode = ComponentFactory.Krypton.Toolkit.PaletteMode.Global;
     this.kryptonLabel1.Size = new System.Drawing.Size(93, 20);
     this.kryptonLabel1.TabIndex = 29;
     this.kryptonLabel1.Text = "Fecha Registro:";
     this.kryptonLabel1.Values.ExtraText = "";
     this.kryptonLabel1.Values.Image = null;
     this.kryptonLabel1.Values.Text = "Fecha Registro:";
     //
     // dtpFechaRegistro
     //
     this.dtpFechaRegistro.CalendarDayOfWeekStyle = ComponentFactory.Krypton.Toolkit.ButtonStyle.CalendarDay;
     this.dtpFechaRegistro.CalendarDayStyle = ComponentFactory.Krypton.Toolkit.ButtonStyle.CalendarDay;
     this.dtpFechaRegistro.CalendarHeaderStyle = ComponentFactory.Krypton.Toolkit.HeaderStyle.Calendar;
     this.dtpFechaRegistro.CalendarTodayDate = new System.DateTime(2010, 4, 28, 0, 0, 0, 0);
     this.dtpFechaRegistro.DropButtonStyle = ComponentFactory.Krypton.Toolkit.ButtonStyle.InputControl;
     this.dtpFechaRegistro.InputControlStyle = ComponentFactory.Krypton.Toolkit.InputControlStyle.Standalone;
     this.dtpFechaRegistro.Location = new System.Drawing.Point(115, 106);
     this.dtpFechaRegistro.Name = "dtpFechaRegistro";
     this.dtpFechaRegistro.Size = new System.Drawing.Size(204, 21);
     this.dtpFechaRegistro.TabIndex = 28;
     this.dtpFechaRegistro.UpDownButtonStyle = ComponentFactory.Krypton.Toolkit.ButtonStyle.InputControl;
     //
     // cmbEmpleados
     //
     this.cmbEmpleados.DataSource = this.personalBindingSource;
     this.cmbEmpleados.DisplayMember = "nombreCompleto";
     this.cmbEmpleados.DropBackStyle = ComponentFactory.Krypton.Toolkit.PaletteBackStyle.ControlClient;
     this.cmbEmpleados.DropButtonStyle = ComponentFactory.Krypton.Toolkit.ButtonStyle.InputControl;
     this.cmbEmpleados.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cmbEmpleados.DropDownWidth = 258;
     this.cmbEmpleados.InputControlStyle = ComponentFactory.Krypton.Toolkit.InputControlStyle.Standalone;
     this.cmbEmpleados.ItemStyle = ComponentFactory.Krypton.Toolkit.ButtonStyle.ListItem;
     this.cmbEmpleados.Location = new System.Drawing.Point(115, 25);
     this.cmbEmpleados.Name = "cmbEmpleados";
     this.cmbEmpleados.PaletteMode = ComponentFactory.Krypton.Toolkit.PaletteMode.Global;
     this.cmbEmpleados.Size = new System.Drawing.Size(301, 21);
     this.cmbEmpleados.TabIndex = 27;
     this.cmbEmpleados.ValueMember = "personalID";
     //
     // txtPassword
     //
     this.txtPassword.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.txtPassword.BackColorEnter = System.Drawing.SystemColors.Window;
     this.txtPassword.BackColorLeave = System.Drawing.SystemColors.Window;
     this.txtPassword.DataType = ExactTarget.Windows.Controles.DataType.Alfanumerico;
     this.txtPassword.ForeColorEnter = System.Drawing.SystemColors.WindowText;
     this.txtPassword.ForeColorLeave = System.Drawing.SystemColors.WindowText;
     this.txtPassword.InputControlStyle = ComponentFactory.Krypton.Toolkit.InputControlStyle.Standalone;
     this.txtPassword.IsMayusculas = false;
     this.txtPassword.Location = new System.Drawing.Point(115, 80);
     this.txtPassword.MaxValue = 0;
     this.txtPassword.Name = "txtPassword";
     this.txtPassword.NumberDecimals = 3;
     this.txtPassword.PaletteMode = ComponentFactory.Krypton.Toolkit.PaletteMode.Office2007Blue;
     this.txtPassword.Size = new System.Drawing.Size(213, 20);
     this.txtPassword.TabIndex = 23;
     //
     // txtUsername
     //
     this.txtUsername.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.txtUsername.BackColorEnter = System.Drawing.SystemColors.Window;
     this.txtUsername.BackColorLeave = System.Drawing.SystemColors.Window;
     this.txtUsername.DataType = ExactTarget.Windows.Controles.DataType.Alfanumerico;
     this.txtUsername.ForeColorEnter = System.Drawing.SystemColors.WindowText;
     this.txtUsername.ForeColorLeave = System.Drawing.SystemColors.WindowText;
     this.txtUsername.InputControlStyle = ComponentFactory.Krypton.Toolkit.InputControlStyle.Standalone;
     this.txtUsername.IsMayusculas = false;
     this.txtUsername.Location = new System.Drawing.Point(115, 54);
     this.txtUsername.MaxValue = 0;
     this.txtUsername.Name = "txtUsername";
     this.txtUsername.NumberDecimals = 3;
     this.txtUsername.PaletteMode = ComponentFactory.Krypton.Toolkit.PaletteMode.Office2007Blue;
     this.txtUsername.Size = new System.Drawing.Size(213, 20);
     this.txtUsername.TabIndex = 22;
     //
     // label6
     //
     this.label6.LabelStyle = ComponentFactory.Krypton.Toolkit.LabelStyle.NormalControl;
     this.label6.Location = new System.Drawing.Point(19, 83);
     this.label6.Name = "label6";
     this.label6.PaletteMode = ComponentFactory.Krypton.Toolkit.PaletteMode.Global;
     this.label6.Size = new System.Drawing.Size(65, 20);
     this.label6.TabIndex = 10;
     this.label6.Text = "Password:"******"";
     this.label6.Values.Image = null;
     this.label6.Values.Text = "Password:"******"label3";
     this.label3.PaletteMode = ComponentFactory.Krypton.Toolkit.PaletteMode.Global;
     this.label3.Size = new System.Drawing.Size(55, 20);
     this.label3.TabIndex = 4;
     this.label3.Text = "Usuario:";
     this.label3.Values.ExtraText = "";
     this.label3.Values.Image = null;
     this.label3.Values.Text = "Usuario:";
     //
     // label2
     //
     this.label2.LabelStyle = ComponentFactory.Krypton.Toolkit.LabelStyle.NormalControl;
     this.label2.Location = new System.Drawing.Point(19, 28);
     this.label2.Name = "label2";
     this.label2.PaletteMode = ComponentFactory.Krypton.Toolkit.PaletteMode.Global;
     this.label2.Size = new System.Drawing.Size(68, 20);
     this.label2.TabIndex = 2;
     this.label2.Text = "Empleado:";
     this.label2.Values.ExtraText = "";
     this.label2.Values.Image = null;
     this.label2.Values.Text = "Empleado:";
     //
     // TsMenu
     //
     this.TsMenu.Font = new System.Drawing.Font("Segoe UI", 9F);
     this.TsMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
     this.TsbNuevo,
     this.TsbEditar,
     this.TsbEliminar,
     this.toolStripSeparator,
     this.TsbGuardar,
     this.TsbCancelar});
     this.TsMenu.Location = new System.Drawing.Point(0, 0);
     this.TsMenu.Name = "TsMenu";
     this.TsMenu.Size = new System.Drawing.Size(475, 25);
     this.TsMenu.TabIndex = 2;
     this.TsMenu.Text = "Barra de Menu";
     //
     // TsbNuevo
     //
     this.TsbNuevo.Image = global::ExactTarget.Windows.Properties.Resources.Add1;
     this.TsbNuevo.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.TsbNuevo.Name = "TsbNuevo";
     this.TsbNuevo.Size = new System.Drawing.Size(62, 22);
     this.TsbNuevo.Text = "&Nuevo";
     this.TsbNuevo.Click += new System.EventHandler(this.TsbNuevo_Click);
     //
     // TsbEditar
     //
     this.TsbEditar.Image = global::ExactTarget.Windows.Properties.Resources.Modify1;
     this.TsbEditar.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.TsbEditar.Name = "TsbEditar";
     this.TsbEditar.Size = new System.Drawing.Size(57, 22);
     this.TsbEditar.Text = "E&ditar";
     this.TsbEditar.Click += new System.EventHandler(this.TsbEditar_Click);
     //
     // TsbEliminar
     //
     this.TsbEliminar.Image = global::ExactTarget.Windows.Properties.Resources.Delete1;
     this.TsbEliminar.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.TsbEliminar.Name = "TsbEliminar";
     this.TsbEliminar.Size = new System.Drawing.Size(70, 22);
     this.TsbEliminar.Text = "&Eliminar";
     this.TsbEliminar.Click += new System.EventHandler(this.TsbEliminar_Click);
     //
     // toolStripSeparator
     //
     this.toolStripSeparator.Name = "toolStripSeparator";
     this.toolStripSeparator.Size = new System.Drawing.Size(6, 25);
     //
     // TsbGuardar
     //
     this.TsbGuardar.Image = global::ExactTarget.Windows.Properties.Resources.Save1;
     this.TsbGuardar.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.TsbGuardar.Name = "TsbGuardar";
     this.TsbGuardar.Size = new System.Drawing.Size(69, 22);
     this.TsbGuardar.Text = "&Guardar";
     this.TsbGuardar.Click += new System.EventHandler(this.TsbGuardar_Click);
     //
     // TsbCancelar
     //
     this.TsbCancelar.Image = global::ExactTarget.Windows.Properties.Resources.Back1;
     this.TsbCancelar.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.TsbCancelar.Name = "TsbCancelar";
     this.TsbCancelar.Size = new System.Drawing.Size(73, 22);
     this.TsbCancelar.Text = "&Cancelar";
     this.TsbCancelar.Click += new System.EventHandler(this.TsbCancelar_Click);
     //
     // perUsuario
     //
     this.perUsuario.Dock = System.Windows.Forms.DockStyle.Fill;
     this.perUsuario.EnabledPermisos = true;
     this.perUsuario.Location = new System.Drawing.Point(0, 0);
     this.perUsuario.Name = "perUsuario";
     this.perUsuario.PersonaID = ((short)(0));
     this.perUsuario.Size = new System.Drawing.Size(753, 240);
     this.perUsuario.TabIndex = 0;
     //
     // errValidator
     //
     this.errValidator.ContainerControl = this;
     //
     // usuarioIDDataGridViewTextBoxColumn
     //
     this.usuarioIDDataGridViewTextBoxColumn.DataPropertyName = "usuarioID";
     this.usuarioIDDataGridViewTextBoxColumn.HeaderText = "usuarioID";
     this.usuarioIDDataGridViewTextBoxColumn.Name = "usuarioIDDataGridViewTextBoxColumn";
     this.usuarioIDDataGridViewTextBoxColumn.ReadOnly = true;
     //
     // usernameDataGridViewTextBoxColumn
     //
     this.usernameDataGridViewTextBoxColumn.DataPropertyName = "username";
     this.usernameDataGridViewTextBoxColumn.HeaderText = "username";
     this.usernameDataGridViewTextBoxColumn.Name = "usernameDataGridViewTextBoxColumn";
     this.usernameDataGridViewTextBoxColumn.ReadOnly = true;
     //
     // passwordDataGridViewTextBoxColumn
     //
     this.passwordDataGridViewTextBoxColumn.DataPropertyName = "password";
     this.passwordDataGridViewTextBoxColumn.HeaderText = "password";
     this.passwordDataGridViewTextBoxColumn.Name = "passwordDataGridViewTextBoxColumn";
     this.passwordDataGridViewTextBoxColumn.ReadOnly = true;
     //
     // esPrincipalDataGridViewCheckBoxColumn
     //
     this.esPrincipalDataGridViewCheckBoxColumn.DataPropertyName = "esPrincipal";
     this.esPrincipalDataGridViewCheckBoxColumn.HeaderText = "esPrincipal";
     this.esPrincipalDataGridViewCheckBoxColumn.Name = "esPrincipalDataGridViewCheckBoxColumn";
     this.esPrincipalDataGridViewCheckBoxColumn.ReadOnly = true;
     //
     // fechaRegistroDataGridViewTextBoxColumn
     //
     this.fechaRegistroDataGridViewTextBoxColumn.DataPropertyName = "fechaRegistro";
     this.fechaRegistroDataGridViewTextBoxColumn.HeaderText = "fechaRegistro";
     this.fechaRegistroDataGridViewTextBoxColumn.Name = "fechaRegistroDataGridViewTextBoxColumn";
     this.fechaRegistroDataGridViewTextBoxColumn.ReadOnly = true;
     //
     // personalDataGridViewTextBoxColumn
     //
     this.personalDataGridViewTextBoxColumn.DataPropertyName = "Personal";
     this.personalDataGridViewTextBoxColumn.HeaderText = "Personal";
     this.personalDataGridViewTextBoxColumn.Name = "personalDataGridViewTextBoxColumn";
     this.personalDataGridViewTextBoxColumn.ReadOnly = true;
     //
     // permisosBindingSource
     //
     this.permisosBindingSource.DataSource = typeof(ExactTarget.Business.Entities.Permiso);
     //
     // personalBindingSource
     //
     this.personalBindingSource.DataSource = typeof(ExactTarget.Business.Entities.Usuario);
     //
     // FrmPermisos
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(753, 511);
     this.Controls.Add(this.splitContainer1);
     this.Controls.Add(this.kryptonHeader1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
     this.Name = "FrmPermisos";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text = "FrmPermisos";
     this.Load += new System.EventHandler(this.FrmPermisos_Load);
     this.splitContainer1.Panel1.ResumeLayout(false);
     this.splitContainer1.Panel2.ResumeLayout(false);
     this.splitContainer1.ResumeLayout(false);
     this.splitContainer2.Panel1.ResumeLayout(false);
     this.splitContainer2.Panel1.PerformLayout();
     this.splitContainer2.Panel2.ResumeLayout(false);
     this.splitContainer2.Panel2.PerformLayout();
     this.splitContainer2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.dgvUsuarios)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.usuarioBindingSource)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.usuarioBindingNavigator)).EndInit();
     this.usuarioBindingNavigator.ResumeLayout(false);
     this.usuarioBindingNavigator.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).EndInit();
     this.kryptonPanel1.ResumeLayout(false);
     this.gbxInformacion.ResumeLayout(false);
     this.gbxInformacion.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.cmbEmpleados)).EndInit();
     this.TsMenu.ResumeLayout(false);
     this.TsMenu.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.errValidator)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.permisosBindingSource)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.personalBindingSource)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #5
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(KaraoqPlayBackTool));
     this.kryptonButton1 = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.kryptonPanel1 = new ComponentFactory.Krypton.Toolkit.KryptonPanel();
     this.kryptonHeaderGroup18 = new ComponentFactory.Krypton.Toolkit.KryptonHeaderGroup();
     this.pnlMain = new System.Windows.Forms.Panel();
     this.pnlSaxDotty = new System.Windows.Forms.Panel();
     this.ktxtDatabasePath = new ComponentFactory.Krypton.Toolkit.KryptonTextBox();
     this.kryptonLabel2 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
     this.klblPathValidate = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
     this.kbtnBrowse = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.kbtnCancel = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.ddlPlaybackTools = new ComponentFactory.Krypton.Toolkit.KryptonComboBox();
     this.kryptonLabel1 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
     this.kbtnKaraoqPlayBackTool = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).BeginInit();
     this.kryptonPanel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonHeaderGroup18)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonHeaderGroup18.Panel)).BeginInit();
     this.kryptonHeaderGroup18.Panel.SuspendLayout();
     this.kryptonHeaderGroup18.SuspendLayout();
     this.pnlMain.SuspendLayout();
     this.pnlSaxDotty.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.ddlPlaybackTools)).BeginInit();
     this.SuspendLayout();
     //
     // kryptonButton1
     //
     this.kryptonButton1.Location = new System.Drawing.Point(0, 0);
     this.kryptonButton1.Name = "kryptonButton1";
     this.kryptonButton1.Size = new System.Drawing.Size(90, 25);
     this.kryptonButton1.TabIndex = 0;
     //
     // kryptonPanel1
     //
     this.kryptonPanel1.Controls.Add(this.kryptonHeaderGroup18);
     this.kryptonPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.kryptonPanel1.Location = new System.Drawing.Point(0, 0);
     this.kryptonPanel1.Margin = new System.Windows.Forms.Padding(0);
     this.kryptonPanel1.Name = "kryptonPanel1";
     this.kryptonPanel1.Padding = new System.Windows.Forms.Padding(1);
     this.kryptonPanel1.Size = new System.Drawing.Size(674, 313);
     this.kryptonPanel1.TabIndex = 7;
     //
     // kryptonHeaderGroup18
     //
     this.kryptonHeaderGroup18.AutoSize = true;
     this.kryptonHeaderGroup18.Dock = System.Windows.Forms.DockStyle.Fill;
     this.kryptonHeaderGroup18.GroupBackStyle = ComponentFactory.Krypton.Toolkit.PaletteBackStyle.TabStandardProfile;
     this.kryptonHeaderGroup18.HeaderVisibleSecondary = false;
     this.kryptonHeaderGroup18.Location = new System.Drawing.Point(1, 1);
     this.kryptonHeaderGroup18.Margin = new System.Windows.Forms.Padding(0);
     this.kryptonHeaderGroup18.Name = "kryptonHeaderGroup18";
     //
     // kryptonHeaderGroup18.Panel
     //
     this.kryptonHeaderGroup18.Panel.Controls.Add(this.pnlMain);
     this.kryptonHeaderGroup18.Size = new System.Drawing.Size(672, 311);
     this.kryptonHeaderGroup18.StateCommon.HeaderPrimary.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kryptonHeaderGroup18.StateCommon.HeaderPrimary.Content.ShortText.TextH = ComponentFactory.Krypton.Toolkit.PaletteRelativeAlign.Center;
     this.kryptonHeaderGroup18.TabIndex = 2;
     this.kryptonHeaderGroup18.ValuesPrimary.Heading = "Select Playback Tool";
     this.kryptonHeaderGroup18.ValuesPrimary.Image = null;
     //
     // pnlMain
     //
     this.pnlMain.BackColor = System.Drawing.Color.Transparent;
     this.pnlMain.Controls.Add(this.pnlSaxDotty);
     this.pnlMain.Controls.Add(this.kbtnCancel);
     this.pnlMain.Controls.Add(this.ddlPlaybackTools);
     this.pnlMain.Controls.Add(this.kryptonLabel1);
     this.pnlMain.Controls.Add(this.kbtnKaraoqPlayBackTool);
     this.pnlMain.Dock = System.Windows.Forms.DockStyle.Fill;
     this.pnlMain.Location = new System.Drawing.Point(0, 0);
     this.pnlMain.Name = "pnlMain";
     this.pnlMain.Size = new System.Drawing.Size(670, 284);
     this.pnlMain.TabIndex = 0;
     //
     // pnlSaxDotty
     //
     this.pnlSaxDotty.Controls.Add(this.ktxtDatabasePath);
     this.pnlSaxDotty.Controls.Add(this.kryptonLabel2);
     this.pnlSaxDotty.Controls.Add(this.klblPathValidate);
     this.pnlSaxDotty.Controls.Add(this.kbtnBrowse);
     this.pnlSaxDotty.Location = new System.Drawing.Point(11, 48);
     this.pnlSaxDotty.Name = "pnlSaxDotty";
     this.pnlSaxDotty.Size = new System.Drawing.Size(649, 68);
     this.pnlSaxDotty.TabIndex = 157;
     //
     // ktxtDatabasePath
     //
     this.ktxtDatabasePath.BackColor = System.Drawing.Color.LemonChiffon;
     this.ktxtDatabasePath.Location = new System.Drawing.Point(123, 12);
     this.ktxtDatabasePath.MaxLength = 25;
     this.ktxtDatabasePath.Name = "ktxtDatabasePath";
     this.ktxtDatabasePath.ReadOnly = true;
     this.ktxtDatabasePath.Size = new System.Drawing.Size(469, 20);
     this.ktxtDatabasePath.TabIndex = 152;
     this.ktxtDatabasePath.Tag = "Please select Database File Path";
     //
     // kryptonLabel2
     //
     this.kryptonLabel2.Location = new System.Drawing.Point(2, 12);
     this.kryptonLabel2.Name = "kryptonLabel2";
     this.kryptonLabel2.Size = new System.Drawing.Size(95, 20);
     this.kryptonLabel2.TabIndex = 153;
     this.kryptonLabel2.Values.Text = "Database Path : ";
     //
     // klblPathValidate
     //
     this.klblPathValidate.LabelStyle = ComponentFactory.Krypton.Toolkit.LabelStyle.BoldPanel;
     this.klblPathValidate.Location = new System.Drawing.Point(606, 12);
     this.klblPathValidate.Name = "klblPathValidate";
     this.klblPathValidate.Size = new System.Drawing.Size(40, 20);
     this.klblPathValidate.TabIndex = 155;
     this.klblPathValidate.Values.Text = "Valid";
     //
     // kbtnBrowse
     //
     this.kbtnBrowse.Cursor = System.Windows.Forms.Cursors.Hand;
     this.kbtnBrowse.Location = new System.Drawing.Point(123, 38);
     this.kbtnBrowse.Name = "kbtnBrowse";
     this.kbtnBrowse.Size = new System.Drawing.Size(143, 25);
     this.kbtnBrowse.TabIndex = 154;
     this.kbtnBrowse.Values.Text = "&Browse Database Path";
     this.kbtnBrowse.Click += new System.EventHandler(this.kbtnBrowse_Click);
     //
     // kbtnCancel
     //
     this.kbtnCancel.Cursor = System.Windows.Forms.Cursors.Hand;
     this.kbtnCancel.Location = new System.Drawing.Point(300, 119);
     this.kbtnCancel.Name = "kbtnCancel";
     this.kbtnCancel.Size = new System.Drawing.Size(143, 25);
     this.kbtnCancel.TabIndex = 156;
     this.kbtnCancel.Values.Text = "&Cancel";
     this.kbtnCancel.Visible = false;
     this.kbtnCancel.Click += new System.EventHandler(this.kbtnCancel_Click);
     //
     // ddlPlaybackTools
     //
     this.ddlPlaybackTools.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.Append;
     this.ddlPlaybackTools.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems;
     this.ddlPlaybackTools.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.ddlPlaybackTools.DropDownWidth = 148;
     this.ddlPlaybackTools.Location = new System.Drawing.Point(134, 24);
     this.ddlPlaybackTools.Name = "ddlPlaybackTools";
     this.ddlPlaybackTools.Size = new System.Drawing.Size(228, 21);
     this.ddlPlaybackTools.TabIndex = 151;
     this.ddlPlaybackTools.Tag = "Please select Playback Tool";
     this.ddlPlaybackTools.SelectedIndexChanged += new System.EventHandler(this.ddlPlaybackTools_SelectedIndexChanged);
     //
     // kryptonLabel1
     //
     this.kryptonLabel1.Location = new System.Drawing.Point(11, 25);
     this.kryptonLabel1.Name = "kryptonLabel1";
     this.kryptonLabel1.Size = new System.Drawing.Size(127, 20);
     this.kryptonLabel1.TabIndex = 150;
     this.kryptonLabel1.Values.Text = "Select Playback Tool : ";
     //
     // kbtnKaraoqPlayBackTool
     //
     this.kbtnKaraoqPlayBackTool.Cursor = System.Windows.Forms.Cursors.Hand;
     this.kbtnKaraoqPlayBackTool.Location = new System.Drawing.Point(134, 119);
     this.kbtnKaraoqPlayBackTool.Name = "kbtnKaraoqPlayBackTool";
     this.kbtnKaraoqPlayBackTool.Size = new System.Drawing.Size(143, 25);
     this.kbtnKaraoqPlayBackTool.TabIndex = 4;
     this.kbtnKaraoqPlayBackTool.Values.Text = "&Next";
     this.kbtnKaraoqPlayBackTool.Click += new System.EventHandler(this.kbtnKaraoqPlayBackTool_Click);
     //
     // KaraoqPlayBackTool
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(674, 313);
     this.Controls.Add(this.kryptonPanel1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
     this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox = false;
     this.MinimizeBox = false;
     this.Name = "KaraoqPlayBackTool";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text = "synQ | Automated karaoQ Syncing Service";
     this.Load += new System.EventHandler(this.KaraoqPlayBackTool_Load);
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).EndInit();
     this.kryptonPanel1.ResumeLayout(false);
     this.kryptonPanel1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonHeaderGroup18.Panel)).EndInit();
     this.kryptonHeaderGroup18.Panel.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.kryptonHeaderGroup18)).EndInit();
     this.kryptonHeaderGroup18.ResumeLayout(false);
     this.pnlMain.ResumeLayout(false);
     this.pnlMain.PerformLayout();
     this.pnlSaxDotty.ResumeLayout(false);
     this.pnlSaxDotty.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.ddlPlaybackTools)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #6
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.kryptonPanel1 = new ComponentFactory.Krypton.Toolkit.KryptonPanel();
     this.txtCleanStep = new ComponentFactory.Krypton.Toolkit.KryptonComboBox();
     this.btnAdd = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.txtPortCode = new ComponentFactory.Krypton.Toolkit.KryptonTextBox();
     this.q = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
     this.kryptonLabel1 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).BeginInit();
     this.kryptonPanel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.txtCleanStep)).BeginInit();
     this.SuspendLayout();
     //
     // kryptonPanel1
     //
     this.kryptonPanel1.Controls.Add(this.txtCleanStep);
     this.kryptonPanel1.Controls.Add(this.btnAdd);
     this.kryptonPanel1.Controls.Add(this.txtPortCode);
     this.kryptonPanel1.Controls.Add(this.q);
     this.kryptonPanel1.Controls.Add(this.kryptonLabel1);
     this.kryptonPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.kryptonPanel1.Location = new System.Drawing.Point(0, 0);
     this.kryptonPanel1.Name = "kryptonPanel1";
     this.kryptonPanel1.Size = new System.Drawing.Size(327, 151);
     this.kryptonPanel1.TabIndex = 0;
     //
     // txtCleanStep
     //
     this.txtCleanStep.DropDownWidth = 121;
     this.txtCleanStep.Location = new System.Drawing.Point(116, 67);
     this.txtCleanStep.Name = "txtCleanStep";
     this.txtCleanStep.Size = new System.Drawing.Size(121, 21);
     this.txtCleanStep.TabIndex = 3;
     //
     // btnAdd
     //
     this.btnAdd.Location = new System.Drawing.Point(225, 111);
     this.btnAdd.Name = "btnAdd";
     this.btnAdd.Size = new System.Drawing.Size(90, 27);
     this.btnAdd.TabIndex = 2;
     this.btnAdd.Values.Text = "添加";
     this.btnAdd.Click += new System.EventHandler(this.btnAdd_Click);
     //
     // txtPortCode
     //
     this.txtPortCode.Location = new System.Drawing.Point(116, 28);
     this.txtPortCode.Name = "txtPortCode";
     this.txtPortCode.Size = new System.Drawing.Size(121, 20);
     this.txtPortCode.TabIndex = 1;
     //
     // q
     //
     this.q.Location = new System.Drawing.Point(25, 67);
     this.q.Name = "q";
     this.q.Size = new System.Drawing.Size(73, 20);
     this.q.TabIndex = 0;
     this.q.Values.Text = "清洗槽名:";
     //
     // kryptonLabel1
     //
     this.kryptonLabel1.Location = new System.Drawing.Point(25, 27);
     this.kryptonLabel1.Name = "kryptonLabel1";
     this.kryptonLabel1.Size = new System.Drawing.Size(73, 20);
     this.kryptonLabel1.TabIndex = 0;
     this.kryptonLabel1.Values.Text = "端口编号:";
     //
     // AddNewItem
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(327, 151);
     this.Controls.Add(this.kryptonPanel1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
     this.MaximizeBox = false;
     this.MinimizeBox = false;
     this.Name = "AddNewItem";
     this.Text = "AddNewItem";
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).EndInit();
     this.kryptonPanel1.ResumeLayout(false);
     this.kryptonPanel1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.txtCleanStep)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #7
0
 /// <summary> 
 /// Método necesario para admitir el Diseñador. No se puede modificar 
 /// el contenido del método con el editor de código.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
     this.kryptonHeader2 = new ComponentFactory.Krypton.Toolkit.KryptonHeader();
     this.kryptonPanel1 = new ComponentFactory.Krypton.Toolkit.KryptonPanel();
     this.splitContainer1 = new System.Windows.Forms.SplitContainer();
     this.formularioKryptonDataGridView = new ComponentFactory.Krypton.Toolkit.KryptonDataGridView();
     this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.formularioBindingSource = new System.Windows.Forms.BindingSource(this.components);
     this.panel1 = new System.Windows.Forms.Panel();
     this.cmbMenus = new ComponentFactory.Krypton.Toolkit.KryptonComboBox();
     this.menuBindingSource = new System.Windows.Forms.BindingSource(this.components);
     this.label2 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
     this.dgvPermisos = new ComponentFactory.Krypton.Toolkit.KryptonDataGridView();
     this.ID = new ComponentFactory.Krypton.Toolkit.KryptonDataGridViewTextBoxColumn();
     this.Accion = new ComponentFactory.Krypton.Toolkit.KryptonDataGridViewTextBoxColumn();
     this.Permitir = new ComponentFactory.Krypton.Toolkit.KryptonDataGridViewCheckBoxColumn();
     this.panel2 = new System.Windows.Forms.Panel();
     this.chkTodos = new ComponentFactory.Krypton.Toolkit.KryptonCheckBox();
     this.kryptonLabel1 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).BeginInit();
     this.kryptonPanel1.SuspendLayout();
     this.splitContainer1.Panel1.SuspendLayout();
     this.splitContainer1.Panel2.SuspendLayout();
     this.splitContainer1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.formularioKryptonDataGridView)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.formularioBindingSource)).BeginInit();
     this.panel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.cmbMenus)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.menuBindingSource)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dgvPermisos)).BeginInit();
     this.panel2.SuspendLayout();
     this.SuspendLayout();
     //
     // kryptonHeader2
     //
     this.kryptonHeader2.Dock = System.Windows.Forms.DockStyle.Top;
     this.kryptonHeader2.HeaderStyle = ComponentFactory.Krypton.Toolkit.HeaderStyle.Secondary;
     this.kryptonHeader2.Location = new System.Drawing.Point(0, 0);
     this.kryptonHeader2.Name = "kryptonHeader2";
     this.kryptonHeader2.PaletteMode = ComponentFactory.Krypton.Toolkit.PaletteMode.Global;
     this.kryptonHeader2.Size = new System.Drawing.Size(689, 22);
     this.kryptonHeader2.TabIndex = 1;
     this.kryptonHeader2.Text = "Permisos";
     this.kryptonHeader2.Values.Description = "";
     this.kryptonHeader2.Values.Heading = "Permisos";
     this.kryptonHeader2.Values.Image = null;
     //
     // kryptonPanel1
     //
     this.kryptonPanel1.Controls.Add(this.splitContainer1);
     this.kryptonPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.kryptonPanel1.Location = new System.Drawing.Point(0, 22);
     this.kryptonPanel1.Name = "kryptonPanel1";
     this.kryptonPanel1.PaletteMode = ComponentFactory.Krypton.Toolkit.PaletteMode.Global;
     this.kryptonPanel1.PanelBackStyle = ComponentFactory.Krypton.Toolkit.PaletteBackStyle.PanelClient;
     this.kryptonPanel1.Size = new System.Drawing.Size(689, 174);
     this.kryptonPanel1.TabIndex = 2;
     //
     // splitContainer1
     //
     this.splitContainer1.BackColor = System.Drawing.Color.Transparent;
     this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.splitContainer1.FixedPanel = System.Windows.Forms.FixedPanel.Panel1;
     this.splitContainer1.Location = new System.Drawing.Point(0, 0);
     this.splitContainer1.Name = "splitContainer1";
     //
     // splitContainer1.Panel1
     //
     this.splitContainer1.Panel1.AutoScroll = true;
     this.splitContainer1.Panel1.Controls.Add(this.formularioKryptonDataGridView);
     this.splitContainer1.Panel1.Controls.Add(this.panel1);
     //
     // splitContainer1.Panel2
     //
     this.splitContainer1.Panel2.Controls.Add(this.dgvPermisos);
     this.splitContainer1.Panel2.Controls.Add(this.panel2);
     this.splitContainer1.Size = new System.Drawing.Size(689, 174);
     this.splitContainer1.SplitterDistance = 421;
     this.splitContainer1.TabIndex = 0;
     //
     // formularioKryptonDataGridView
     //
     this.formularioKryptonDataGridView.AllowUserToAddRows = false;
     this.formularioKryptonDataGridView.AllowUserToDeleteRows = false;
     this.formularioKryptonDataGridView.AutoGenerateColumns = false;
     this.formularioKryptonDataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
     this.dataGridViewTextBoxColumn2,
     this.dataGridViewTextBoxColumn3,
     this.dataGridViewTextBoxColumn5});
     this.formularioKryptonDataGridView.DataSource = this.formularioBindingSource;
     this.formularioKryptonDataGridView.Dock = System.Windows.Forms.DockStyle.Fill;
     this.formularioKryptonDataGridView.GridStyles.Style = ComponentFactory.Krypton.Toolkit.DataGridViewStyle.Sheet;
     this.formularioKryptonDataGridView.GridStyles.StyleBackground = ComponentFactory.Krypton.Toolkit.PaletteBackStyle.GridBackgroundSheet;
     this.formularioKryptonDataGridView.GridStyles.StyleColumn = ComponentFactory.Krypton.Toolkit.GridStyle.Sheet;
     this.formularioKryptonDataGridView.GridStyles.StyleDataCells = ComponentFactory.Krypton.Toolkit.GridStyle.Sheet;
     this.formularioKryptonDataGridView.GridStyles.StyleRow = ComponentFactory.Krypton.Toolkit.GridStyle.Sheet;
     this.formularioKryptonDataGridView.Location = new System.Drawing.Point(0, 40);
     this.formularioKryptonDataGridView.Name = "formularioKryptonDataGridView";
     this.formularioKryptonDataGridView.PaletteMode = ComponentFactory.Krypton.Toolkit.PaletteMode.Global;
     this.formularioKryptonDataGridView.ReadOnly = true;
     this.formularioKryptonDataGridView.RowHeadersWidth = 10;
     this.formularioKryptonDataGridView.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
     this.formularioKryptonDataGridView.Size = new System.Drawing.Size(421, 134);
     this.formularioKryptonDataGridView.StateCommon.BackStyle = ComponentFactory.Krypton.Toolkit.PaletteBackStyle.GridBackgroundSheet;
     this.formularioKryptonDataGridView.TabIndex = 1;
     this.formularioKryptonDataGridView.CellEnter += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvFormularios_CellEnter);
     //
     // dataGridViewTextBoxColumn2
     //
     this.dataGridViewTextBoxColumn2.DataPropertyName = "FormularioID";
     this.dataGridViewTextBoxColumn2.HeaderText = "ID";
     this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2";
     this.dataGridViewTextBoxColumn2.ReadOnly = true;
     this.dataGridViewTextBoxColumn2.Width = 40;
     //
     // dataGridViewTextBoxColumn3
     //
     this.dataGridViewTextBoxColumn3.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
     this.dataGridViewTextBoxColumn3.DataPropertyName = "Nombre";
     this.dataGridViewTextBoxColumn3.HeaderText = "Nombre";
     this.dataGridViewTextBoxColumn3.Name = "dataGridViewTextBoxColumn3";
     this.dataGridViewTextBoxColumn3.ReadOnly = true;
     //
     // dataGridViewTextBoxColumn5
     //
     this.dataGridViewTextBoxColumn5.DataPropertyName = "Descripcion";
     this.dataGridViewTextBoxColumn5.HeaderText = "Descripcion";
     this.dataGridViewTextBoxColumn5.Name = "dataGridViewTextBoxColumn5";
     this.dataGridViewTextBoxColumn5.ReadOnly = true;
     //
     // formularioBindingSource
     //
     this.formularioBindingSource.DataSource = typeof(ExactTarget.Business.Entities.Formulario);
     //
     // panel1
     //
     this.panel1.Controls.Add(this.cmbMenus);
     this.panel1.Controls.Add(this.label2);
     this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
     this.panel1.Location = new System.Drawing.Point(0, 0);
     this.panel1.Name = "panel1";
     this.panel1.Size = new System.Drawing.Size(421, 40);
     this.panel1.TabIndex = 0;
     //
     // cmbMenus
     //
     this.cmbMenus.DataSource = this.menuBindingSource;
     this.cmbMenus.DisplayMember = "Nombre";
     this.cmbMenus.DropBackStyle = ComponentFactory.Krypton.Toolkit.PaletteBackStyle.ControlClient;
     this.cmbMenus.DropButtonStyle = ComponentFactory.Krypton.Toolkit.ButtonStyle.InputControl;
     this.cmbMenus.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cmbMenus.DropDownWidth = 190;
     this.cmbMenus.InputControlStyle = ComponentFactory.Krypton.Toolkit.InputControlStyle.Standalone;
     this.cmbMenus.ItemStyle = ComponentFactory.Krypton.Toolkit.ButtonStyle.ListItem;
     this.cmbMenus.Location = new System.Drawing.Point(90, 9);
     this.cmbMenus.Name = "cmbMenus";
     this.cmbMenus.PaletteMode = ComponentFactory.Krypton.Toolkit.PaletteMode.Global;
     this.cmbMenus.Size = new System.Drawing.Size(190, 21);
     this.cmbMenus.TabIndex = 4;
     this.cmbMenus.ValueMember = "MenuID";
     this.cmbMenus.SelectedIndexChanged += new System.EventHandler(this.cmbMenus_SelectedIndexChanged);
     //
     // menuBindingSource
     //
     this.menuBindingSource.DataSource = typeof(ExactTarget.Business.Entities.Menu);
     //
     // label2
     //
     this.label2.LabelStyle = ComponentFactory.Krypton.Toolkit.LabelStyle.NormalControl;
     this.label2.Location = new System.Drawing.Point(15, 8);
     this.label2.Name = "label2";
     this.label2.PaletteMode = ComponentFactory.Krypton.Toolkit.PaletteMode.Global;
     this.label2.Size = new System.Drawing.Size(56, 20);
     this.label2.TabIndex = 3;
     this.label2.Text = "Modulo:";
     this.label2.Values.ExtraText = "";
     this.label2.Values.Image = null;
     this.label2.Values.Text = "Modulo:";
     //
     // dgvPermisos
     //
     this.dgvPermisos.AllowUserToAddRows = false;
     this.dgvPermisos.AllowUserToDeleteRows = false;
     this.dgvPermisos.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
     this.ID,
     this.Accion,
     this.Permitir});
     this.dgvPermisos.Dock = System.Windows.Forms.DockStyle.Fill;
     this.dgvPermisos.GridStyles.Style = ComponentFactory.Krypton.Toolkit.DataGridViewStyle.Sheet;
     this.dgvPermisos.GridStyles.StyleBackground = ComponentFactory.Krypton.Toolkit.PaletteBackStyle.GridBackgroundSheet;
     this.dgvPermisos.GridStyles.StyleColumn = ComponentFactory.Krypton.Toolkit.GridStyle.Sheet;
     this.dgvPermisos.GridStyles.StyleDataCells = ComponentFactory.Krypton.Toolkit.GridStyle.Sheet;
     this.dgvPermisos.GridStyles.StyleRow = ComponentFactory.Krypton.Toolkit.GridStyle.Sheet;
     this.dgvPermisos.Location = new System.Drawing.Point(0, 40);
     this.dgvPermisos.Name = "dgvPermisos";
     this.dgvPermisos.PaletteMode = ComponentFactory.Krypton.Toolkit.PaletteMode.Global;
     this.dgvPermisos.ReadOnly = true;
     this.dgvPermisos.RowHeadersWidth = 10;
     this.dgvPermisos.Size = new System.Drawing.Size(264, 134);
     this.dgvPermisos.StateCommon.BackStyle = ComponentFactory.Krypton.Toolkit.PaletteBackStyle.GridBackgroundSheet;
     this.dgvPermisos.TabIndex = 2;
     this.dgvPermisos.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvPermisos_CellContentClick);
     //
     // ID
     //
     this.ID.HeaderText = "ID";
     this.ID.Name = "ID";
     this.ID.ReadOnly = true;
     this.ID.Width = 40;
     //
     // Accion
     //
     this.Accion.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
     this.Accion.HeaderText = "Accion";
     this.Accion.Name = "Accion";
     this.Accion.ReadOnly = true;
     //
     // Permitir
     //
     dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
     dataGridViewCellStyle2.NullValue = false;
     this.Permitir.DefaultCellStyle = dataGridViewCellStyle2;
     this.Permitir.FalseValue = null;
     this.Permitir.HeaderText = "Permitir";
     this.Permitir.IndeterminateValue = null;
     this.Permitir.Name = "Permitir";
     this.Permitir.ReadOnly = true;
     this.Permitir.TrueValue = null;
     //
     // panel2
     //
     this.panel2.Controls.Add(this.chkTodos);
     this.panel2.Controls.Add(this.kryptonLabel1);
     this.panel2.Dock = System.Windows.Forms.DockStyle.Top;
     this.panel2.Location = new System.Drawing.Point(0, 0);
     this.panel2.Name = "panel2";
     this.panel2.Size = new System.Drawing.Size(264, 40);
     this.panel2.TabIndex = 1;
     //
     // chkTodos
     //
     this.chkTodos.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.chkTodos.LabelStyle = ComponentFactory.Krypton.Toolkit.LabelStyle.NormalControl;
     this.chkTodos.Location = new System.Drawing.Point(168, 10);
     this.chkTodos.Name = "chkTodos";
     this.chkTodos.PaletteMode = ComponentFactory.Krypton.Toolkit.PaletteMode.Global;
     this.chkTodos.Size = new System.Drawing.Size(93, 20);
     this.chkTodos.TabIndex = 4;
     this.chkTodos.Text = "Marcar Todo";
     this.chkTodos.Values.ExtraText = "";
     this.chkTodos.Values.Image = null;
     this.chkTodos.Values.Text = "Marcar Todo";
     this.chkTodos.CheckedChanged += new System.EventHandler(this.chkTodos_CheckedChanged);
     //
     // kryptonLabel1
     //
     this.kryptonLabel1.LabelStyle = ComponentFactory.Krypton.Toolkit.LabelStyle.NormalControl;
     this.kryptonLabel1.Location = new System.Drawing.Point(16, 7);
     this.kryptonLabel1.Name = "kryptonLabel1";
     this.kryptonLabel1.PaletteMode = ComponentFactory.Krypton.Toolkit.PaletteMode.Global;
     this.kryptonLabel1.Size = new System.Drawing.Size(145, 20);
     this.kryptonLabel1.TabIndex = 3;
     this.kryptonLabel1.Text = "Acciones del formulario::";
     this.kryptonLabel1.Values.ExtraText = "";
     this.kryptonLabel1.Values.Image = null;
     this.kryptonLabel1.Values.Text = "Acciones del formulario::";
     //
     // PermisosFormulario
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.kryptonPanel1);
     this.Controls.Add(this.kryptonHeader2);
     this.Name = "PermisosFormulario";
     this.Size = new System.Drawing.Size(689, 196);
     this.Load += new System.EventHandler(this.PermisosFormulario_Load);
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).EndInit();
     this.kryptonPanel1.ResumeLayout(false);
     this.splitContainer1.Panel1.ResumeLayout(false);
     this.splitContainer1.Panel2.ResumeLayout(false);
     this.splitContainer1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.formularioKryptonDataGridView)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.formularioBindingSource)).EndInit();
     this.panel1.ResumeLayout(false);
     this.panel1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.cmbMenus)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.menuBindingSource)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dgvPermisos)).EndInit();
     this.panel2.ResumeLayout(false);
     this.panel2.PerformLayout();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #8
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();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(KaraokiVenue));
     this.kryptonButton1 = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.bwVenueSync = new System.ComponentModel.BackgroundWorker();
     this.kryptonPanel1 = new ComponentFactory.Krypton.Toolkit.KryptonPanel();
     this.kryptonHeaderGroup18 = new ComponentFactory.Krypton.Toolkit.KryptonHeaderGroup();
     this.pnlMain = new System.Windows.Forms.Panel();
     this.kbtnLogout = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.klblTimeUnit = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
     this.kryptonLabel2 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
     this.ktxtSyncTime = new ComponentFactory.Krypton.Toolkit.KryptonTextBox();
     this.kbtnStopSync = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.ddlVenue = new ComponentFactory.Krypton.Toolkit.KryptonComboBox();
     this.kryptonLabel1 = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
     this.kbtnStartSync = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.tmSync = new System.Windows.Forms.Timer(this.components);
     this.pbSync = new System.Windows.Forms.ProgressBar();
     this.klblCurrentImport = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).BeginInit();
     this.kryptonPanel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonHeaderGroup18)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonHeaderGroup18.Panel)).BeginInit();
     this.kryptonHeaderGroup18.Panel.SuspendLayout();
     this.kryptonHeaderGroup18.SuspendLayout();
     this.pnlMain.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.ddlVenue)).BeginInit();
     this.SuspendLayout();
     //
     // kryptonButton1
     //
     this.kryptonButton1.Location = new System.Drawing.Point(0, 0);
     this.kryptonButton1.Name = "kryptonButton1";
     this.kryptonButton1.Size = new System.Drawing.Size(90, 25);
     this.kryptonButton1.TabIndex = 0;
     //
     // bwVenueSync
     //
     this.bwVenueSync.WorkerSupportsCancellation = true;
     this.bwVenueSync.DoWork += new System.ComponentModel.DoWorkEventHandler(this.bwVenueSync_DoWork);
     this.bwVenueSync.ProgressChanged += new System.ComponentModel.ProgressChangedEventHandler(this.bwVenueSync_ProgressChanged);
     this.bwVenueSync.RunWorkerCompleted += new System.ComponentModel.RunWorkerCompletedEventHandler(this.bwVenueSync_RunWorkerCompleted);
     //
     // kryptonPanel1
     //
     this.kryptonPanel1.Controls.Add(this.kryptonHeaderGroup18);
     this.kryptonPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.kryptonPanel1.Location = new System.Drawing.Point(0, 0);
     this.kryptonPanel1.Margin = new System.Windows.Forms.Padding(0);
     this.kryptonPanel1.Name = "kryptonPanel1";
     this.kryptonPanel1.Padding = new System.Windows.Forms.Padding(1);
     this.kryptonPanel1.Size = new System.Drawing.Size(531, 275);
     this.kryptonPanel1.TabIndex = 7;
     //
     // kryptonHeaderGroup18
     //
     this.kryptonHeaderGroup18.AutoSize = true;
     this.kryptonHeaderGroup18.Dock = System.Windows.Forms.DockStyle.Fill;
     this.kryptonHeaderGroup18.GroupBackStyle = ComponentFactory.Krypton.Toolkit.PaletteBackStyle.TabStandardProfile;
     this.kryptonHeaderGroup18.HeaderVisibleSecondary = false;
     this.kryptonHeaderGroup18.Location = new System.Drawing.Point(1, 1);
     this.kryptonHeaderGroup18.Margin = new System.Windows.Forms.Padding(0);
     this.kryptonHeaderGroup18.Name = "kryptonHeaderGroup18";
     //
     // kryptonHeaderGroup18.Panel
     //
     this.kryptonHeaderGroup18.Panel.Controls.Add(this.pnlMain);
     this.kryptonHeaderGroup18.Size = new System.Drawing.Size(529, 273);
     this.kryptonHeaderGroup18.StateCommon.HeaderPrimary.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kryptonHeaderGroup18.StateCommon.HeaderPrimary.Content.ShortText.TextH = ComponentFactory.Krypton.Toolkit.PaletteRelativeAlign.Center;
     this.kryptonHeaderGroup18.TabIndex = 2;
     this.kryptonHeaderGroup18.ValuesPrimary.Heading = "Select Venue To Sync";
     this.kryptonHeaderGroup18.ValuesPrimary.Image = null;
     //
     // pnlMain
     //
     this.pnlMain.BackColor = System.Drawing.Color.Transparent;
     this.pnlMain.Controls.Add(this.klblCurrentImport);
     this.pnlMain.Controls.Add(this.pbSync);
     this.pnlMain.Controls.Add(this.kbtnLogout);
     this.pnlMain.Controls.Add(this.klblTimeUnit);
     this.pnlMain.Controls.Add(this.kryptonLabel2);
     this.pnlMain.Controls.Add(this.ktxtSyncTime);
     this.pnlMain.Controls.Add(this.kbtnStopSync);
     this.pnlMain.Controls.Add(this.ddlVenue);
     this.pnlMain.Controls.Add(this.kryptonLabel1);
     this.pnlMain.Controls.Add(this.kbtnStartSync);
     this.pnlMain.Dock = System.Windows.Forms.DockStyle.Fill;
     this.pnlMain.Location = new System.Drawing.Point(0, 0);
     this.pnlMain.Name = "pnlMain";
     this.pnlMain.Size = new System.Drawing.Size(527, 246);
     this.pnlMain.TabIndex = 0;
     //
     // kbtnLogout
     //
     this.kbtnLogout.Anchor = System.Windows.Forms.AnchorStyles.Right;
     this.kbtnLogout.Cursor = System.Windows.Forms.Cursors.Hand;
     this.kbtnLogout.Location = new System.Drawing.Point(434, 3);
     this.kbtnLogout.Name = "kbtnLogout";
     this.kbtnLogout.Size = new System.Drawing.Size(90, 25);
     this.kbtnLogout.TabIndex = 157;
     this.kbtnLogout.Values.Text = "&Logout";
     this.kbtnLogout.Click += new System.EventHandler(this.kbtnLogout_Click);
     //
     // klblTimeUnit
     //
     this.klblTimeUnit.LabelStyle = ComponentFactory.Krypton.Toolkit.LabelStyle.BoldPanel;
     this.klblTimeUnit.Location = new System.Drawing.Point(341, 68);
     this.klblTimeUnit.Name = "klblTimeUnit";
     this.klblTimeUnit.Size = new System.Drawing.Size(82, 20);
     this.klblTimeUnit.TabIndex = 156;
     this.klblTimeUnit.Values.Text = "(In Seconds)";
     //
     // kryptonLabel2
     //
     this.kryptonLabel2.Location = new System.Drawing.Point(57, 68);
     this.kryptonLabel2.Name = "kryptonLabel2";
     this.kryptonLabel2.Size = new System.Drawing.Size(72, 20);
     this.kryptonLabel2.TabIndex = 154;
     this.kryptonLabel2.Values.Text = "Sync Time : ";
     //
     // ktxtSyncTime
     //
     this.ktxtSyncTime.BackColor = System.Drawing.Color.LemonChiffon;
     this.ktxtSyncTime.Location = new System.Drawing.Point(150, 68);
     this.ktxtSyncTime.MaxLength = 25;
     this.ktxtSyncTime.Name = "ktxtSyncTime";
     this.ktxtSyncTime.Size = new System.Drawing.Size(180, 20);
     this.ktxtSyncTime.TabIndex = 153;
     this.ktxtSyncTime.Tag = "Please enter Sync Time";
     this.ktxtSyncTime.Text = "30";
     this.ktxtSyncTime.Leave += new System.EventHandler(this.ktxtSyncTime_Leave);
     //
     // kbtnStopSync
     //
     this.kbtnStopSync.Cursor = System.Windows.Forms.Cursors.Hand;
     this.kbtnStopSync.Enabled = false;
     this.kbtnStopSync.Location = new System.Drawing.Point(246, 106);
     this.kbtnStopSync.Name = "kbtnStopSync";
     this.kbtnStopSync.Size = new System.Drawing.Size(90, 25);
     this.kbtnStopSync.TabIndex = 152;
     this.kbtnStopSync.Values.Text = "S&top Sync";
     this.kbtnStopSync.Click += new System.EventHandler(this.kbtnStopSync_Click);
     //
     // ddlVenue
     //
     this.ddlVenue.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.Append;
     this.ddlVenue.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems;
     this.ddlVenue.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.ddlVenue.DropDownWidth = 148;
     this.ddlVenue.Location = new System.Drawing.Point(150, 41);
     this.ddlVenue.Name = "ddlVenue";
     this.ddlVenue.Size = new System.Drawing.Size(180, 21);
     this.ddlVenue.TabIndex = 151;
     this.ddlVenue.Tag = "Please select Venue";
     //
     // kryptonLabel1
     //
     this.kryptonLabel1.Location = new System.Drawing.Point(57, 42);
     this.kryptonLabel1.Name = "kryptonLabel1";
     this.kryptonLabel1.Size = new System.Drawing.Size(87, 20);
     this.kryptonLabel1.TabIndex = 150;
     this.kryptonLabel1.Values.Text = "Select Venue : ";
     //
     // kbtnStartSync
     //
     this.kbtnStartSync.Cursor = System.Windows.Forms.Cursors.Hand;
     this.kbtnStartSync.Location = new System.Drawing.Point(150, 106);
     this.kbtnStartSync.Name = "kbtnStartSync";
     this.kbtnStartSync.Size = new System.Drawing.Size(90, 25);
     this.kbtnStartSync.TabIndex = 4;
     this.kbtnStartSync.Values.Text = "&Start Sync";
     this.kbtnStartSync.Click += new System.EventHandler(this.kbtnStartSync_Click);
     //
     // tmSync
     //
     this.tmSync.Interval = 30000;
     this.tmSync.Tick += new System.EventHandler(this.tmSync_Tick);
     //
     // pbSync
     //
     this.pbSync.Location = new System.Drawing.Point(10, 195);
     this.pbSync.Name = "pbSync";
     this.pbSync.Size = new System.Drawing.Size(507, 23);
     this.pbSync.TabIndex = 158;
     this.pbSync.Visible = false;
     //
     // klblCurrentImport
     //
     this.klblCurrentImport.LabelStyle = ComponentFactory.Krypton.Toolkit.LabelStyle.BoldPanel;
     this.klblCurrentImport.Location = new System.Drawing.Point(10, 169);
     this.klblCurrentImport.Name = "klblCurrentImport";
     this.klblCurrentImport.Size = new System.Drawing.Size(56, 20);
     this.klblCurrentImport.TabIndex = 159;
     this.klblCurrentImport.Values.Text = "Step1/3";
     this.klblCurrentImport.Visible = false;
     //
     // KaraokiVenue
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(531, 275);
     this.Controls.Add(this.kryptonPanel1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
     this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox = false;
     this.MinimizeBox = false;
     this.Name = "KaraokiVenue";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text = "synQ | Automated karaoQ Syncing Service";
     this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.KaraokiVenue_FormClosing);
     this.Load += new System.EventHandler(this.KaraokiVenue_Load);
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).EndInit();
     this.kryptonPanel1.ResumeLayout(false);
     this.kryptonPanel1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonHeaderGroup18.Panel)).EndInit();
     this.kryptonHeaderGroup18.Panel.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.kryptonHeaderGroup18)).EndInit();
     this.kryptonHeaderGroup18.ResumeLayout(false);
     this.pnlMain.ResumeLayout(false);
     this.pnlMain.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.ddlVenue)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #9
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.kryptonManager = new ComponentFactory.Krypton.Toolkit.KryptonManager(this.components);
     this.kryptonPanel = new ComponentFactory.Krypton.Toolkit.KryptonPanel();
     this.updateLabel = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
     this.updateOnStartupCheckBox = new ComponentFactory.Krypton.Toolkit.KryptonCheckBox();
     this.proxyPasswordLabel = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
     this.proxyPasswordTextbox = new ComponentFactory.Krypton.Toolkit.KryptonTextBox();
     this.proxyUsernameLabel = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
     this.proxyAddressLabel = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
     this.proxySettingsLabel = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
     this.proxyAddressTextbox = new ComponentFactory.Krypton.Toolkit.KryptonTextBox();
     this.proxyUsernameTextBox = new ComponentFactory.Krypton.Toolkit.KryptonTextBox();
     this.applySettingsButton = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.chooseLanguageLabel = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
     this.languageSettingsLabel = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
     this.useSystemLanguageCheckBox = new ComponentFactory.Krypton.Toolkit.KryptonCheckBox();
     this.languagesComboBox = new ComponentFactory.Krypton.Toolkit.KryptonComboBox();
     this.layoutSettingsLabel = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
     this.okButton = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.office2010BlueRadioButton = new ComponentFactory.Krypton.Toolkit.KryptonRadioButton();
     this.professionalOffice2003RadioButton = new ComponentFactory.Krypton.Toolkit.KryptonRadioButton();
     this.sparkleBlueRadioButton = new ComponentFactory.Krypton.Toolkit.KryptonRadioButton();
     this.sparklePurpleRadioButton = new ComponentFactory.Krypton.Toolkit.KryptonRadioButton();
     this.sparkleOrangeRadioButton = new ComponentFactory.Krypton.Toolkit.KryptonRadioButton();
     this.office2007BlueRadioButton = new ComponentFactory.Krypton.Toolkit.KryptonRadioButton();
     this.office2010SilverRadioButton = new ComponentFactory.Krypton.Toolkit.KryptonRadioButton();
     this.office2007SilverRadioButton = new ComponentFactory.Krypton.Toolkit.KryptonRadioButton();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel)).BeginInit();
     this.kryptonPanel.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.languagesComboBox)).BeginInit();
     this.SuspendLayout();
     //
     // kryptonPanel
     //
     this.kryptonPanel.Controls.Add(this.updateLabel);
     this.kryptonPanel.Controls.Add(this.updateOnStartupCheckBox);
     this.kryptonPanel.Controls.Add(this.proxyPasswordLabel);
     this.kryptonPanel.Controls.Add(this.proxyPasswordTextbox);
     this.kryptonPanel.Controls.Add(this.proxyUsernameLabel);
     this.kryptonPanel.Controls.Add(this.proxyAddressLabel);
     this.kryptonPanel.Controls.Add(this.proxySettingsLabel);
     this.kryptonPanel.Controls.Add(this.proxyAddressTextbox);
     this.kryptonPanel.Controls.Add(this.proxyUsernameTextBox);
     this.kryptonPanel.Controls.Add(this.applySettingsButton);
     this.kryptonPanel.Controls.Add(this.chooseLanguageLabel);
     this.kryptonPanel.Controls.Add(this.languageSettingsLabel);
     this.kryptonPanel.Controls.Add(this.useSystemLanguageCheckBox);
     this.kryptonPanel.Controls.Add(this.languagesComboBox);
     this.kryptonPanel.Controls.Add(this.layoutSettingsLabel);
     this.kryptonPanel.Controls.Add(this.okButton);
     this.kryptonPanel.Controls.Add(this.office2010BlueRadioButton);
     this.kryptonPanel.Controls.Add(this.professionalOffice2003RadioButton);
     this.kryptonPanel.Controls.Add(this.sparkleBlueRadioButton);
     this.kryptonPanel.Controls.Add(this.sparklePurpleRadioButton);
     this.kryptonPanel.Controls.Add(this.sparkleOrangeRadioButton);
     this.kryptonPanel.Controls.Add(this.office2007BlueRadioButton);
     this.kryptonPanel.Controls.Add(this.office2010SilverRadioButton);
     this.kryptonPanel.Controls.Add(this.office2007SilverRadioButton);
     this.kryptonPanel.Dock = System.Windows.Forms.DockStyle.Fill;
     this.kryptonPanel.Location = new System.Drawing.Point(0, 0);
     this.kryptonPanel.Name = "kryptonPanel";
     this.kryptonPanel.Size = new System.Drawing.Size(551, 433);
     this.kryptonPanel.TabIndex = 0;
     //
     // updateLabel
     //
     this.updateLabel.LabelStyle = ComponentFactory.Krypton.Toolkit.LabelStyle.BoldPanel;
     this.updateLabel.Location = new System.Drawing.Point(9, 283);
     this.updateLabel.Name = "updateLabel";
     this.updateLabel.Size = new System.Drawing.Size(70, 20);
     this.updateLabel.TabIndex = 17;
     this.updateLabel.Values.Image = global::VSPRBase.Properties.Resources.update;
     this.updateLabel.Values.Text = "Update";
     //
     // updateOnStartupCheckBox
     //
     this.updateOnStartupCheckBox.LabelStyle = ComponentFactory.Krypton.Toolkit.LabelStyle.NormalControl;
     this.updateOnStartupCheckBox.Location = new System.Drawing.Point(29, 309);
     this.updateOnStartupCheckBox.Name = "updateOnStartupCheckBox";
     this.updateOnStartupCheckBox.Size = new System.Drawing.Size(177, 20);
     this.updateOnStartupCheckBox.TabIndex = 16;
     this.updateOnStartupCheckBox.Text = "Check for update on startup";
     this.updateOnStartupCheckBox.Values.Text = "Check for update on startup";
     this.updateOnStartupCheckBox.CheckedChanged += new System.EventHandler(this.updateOnStartupCheckBox_CheckedChanged);
     //
     // proxyPasswordLabel
     //
     this.proxyPasswordLabel.Location = new System.Drawing.Point(231, 335);
     this.proxyPasswordLabel.Name = "proxyPasswordLabel";
     this.proxyPasswordLabel.Size = new System.Drawing.Size(62, 20);
     this.proxyPasswordLabel.TabIndex = 0;
     this.proxyPasswordLabel.TabStop = false;
     this.proxyPasswordLabel.Values.Text = "Password";
     //
     // proxyPasswordTextbox
     //
     this.proxyPasswordTextbox.Location = new System.Drawing.Point(231, 361);
     this.proxyPasswordTextbox.Name = "proxyPasswordTextbox";
     this.proxyPasswordTextbox.Size = new System.Drawing.Size(302, 20);
     this.proxyPasswordTextbox.TabIndex = 14;
     //
     // proxyUsernameLabel
     //
     this.proxyUsernameLabel.Location = new System.Drawing.Point(231, 283);
     this.proxyUsernameLabel.Name = "proxyUsernameLabel";
     this.proxyUsernameLabel.Size = new System.Drawing.Size(35, 20);
     this.proxyUsernameLabel.TabIndex = 0;
     this.proxyUsernameLabel.TabStop = false;
     this.proxyUsernameLabel.Values.Text = "User";
     //
     // proxyAddressLabel
     //
     this.proxyAddressLabel.Location = new System.Drawing.Point(231, 234);
     this.proxyAddressLabel.Name = "proxyAddressLabel";
     this.proxyAddressLabel.Size = new System.Drawing.Size(54, 20);
     this.proxyAddressLabel.TabIndex = 0;
     this.proxyAddressLabel.TabStop = false;
     this.proxyAddressLabel.Values.Text = "Address";
     //
     // proxySettingsLabel
     //
     this.proxySettingsLabel.LabelStyle = ComponentFactory.Krypton.Toolkit.LabelStyle.BoldPanel;
     this.proxySettingsLabel.Location = new System.Drawing.Point(208, 208);
     this.proxySettingsLabel.Name = "proxySettingsLabel";
     this.proxySettingsLabel.Size = new System.Drawing.Size(110, 20);
     this.proxySettingsLabel.TabIndex = 0;
     this.proxySettingsLabel.TabStop = false;
     this.proxySettingsLabel.Values.Image = global::VSPRBase.Properties.Resources.server_small;
     this.proxySettingsLabel.Values.Text = "Proxy settings";
     //
     // proxyAddressTextbox
     //
     this.proxyAddressTextbox.Location = new System.Drawing.Point(231, 257);
     this.proxyAddressTextbox.Name = "proxyAddressTextbox";
     this.proxyAddressTextbox.Size = new System.Drawing.Size(302, 20);
     this.proxyAddressTextbox.TabIndex = 12;
     //
     // proxyUsernameTextBox
     //
     this.proxyUsernameTextBox.Location = new System.Drawing.Point(231, 309);
     this.proxyUsernameTextBox.Name = "proxyUsernameTextBox";
     this.proxyUsernameTextBox.Size = new System.Drawing.Size(302, 20);
     this.proxyUsernameTextBox.TabIndex = 13;
     //
     // applySettingsButton
     //
     this.applySettingsButton.Location = new System.Drawing.Point(443, 153);
     this.applySettingsButton.Name = "applySettingsButton";
     this.applySettingsButton.Size = new System.Drawing.Size(90, 25);
     this.applySettingsButton.TabIndex = 11;
     this.applySettingsButton.Values.Text = "Apply";
     this.applySettingsButton.Click += new System.EventHandler(this.ApplySettingsButtonClick);
     //
     // chooseLanguageLabel
     //
     this.chooseLanguageLabel.LabelStyle = ComponentFactory.Krypton.Toolkit.LabelStyle.BoldControl;
     this.chooseLanguageLabel.Location = new System.Drawing.Point(231, 100);
     this.chooseLanguageLabel.Name = "chooseLanguageLabel";
     this.chooseLanguageLabel.Size = new System.Drawing.Size(110, 20);
     this.chooseLanguageLabel.TabIndex = 0;
     this.chooseLanguageLabel.TabStop = false;
     this.chooseLanguageLabel.Values.Text = "Choose language";
     //
     // languageSettingsLabel
     //
     this.languageSettingsLabel.LabelStyle = ComponentFactory.Krypton.Toolkit.LabelStyle.BoldPanel;
     this.languageSettingsLabel.Location = new System.Drawing.Point(208, 32);
     this.languageSettingsLabel.Name = "languageSettingsLabel";
     this.languageSettingsLabel.Size = new System.Drawing.Size(133, 20);
     this.languageSettingsLabel.TabIndex = 0;
     this.languageSettingsLabel.TabStop = false;
     this.languageSettingsLabel.Values.Image = global::VSPRBase.Properties.Resources.languageSettings;
     this.languageSettingsLabel.Values.Text = "Language settings";
     //
     // useSystemLanguageCheckBox
     //
     this.useSystemLanguageCheckBox.Checked = true;
     this.useSystemLanguageCheckBox.CheckState = System.Windows.Forms.CheckState.Checked;
     this.useSystemLanguageCheckBox.LabelStyle = ComponentFactory.Krypton.Toolkit.LabelStyle.NormalControl;
     this.useSystemLanguageCheckBox.Location = new System.Drawing.Point(231, 58);
     this.useSystemLanguageCheckBox.Name = "useSystemLanguageCheckBox";
     this.useSystemLanguageCheckBox.Size = new System.Drawing.Size(140, 20);
     this.useSystemLanguageCheckBox.TabIndex = 9;
     this.useSystemLanguageCheckBox.Text = "Use System language";
     this.useSystemLanguageCheckBox.Values.Text = "Use System language";
     this.useSystemLanguageCheckBox.CheckedChanged += new System.EventHandler(this.UseSystemLanguageCheckBoxCheckedChanged);
     //
     // languagesComboBox
     //
     this.languagesComboBox.DropDownWidth = 302;
     this.languagesComboBox.Location = new System.Drawing.Point(231, 126);
     this.languagesComboBox.Name = "languagesComboBox";
     this.languagesComboBox.Size = new System.Drawing.Size(302, 21);
     this.languagesComboBox.TabIndex = 10;
     //
     // layoutSettingsLabel
     //
     this.layoutSettingsLabel.LabelStyle = ComponentFactory.Krypton.Toolkit.LabelStyle.BoldPanel;
     this.layoutSettingsLabel.Location = new System.Drawing.Point(9, 32);
     this.layoutSettingsLabel.Name = "layoutSettingsLabel";
     this.layoutSettingsLabel.Size = new System.Drawing.Size(116, 20);
     this.layoutSettingsLabel.TabIndex = 0;
     this.layoutSettingsLabel.TabStop = false;
     this.layoutSettingsLabel.Values.Image = global::VSPRBase.Properties.Resources.layoutSettings;
     this.layoutSettingsLabel.Values.Text = "Layout settings";
     //
     // okButton
     //
     this.okButton.Location = new System.Drawing.Point(443, 396);
     this.okButton.Name = "okButton";
     this.okButton.Size = new System.Drawing.Size(90, 25);
     this.okButton.TabIndex = 15;
     this.okButton.Values.Text = "OK";
     this.okButton.Click += new System.EventHandler(this.OkButtonClick);
     //
     // office2010BlueRadioButton
     //
     this.office2010BlueRadioButton.Location = new System.Drawing.Point(29, 160);
     this.office2010BlueRadioButton.Name = "office2010BlueRadioButton";
     this.office2010BlueRadioButton.Size = new System.Drawing.Size(112, 20);
     this.office2010BlueRadioButton.TabIndex = 5;
     this.office2010BlueRadioButton.Values.Text = "Office 2010 Blue";
     this.office2010BlueRadioButton.CheckedChanged += new System.EventHandler(this.Office2010BlueRadioButtonCheckedChanged);
     //
     // professionalOffice2003RadioButton
     //
     this.professionalOffice2003RadioButton.Location = new System.Drawing.Point(29, 58);
     this.professionalOffice2003RadioButton.Name = "professionalOffice2003RadioButton";
     this.professionalOffice2003RadioButton.Size = new System.Drawing.Size(154, 20);
     this.professionalOffice2003RadioButton.TabIndex = 1;
     this.professionalOffice2003RadioButton.Values.Text = "Professional Office 2003";
     this.professionalOffice2003RadioButton.CheckedChanged += new System.EventHandler(this.ProfessionalOffice2003RadioButtonCheckedChanged);
     //
     // sparkleBlueRadioButton
     //
     this.sparkleBlueRadioButton.Location = new System.Drawing.Point(29, 234);
     this.sparkleBlueRadioButton.Name = "sparkleBlueRadioButton";
     this.sparkleBlueRadioButton.Size = new System.Drawing.Size(89, 20);
     this.sparkleBlueRadioButton.TabIndex = 8;
     this.sparkleBlueRadioButton.Values.Text = "Sparkle Blue";
     this.sparkleBlueRadioButton.CheckedChanged += new System.EventHandler(this.SparkleBlueRadioButtonCheckedChanged);
     //
     // sparklePurpleRadioButton
     //
     this.sparklePurpleRadioButton.Location = new System.Drawing.Point(29, 208);
     this.sparklePurpleRadioButton.Name = "sparklePurpleRadioButton";
     this.sparklePurpleRadioButton.Size = new System.Drawing.Size(101, 20);
     this.sparklePurpleRadioButton.TabIndex = 7;
     this.sparklePurpleRadioButton.Values.Text = "Sparkle Purple";
     this.sparklePurpleRadioButton.CheckedChanged += new System.EventHandler(this.SparklePurpleRadioButtonCheckedChanged);
     //
     // sparkleOrangeRadioButton
     //
     this.sparkleOrangeRadioButton.Location = new System.Drawing.Point(29, 182);
     this.sparkleOrangeRadioButton.Name = "sparkleOrangeRadioButton";
     this.sparkleOrangeRadioButton.Size = new System.Drawing.Size(107, 20);
     this.sparkleOrangeRadioButton.TabIndex = 6;
     this.sparkleOrangeRadioButton.Values.Text = "Sparkle Orange";
     this.sparkleOrangeRadioButton.CheckedChanged += new System.EventHandler(this.SparkleOrangeRadioButtonCheckedChanged);
     //
     // office2007BlueRadioButton
     //
     this.office2007BlueRadioButton.Location = new System.Drawing.Point(29, 134);
     this.office2007BlueRadioButton.Name = "office2007BlueRadioButton";
     this.office2007BlueRadioButton.Size = new System.Drawing.Size(112, 20);
     this.office2007BlueRadioButton.TabIndex = 4;
     this.office2007BlueRadioButton.Values.Text = "Office 2007 Blue";
     this.office2007BlueRadioButton.CheckedChanged += new System.EventHandler(this.Office2007BlueRadioButtonCheckedChanged);
     //
     // office2010SilverRadioButton
     //
     this.office2010SilverRadioButton.Location = new System.Drawing.Point(29, 108);
     this.office2010SilverRadioButton.Name = "office2010SilverRadioButton";
     this.office2010SilverRadioButton.Size = new System.Drawing.Size(117, 20);
     this.office2010SilverRadioButton.TabIndex = 3;
     this.office2010SilverRadioButton.Values.Text = "Office 2010 Silver";
     this.office2010SilverRadioButton.CheckedChanged += new System.EventHandler(this.Office2010SilverRadioButtonCheckedChanged);
     //
     // office2007SilverRadioButton
     //
     this.office2007SilverRadioButton.Location = new System.Drawing.Point(29, 82);
     this.office2007SilverRadioButton.Name = "office2007SilverRadioButton";
     this.office2007SilverRadioButton.Size = new System.Drawing.Size(117, 20);
     this.office2007SilverRadioButton.TabIndex = 2;
     this.office2007SilverRadioButton.Values.Text = "Office 2007 Silver";
     this.office2007SilverRadioButton.CheckedChanged += new System.EventHandler(this.Office2007SilverRadioButtonCheckedChanged);
     //
     // SettingsForm
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(551, 433);
     this.Controls.Add(this.kryptonPanel);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
     this.Name = "SettingsForm";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text = "Form1";
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel)).EndInit();
     this.kryptonPanel.ResumeLayout(false);
     this.kryptonPanel.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.languagesComboBox)).EndInit();
     this.ResumeLayout(false);
 }