Esempio n. 1
0
        private void InitializeComponent()
        {
            this.components = new Container();
            ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(formGroupSelect));

            this.btnCancel = new Button();
            this.btnOK     = new Button();
            this.imgGroup  = new ImageList(this.components);
            this.tvwGroup  = new TreeViewEnhanced();
            base.SuspendLayout();
            this.btnCancel.Location = new System.Drawing.Point(191, 379);
            this.btnCancel.Name     = "btnCancel";
            this.btnCancel.Size     = new System.Drawing.Size(57, 23);
            this.btnCancel.TabIndex = 11;
            this.btnCancel.Text     = "取消";
            this.btnCancel.UseVisualStyleBackColor = true;
            this.btnCancel.Click += new EventHandler(this.btnCancel_Click);
            this.btnOK.Location   = new System.Drawing.Point(118, 379);
            this.btnOK.Name       = "btnOK";
            this.btnOK.Size       = new System.Drawing.Size(57, 23);
            this.btnOK.TabIndex   = 10;
            this.btnOK.Text       = "确认";
            this.btnOK.UseVisualStyleBackColor = true;
            this.btnOK.Click              += new EventHandler(this.btnOK_Click);
            this.imgGroup.ImageStream      = (ImageListStreamer)componentResourceManager.GetObject("imgGroup.ImageStream");
            this.imgGroup.TransparentColor = System.Drawing.Color.Transparent;
            this.imgGroup.Images.SetKeyName(0, "group.ico");
            this.imgGroup.Images.SetKeyName(1, "applications-stack.png");
            this.imgGroup.Images.SetKeyName(2, "applications-blue.png");
            this.tvwGroup.ImageIndex         = 0;
            this.tvwGroup.ImageList          = this.imgGroup;
            this.tvwGroup.Location           = new System.Drawing.Point(0, 0);
            this.tvwGroup.Name               = "tvwGroup";
            this.tvwGroup.SelectedImageIndex = 0;
            this.tvwGroup.Size               = new System.Drawing.Size(258, 361);
            this.tvwGroup.TabIndex           = 12;
            base.AutoScaleDimensions         = new System.Drawing.SizeF(6f, 12f);
            base.AutoScaleMode               = AutoScaleMode.Font;
            base.ClientSize = new System.Drawing.Size(258, 420);
            base.Controls.Add(this.tvwGroup);
            base.Controls.Add(this.btnCancel);
            base.Controls.Add(this.btnOK);
            base.FormBorderStyle = FormBorderStyle.FixedSingle;
            base.MaximizeBox     = false;
            base.MinimizeBox     = false;
            base.Name            = "formGroupSelect";
            base.StartPosition   = FormStartPosition.CenterParent;
            this.Text            = "移动分组";
            base.Load           += new EventHandler(this.formGroupSelect_Load);
            base.ResumeLayout(false);
        }
Esempio n. 2
0
        private void InitializeComponent()
        {
            this.components = new Container();
            ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(formPanelSelectForItem));

            this.imgGroupPanel = new ImageList(this.components);
            this.btnCancel     = new Button();
            this.btnOK         = new Button();
            this.chkSelectAll  = new CheckBox();
            this.lblHint       = new Label();
            this.tvwPanel      = new TreeViewEnhanced();
            base.SuspendLayout();
            this.imgGroupPanel.ImageStream      = (ImageListStreamer)componentResourceManager.GetObject("imgGroupPanel.ImageStream");
            this.imgGroupPanel.TransparentColor = System.Drawing.Color.Transparent;
            this.imgGroupPanel.Images.SetKeyName(0, "group.ico");
            this.imgGroupPanel.Images.SetKeyName(1, "panel.ico");
            this.imgGroupPanel.Images.SetKeyName(2, "paneloff.ico");
            this.imgGroupPanel.Images.SetKeyName(3, "applications-stack.png");
            this.imgGroupPanel.Images.SetKeyName(4, "applications-blue.png");
            this.btnCancel.Location = new System.Drawing.Point(191, 390);
            this.btnCancel.Name     = "btnCancel";
            this.btnCancel.Size     = new System.Drawing.Size(57, 23);
            this.btnCancel.TabIndex = 7;
            this.btnCancel.Text     = "取消";
            this.btnCancel.UseVisualStyleBackColor = true;
            this.btnCancel.Click += new EventHandler(this.btnCancel_Click);
            this.btnOK.Location   = new System.Drawing.Point(118, 390);
            this.btnOK.Name       = "btnOK";
            this.btnOK.Size       = new System.Drawing.Size(57, 23);
            this.btnOK.TabIndex   = 6;
            this.btnOK.Text       = "确认";
            this.btnOK.UseVisualStyleBackColor = true;
            this.btnOK.Click          += new EventHandler(this.btnOK_Click);
            this.chkSelectAll.AutoSize = true;
            this.chkSelectAll.Location = new System.Drawing.Point(7, 394);
            this.chkSelectAll.Name     = "chkSelectAll";
            this.chkSelectAll.Size     = new System.Drawing.Size(72, 16);
            this.chkSelectAll.TabIndex = 5;
            this.chkSelectAll.Text     = "选择全部";
            this.chkSelectAll.UseVisualStyleBackColor = true;
            this.chkSelectAll.CheckedChanged         += new EventHandler(this.chkSelectAll_CheckedChanged);
            this.lblHint.ForeColor           = System.Drawing.Color.Blue;
            this.lblHint.Location            = new System.Drawing.Point(5, 363);
            this.lblHint.Name                = "lblHint";
            this.lblHint.Size                = new System.Drawing.Size(253, 25);
            this.lblHint.TabIndex            = 9;
            this.lblHint.Text                = "仅支持相同屏参";
            this.lblHint.TextAlign           = System.Drawing.ContentAlignment.MiddleLeft;
            this.tvwPanel.CheckBoxes         = true;
            this.tvwPanel.ImageIndex         = 0;
            this.tvwPanel.ImageList          = this.imgGroupPanel;
            this.tvwPanel.Location           = new System.Drawing.Point(0, 0);
            this.tvwPanel.Name               = "tvwPanel";
            this.tvwPanel.SelectedImageIndex = 0;
            this.tvwPanel.Size               = new System.Drawing.Size(258, 361);
            this.tvwPanel.TabIndex           = 8;
            this.tvwPanel.AfterCheck        += new TreeViewEventHandler(this.tvwPanel_AfterCheck);
            base.AutoScaleDimensions         = new System.Drawing.SizeF(6f, 12f);
            base.AutoScaleMode               = AutoScaleMode.Font;
            base.ClientSize = new System.Drawing.Size(258, 420);
            base.Controls.Add(this.lblHint);
            base.Controls.Add(this.tvwPanel);
            base.Controls.Add(this.btnCancel);
            base.Controls.Add(this.btnOK);
            base.Controls.Add(this.chkSelectAll);
            base.FormBorderStyle = FormBorderStyle.FixedSingle;
            base.MaximizeBox     = false;
            base.MinimizeBox     = false;
            base.Name            = "formPanelSelectForItem";
            base.StartPosition   = FormStartPosition.CenterParent;
            this.Text            = "复制节目";
            base.Load           += new EventHandler(this.formCopyItemSelect_Load);
            base.ResumeLayout(false);
            base.PerformLayout();
        }
        private void InitializeComponent()
        {
            this.components = new Container();
            ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(formPanelSelectForGroupSending));

            this.imageList_choose     = new ImageList(this.components);
            this.checkBox_selectedall = new CheckBox();
            this.button_Sure          = new Button();
            this.button_cancel        = new Button();
            this.tvwPanel             = new TreeViewEnhanced();
            this.rdoLocal             = new RadioButton();
            this.rdoCloud             = new RadioButton();
            this.pnlMode = new Panel();
            this.pnlMode.SuspendLayout();
            base.SuspendLayout();
            this.imageList_choose.ImageStream      = (ImageListStreamer)componentResourceManager.GetObject("imageList_choose.ImageStream");
            this.imageList_choose.TransparentColor = System.Drawing.Color.Transparent;
            this.imageList_choose.Images.SetKeyName(0, "group.ico");
            this.imageList_choose.Images.SetKeyName(1, "panel.ico");
            this.imageList_choose.Images.SetKeyName(2, "paneloff.ico");
            this.imageList_choose.Images.SetKeyName(3, "applications-stack.png");
            this.imageList_choose.Images.SetKeyName(4, "applications-blue.png");
            this.checkBox_selectedall.AutoSize = true;
            this.checkBox_selectedall.Location = new System.Drawing.Point(7, 394);
            this.checkBox_selectedall.Name     = "checkBox_selectedall";
            this.checkBox_selectedall.Size     = new System.Drawing.Size(72, 16);
            this.checkBox_selectedall.TabIndex = 1;
            this.checkBox_selectedall.Text     = "选择全部";
            this.checkBox_selectedall.UseVisualStyleBackColor = true;
            this.checkBox_selectedall.CheckedChanged         += new EventHandler(this.checkBox_selectedall_CheckedChanged);
            this.button_Sure.Location = new System.Drawing.Point(118, 390);
            this.button_Sure.Name     = "button_Sure";
            this.button_Sure.Size     = new System.Drawing.Size(57, 23);
            this.button_Sure.TabIndex = 2;
            this.button_Sure.Text     = "确认";
            this.button_Sure.UseVisualStyleBackColor = true;
            this.button_Sure.Click     += new EventHandler(this.button_Sure_Click);
            this.button_cancel.Location = new System.Drawing.Point(191, 390);
            this.button_cancel.Name     = "button_cancel";
            this.button_cancel.Size     = new System.Drawing.Size(57, 23);
            this.button_cancel.TabIndex = 3;
            this.button_cancel.Text     = "取消";
            this.button_cancel.UseVisualStyleBackColor = true;
            this.button_cancel.Click             += new EventHandler(this.button_cancel_Click);
            this.tvwPanel.CheckBoxes              = true;
            this.tvwPanel.ImageIndex              = 0;
            this.tvwPanel.ImageList               = this.imageList_choose;
            this.tvwPanel.Location                = new System.Drawing.Point(0, 0);
            this.tvwPanel.Name                    = "tvwPanel";
            this.tvwPanel.SelectedImageIndex      = 0;
            this.tvwPanel.Size                    = new System.Drawing.Size(258, 361);
            this.tvwPanel.TabIndex                = 4;
            this.tvwPanel.AfterCheck             += new TreeViewEventHandler(this.tvwPanel_AfterCheck);
            this.rdoLocal.AutoSize                = true;
            this.rdoLocal.Location                = new System.Drawing.Point(7, 5);
            this.rdoLocal.Name                    = "rdoLocal";
            this.rdoLocal.Size                    = new System.Drawing.Size(47, 16);
            this.rdoLocal.TabIndex                = 5;
            this.rdoLocal.TabStop                 = true;
            this.rdoLocal.Text                    = "本地";
            this.rdoLocal.UseVisualStyleBackColor = true;
            this.rdoLocal.CheckedChanged         += new EventHandler(this.rdoLocal_CheckedChanged);
            this.rdoCloud.AutoSize                = true;
            this.rdoCloud.Location                = new System.Drawing.Point(83, 5);
            this.rdoCloud.Name                    = "rdoCloud";
            this.rdoCloud.Size                    = new System.Drawing.Size(35, 16);
            this.rdoCloud.TabIndex                = 6;
            this.rdoCloud.TabStop                 = true;
            this.rdoCloud.Text                    = "云";
            this.rdoCloud.UseVisualStyleBackColor = true;
            this.rdoCloud.CheckedChanged         += new EventHandler(this.rdoCloud_CheckedChanged);
            this.pnlMode.Controls.Add(this.rdoCloud);
            this.pnlMode.Controls.Add(this.rdoLocal);
            this.pnlMode.Location    = new System.Drawing.Point(0, 363);
            this.pnlMode.Name        = "pnlMode";
            this.pnlMode.Size        = new System.Drawing.Size(258, 25);
            this.pnlMode.TabIndex    = 7;
            base.AutoScaleDimensions = new System.Drawing.SizeF(6f, 12f);
            base.AutoScaleMode       = AutoScaleMode.Font;
            base.ClientSize          = new System.Drawing.Size(258, 420);
            base.Controls.Add(this.pnlMode);
            base.Controls.Add(this.tvwPanel);
            base.Controls.Add(this.button_cancel);
            base.Controls.Add(this.button_Sure);
            base.Controls.Add(this.checkBox_selectedall);
            base.FormBorderStyle = FormBorderStyle.FixedSingle;
            base.Icon            = (System.Drawing.Icon)componentResourceManager.GetObject("$this.Icon");
            base.MaximizeBox     = false;
            base.MinimizeBox     = false;
            base.Name            = "formPanelSelectForGroupSending";
            base.StartPosition   = FormStartPosition.CenterParent;
            this.Text            = "群组发送节目";
            base.Load           += new EventHandler(this.formPanelSelectForGroupSending_Load);
            this.pnlMode.ResumeLayout(false);
            this.pnlMode.PerformLayout();
            base.ResumeLayout(false);
            base.PerformLayout();
        }