Exemplo n.º 1
0
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            Syncfusion.Windows.Forms.Tools.SplitContainerAdv splitContainerAdv1;
            System.Windows.Forms.TreeNode treeNode1 = new System.Windows.Forms.TreeNode("Дисплей активный односегментный");
            System.Windows.Forms.TreeNode treeNode2 = new System.Windows.Forms.TreeNode("Дисплей активный многосегментный");
            System.Windows.Forms.TreeNode treeNode3 = new System.Windows.Forms.TreeNode("Дисплей пассивный односегментный");
            System.Windows.Forms.TreeNode treeNode4 = new System.Windows.Forms.TreeNode("Дисплеи", new System.Windows.Forms.TreeNode[] {
            treeNode1,
            treeNode2,
            treeNode3});
            System.Windows.Forms.TreeNode treeNode5 = new System.Windows.Forms.TreeNode("Изображение");
            System.Windows.Forms.TreeNode treeNode6 = new System.Windows.Forms.TreeNode("Видеофайл");
            System.Windows.Forms.TreeNode treeNode7 = new System.Windows.Forms.TreeNode("Удаленный рабочий стол");
            System.Windows.Forms.TreeNode treeNode8 = new System.Windows.Forms.TreeNode("Бизнес графика");
            System.Windows.Forms.TreeNode treeNode9 = new System.Windows.Forms.TreeNode("Презентация PowerPoint");
            System.Windows.Forms.TreeNode treeNode10 = new System.Windows.Forms.TreeNode("ArcGIS-карта");
            System.Windows.Forms.TreeNode treeNode11 = new System.Windows.Forms.TreeNode("Документ Word");
            System.Windows.Forms.TreeNode treeNode12 = new System.Windows.Forms.TreeNode("Internet Explorer");
            System.Windows.Forms.TreeNode treeNode13 = new System.Windows.Forms.TreeNode("Программные источники", new System.Windows.Forms.TreeNode[] {
            treeNode5,
            treeNode6,
            treeNode7,
            treeNode8,
            treeNode9,
            /*treeNode10,*/
            treeNode11,
            treeNode12});
            System.Windows.Forms.TreeNode treeNode14 = new System.Windows.Forms.TreeNode("DVD");
            System.Windows.Forms.TreeNode treeNode15 = new System.Windows.Forms.TreeNode("Видеокамера");
            System.Windows.Forms.TreeNode treeNode16 = new System.Windows.Forms.TreeNode("Терминал ВКС");
            System.Windows.Forms.TreeNode treeNode17 = new System.Windows.Forms.TreeNode("Стандартный источник изображения");
            System.Windows.Forms.TreeNode treeNode18 = new System.Windows.Forms.TreeNode("Аппаратные источники", new System.Windows.Forms.TreeNode[] {
            treeNode14,
            treeNode15,
            treeNode16,
            treeNode17});
            System.Windows.Forms.TreeNode treeNode19 = new System.Windows.Forms.TreeNode("Видеостена");
            System.Windows.Forms.TreeNode treeNode20 = new System.Windows.Forms.TreeNode("Логический блок переключателей");
            System.Windows.Forms.TreeNode treeNode21 = new System.Windows.Forms.TreeNode("Освещение");
            System.Windows.Forms.TreeNode treeNode22 = new System.Windows.Forms.TreeNode("Сервер многоточечной ВКС");
            System.Windows.Forms.TreeNode treeNode23 = new System.Windows.Forms.TreeNode("Цифровой аудиомикшер");
            System.Windows.Forms.TreeNode treeNode24 = new System.Windows.Forms.TreeNode("Оборудование", new System.Windows.Forms.TreeNode[] {
            treeNode19,
            treeNode20,
            treeNode21,
            treeNode22,
            treeNode23});
            System.Windows.Forms.TreeNode treeNode25 = new System.Windows.Forms.TreeNode("Конфигурация системы", new System.Windows.Forms.TreeNode[] {
            treeNode4,
            treeNode13,
            treeNode18,
            treeNode24});
            Syncfusion.Windows.Forms.Tools.TabControlAdv tabControlAdv1;
            this.treeView = new System.Windows.Forms.TreeView();
            this.tabPageAdv1 = new Syncfusion.Windows.Forms.Tools.TabPageAdv();
            this.pgParams = new System.Windows.Forms.PropertyGrid();
            this.tabPageAdv2 = new Syncfusion.Windows.Forms.Tools.TabPageAdv();
            this.gdRelations = new System.Windows.Forms.DataGridView();
            this.msMainMenu = new System.Windows.Forms.MenuStrip();
            this.ConfigurationToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.menuItemSave = new System.Windows.Forms.ToolStripMenuItem();
            this.menuItemCancel = new System.Windows.Forms.ToolStripMenuItem();
            this.InstanceToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.menuItemCreate = new System.Windows.Forms.ToolStripMenuItem();
            this.menuItemRemove = new System.Windows.Forms.ToolStripMenuItem();
            this.menuItemQuit = new System.Windows.Forms.ToolStripMenuItem();
            this.configToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.saveConfigToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.cancelConfigToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.instToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.createInstToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.deleteInstToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.tsMainMenu = new System.Windows.Forms.ToolStrip();
            this.SaveStripButton = new System.Windows.Forms.ToolStripButton();
            this.AddStripButton = new System.Windows.Forms.ToolStripButton();
            this.RemoveStripButton = new System.Windows.Forms.ToolStripButton();
            this.CancelStripButton = new System.Windows.Forms.ToolStripButton();
            splitContainerAdv1 = new Syncfusion.Windows.Forms.Tools.SplitContainerAdv();
            tabControlAdv1 = new Syncfusion.Windows.Forms.Tools.TabControlAdv();
            ((System.ComponentModel.ISupportInitialize)(splitContainerAdv1)).BeginInit();
            splitContainerAdv1.Panel1.SuspendLayout();
            splitContainerAdv1.Panel2.SuspendLayout();
            splitContainerAdv1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(tabControlAdv1)).BeginInit();
            tabControlAdv1.SuspendLayout();
            this.tabPageAdv1.SuspendLayout();
            this.tabPageAdv2.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.gdRelations)).BeginInit();
            this.msMainMenu.SuspendLayout();
            this.tsMainMenu.SuspendLayout();
            this.SuspendLayout();
            // 
            // splitContainerAdv1
            // 
            splitContainerAdv1.Dock = System.Windows.Forms.DockStyle.Fill;
            splitContainerAdv1.Location = new System.Drawing.Point(0, 63);
            splitContainerAdv1.Name = "splitContainerAdv1";
            // 
            // splitContainerAdv1.Panel1
            // 
            splitContainerAdv1.Panel1.AutoSize = true;
            splitContainerAdv1.Panel1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
            splitContainerAdv1.Panel1.Controls.Add(this.treeView);
            // 
            // splitContainerAdv1.Panel2
            // 
            splitContainerAdv1.Panel2.Controls.Add(tabControlAdv1);
            splitContainerAdv1.Size = new System.Drawing.Size(730, 381);
            splitContainerAdv1.SplitterDistance = 327;
            splitContainerAdv1.TabIndex = 3;
            splitContainerAdv1.Text = "splitContainerAdv1";
            // 
            // treeView
            // 
            this.treeView.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.treeView.HideSelection = false;
            this.treeView.Location = new System.Drawing.Point(0, 0);
            this.treeView.Name = "treeView";
            treeNode1.Name = "ComputerDisplayConfig";
            treeNode1.Text = "Дисплей активный односегментный";
            treeNode2.Name = "JupiterDisplayConfig";
            treeNode2.Text = "Дисплей активный многосегментный";
            treeNode3.Name = "MonitorDisplayConfig";
            treeNode3.Text = "Дисплей пассивный односегментный";
            treeNode4.Name = "Display";
            treeNode4.Text = "Дисплеи";
            treeNode5.Name = "ImageSourceConfig";
            treeNode5.Text = "Изображение";
            treeNode6.Name = "VideoSourceConfig";
            treeNode6.Text = "Видеофайл";
            treeNode7.Name = "VNCSourceConfig";
            treeNode7.Text = "Удаленный рабочий стол";
            treeNode8.Name = "BusinessGraphicsSourceConfig";
            treeNode8.Text = "Бизнес графика";
            treeNode9.Name = "PowerPointPresentationSourceConfig";
            treeNode9.Text = "Презентация PowerPoint";
            treeNode10.Name = "ArcGISMapSourceConfig";
            treeNode10.Text = "ArcGIS-карта";
            treeNode11.Name = "WordDocumentSourceConfig";
            treeNode11.Text = "Документ Word";
            treeNode12.Name = "IEDocumentSourceConfig";
            treeNode12.Text = "Internet Explorer";
            treeNode13.Name = "SoftwareSource";
            treeNode13.Text = "Программные источники";
            treeNode14.Name = "DVDPlayerSourceConfig";
            treeNode14.Text = "DVD";
            treeNode15.Name = "VideoCameraSourceConfig";
            treeNode15.Text = "Видеокамера";
            treeNode16.Name = "VDCTerminalSourceConfig";
            treeNode16.Text = "Терминал ВКС";
            treeNode17.Name = "StandardSourceSourceConfig";
            treeNode17.Text = "Стандартный источник изображения";
            treeNode18.Name = "HardwareSource";
            treeNode18.Text = "Аппаратные источники";
            treeNode19.Name = "JupiterDeviceConfig";
            treeNode19.Text = "Видеостена";
            treeNode20.Name = "GangSwitchDeviceConfig";
            treeNode20.Text = "Логический блок переключателей";
            treeNode21.Name = "LightDeviceConfig";
            treeNode21.Text = "Освещение";
            treeNode22.Name = "VDCServerDeviceConfig";
            treeNode22.Text = "Сервер многоточечной ВКС";
            treeNode23.Name = "AudioMixerDeviceConfig";
            treeNode23.Text = "Цифровой аудиомикшер";
            treeNode24.Name = "Equipment";
            treeNode24.Text = "Оборудование";
            treeNode25.Name = "Root";
            treeNode25.Text = "Конфигурация системы";
            this.treeView.Nodes.AddRange(new System.Windows.Forms.TreeNode[] {
            treeNode25});
            this.treeView.Size = new System.Drawing.Size(324, 381);
            this.treeView.TabIndex = 0;
            this.treeView.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.treeView_AfterSelect);
            // 
            // tabControlAdv1
            // 
            tabControlAdv1.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)));
            tabControlAdv1.Controls.Add(this.tabPageAdv1);
            tabControlAdv1.Controls.Add(this.tabPageAdv2);
            tabControlAdv1.Location = new System.Drawing.Point(0, 0);
            tabControlAdv1.Name = "tabControlAdv1";
            tabControlAdv1.Size = new System.Drawing.Size(396, 381);
            tabControlAdv1.SizeMode = Syncfusion.Windows.Forms.Tools.TabSizeMode.ShrinkToFit;
            tabControlAdv1.TabIndex = 0;
            // 
            // tabPageAdv1
            // 
            this.tabPageAdv1.Controls.Add(this.pgParams);
            this.tabPageAdv1.Location = new System.Drawing.Point(1, 25);
            this.tabPageAdv1.Name = "tabPageAdv1";
            this.tabPageAdv1.Size = new System.Drawing.Size(393, 354);
            this.tabPageAdv1.TabIndex = 1;
            this.tabPageAdv1.Text = "Параметры";
            this.tabPageAdv1.ThemesEnabled = false;
            // 
            // pgParams
            // 
            this.pgParams.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.pgParams.HelpVisible = false;
            this.pgParams.Location = new System.Drawing.Point(-1, 0);
            this.pgParams.Name = "pgParams";
            this.pgParams.Size = new System.Drawing.Size(396, 356);
            this.pgParams.TabIndex = 0;
            this.pgParams.ToolbarVisible = false;
            this.pgParams.SelectedGridItemChanged += new System.Windows.Forms.SelectedGridItemChangedEventHandler(this.pgParams_SelectedGridItemChanged);
            this.pgParams.Click += new System.EventHandler(this.pgParams_Click);
            this.pgParams.Validating += new System.ComponentModel.CancelEventHandler(this.pgParams_Validating);
            this.pgParams.PropertyValueChanged += new System.Windows.Forms.PropertyValueChangedEventHandler(this.pgParams_PropertyValueChanged);
            // 
            // tabPageAdv2
            // 
            this.tabPageAdv2.Controls.Add(this.gdRelations);
            this.tabPageAdv2.Location = new System.Drawing.Point(1, 25);
            this.tabPageAdv2.Name = "tabPageAdv2";
            this.tabPageAdv2.Size = new System.Drawing.Size(393, 354);
            this.tabPageAdv2.TabIndex = 2;
            this.tabPageAdv2.Text = "Связи";
            this.tabPageAdv2.ThemesEnabled = false;
            // 
            // gdRelations
            // 
            this.gdRelations.AllowUserToAddRows = false;
            this.gdRelations.AllowUserToDeleteRows = false;
            this.gdRelations.AllowUserToResizeRows = false;
            this.gdRelations.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.gdRelations.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells;
            this.gdRelations.AutoSizeRowsMode = System.Windows.Forms.DataGridViewAutoSizeRowsMode.AllCells;
            this.gdRelations.BackgroundColor = System.Drawing.SystemColors.Window;
            this.gdRelations.BorderStyle = System.Windows.Forms.BorderStyle.None;
            this.gdRelations.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
            this.gdRelations.Location = new System.Drawing.Point(0, 0);
            this.gdRelations.MultiSelect = false;
            this.gdRelations.Name = "gdRelations";
            this.gdRelations.RightToLeft = System.Windows.Forms.RightToLeft.No;
            this.gdRelations.RowHeadersVisible = false;
            this.gdRelations.ShowEditingIcon = false;
            this.gdRelations.Size = new System.Drawing.Size(393, 356);
            this.gdRelations.TabIndex = 2;
            // 
            // msMainMenu
            // 
            this.msMainMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.ConfigurationToolStripMenuItem,
            this.InstanceToolStripMenuItem,
            this.menuItemQuit});
            this.msMainMenu.Location = new System.Drawing.Point(0, 0);
            this.msMainMenu.Name = "msMainMenu";
            this.msMainMenu.Size = new System.Drawing.Size(730, 24);
            this.msMainMenu.TabIndex = 1;
            this.msMainMenu.Text = "menuStrip1";
            // 
            // ConfigurationToolStripMenuItem
            // 
            this.ConfigurationToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.menuItemSave,
            this.menuItemCancel});
            this.ConfigurationToolStripMenuItem.Name = "ConfigurationToolStripMenuItem";
            this.ConfigurationToolStripMenuItem.Size = new System.Drawing.Size(93, 20);
            this.ConfigurationToolStripMenuItem.Text = "Конфигурация";
            // 
            // menuItemSave
            // 
            this.menuItemSave.Enabled = false;
            this.menuItemSave.Name = "menuItemSave";
            this.menuItemSave.Size = new System.Drawing.Size(140, 22);
            this.menuItemSave.Text = "Сохранить";
            this.menuItemSave.ToolTipText = "Сохранить конфигурацию";
            this.menuItemSave.EnabledChanged += new System.EventHandler(this.SaveToolStripMenuItem_EnabledChanged);
            this.menuItemSave.Click += new System.EventHandler(this.menuItemSave_Click);
            // 
            // menuItemCancel
            // 
            this.menuItemCancel.Enabled = false;
            this.menuItemCancel.Name = "menuItemCancel";
            this.menuItemCancel.Size = new System.Drawing.Size(140, 22);
            this.menuItemCancel.Text = "Отменить";
            this.menuItemCancel.ToolTipText = "Отменить изменения значений параметров";
            this.menuItemCancel.EnabledChanged += new System.EventHandler(this.CancelToolStripMenuItem_EnabledChanged);
            this.menuItemCancel.Click += new System.EventHandler(this.menuItemCancel_Click);
            // 
            // InstanceToolStripMenuItem
            // 
            this.InstanceToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.menuItemCreate,
            this.menuItemRemove});
            this.InstanceToolStripMenuItem.Name = "InstanceToolStripMenuItem";
            this.InstanceToolStripMenuItem.Size = new System.Drawing.Size(73, 20);
            this.InstanceToolStripMenuItem.Text = "Экземпляр";
            // 
            // menuItemCreate
            // 
            this.menuItemCreate.Enabled = false;
            this.menuItemCreate.Name = "menuItemCreate";
            this.menuItemCreate.Size = new System.Drawing.Size(129, 22);
            this.menuItemCreate.Text = "Создать";
            this.menuItemCreate.ToolTipText = "Создать экземпляр";
            this.menuItemCreate.EnabledChanged += new System.EventHandler(this.CreateToolStripMenuItem_EnabledChanged);
            this.menuItemCreate.Click += new System.EventHandler(this.menuItemCreate_Click);
            // 
            // menuItemRemove
            // 
            this.menuItemRemove.Enabled = false;
            this.menuItemRemove.Name = "menuItemRemove";
            this.menuItemRemove.Size = new System.Drawing.Size(129, 22);
            this.menuItemRemove.Text = "Удалить";
            this.menuItemRemove.ToolTipText = "Удалить экземпляр";
            this.menuItemRemove.EnabledChanged += new System.EventHandler(this.RemoveToolStripMenuItem_EnabledChanged);
            this.menuItemRemove.Click += new System.EventHandler(this.menuItemRemove_Click);
            // 
            // menuItemQuit
            // 
            this.menuItemQuit.Name = "menuItemQuit";
            this.menuItemQuit.Size = new System.Drawing.Size(52, 20);
            this.menuItemQuit.Text = "Выход";
            this.menuItemQuit.Click += new System.EventHandler(this.menuItemQuit_Click);
            // 
            // configToolStripMenuItem
            // 
            this.configToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.saveConfigToolStripMenuItem,
            this.cancelConfigToolStripMenuItem});
            this.configToolStripMenuItem.Name = "configToolStripMenuItem";
            this.configToolStripMenuItem.Size = new System.Drawing.Size(93, 20);
            this.configToolStripMenuItem.Text = "Конфигурация";
            // 
            // saveConfigToolStripMenuItem
            // 
            this.saveConfigToolStripMenuItem.Name = "saveConfigToolStripMenuItem";
            this.saveConfigToolStripMenuItem.Size = new System.Drawing.Size(140, 22);
            this.saveConfigToolStripMenuItem.Text = "Сохранить";
            // 
            // cancelConfigToolStripMenuItem
            // 
            this.cancelConfigToolStripMenuItem.Name = "cancelConfigToolStripMenuItem";
            this.cancelConfigToolStripMenuItem.Size = new System.Drawing.Size(140, 22);
            this.cancelConfigToolStripMenuItem.Text = "Отменить";
            // 
            // instToolStripMenuItem
            // 
            this.instToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.createInstToolStripMenuItem,
            this.deleteInstToolStripMenuItem});
            this.instToolStripMenuItem.Name = "instToolStripMenuItem";
            this.instToolStripMenuItem.Size = new System.Drawing.Size(73, 20);
            this.instToolStripMenuItem.Text = "Экземпляр";
            // 
            // createInstToolStripMenuItem
            // 
            this.createInstToolStripMenuItem.Name = "createInstToolStripMenuItem";
            this.createInstToolStripMenuItem.Size = new System.Drawing.Size(129, 22);
            this.createInstToolStripMenuItem.Text = "Создать";
            // 
            // deleteInstToolStripMenuItem
            // 
            this.deleteInstToolStripMenuItem.Name = "deleteInstToolStripMenuItem";
            this.deleteInstToolStripMenuItem.Size = new System.Drawing.Size(129, 22);
            this.deleteInstToolStripMenuItem.Text = "Удалить";
            // 
            // tsMainMenu
            // 
            this.tsMainMenu.ImageScalingSize = new System.Drawing.Size(32, 32);
            this.tsMainMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.SaveStripButton,
            this.AddStripButton,
            this.RemoveStripButton,
            this.CancelStripButton});
            this.tsMainMenu.Location = new System.Drawing.Point(0, 24);
            this.tsMainMenu.Name = "tsMainMenu";
            this.tsMainMenu.Size = new System.Drawing.Size(730, 39);
            this.tsMainMenu.TabIndex = 2;
            this.tsMainMenu.Text = "toolStrip1";
            // 
            // SaveStripButton
            // 
            this.SaveStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
            this.SaveStripButton.Image = global::UI.PresentationDesign.ConfiguratorUI.Properties.Resources.Save;
            this.SaveStripButton.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.SaveStripButton.Name = "SaveStripButton";
            this.SaveStripButton.Size = new System.Drawing.Size(36, 36);
            this.SaveStripButton.Text = "Сохранить";
            this.SaveStripButton.ToolTipText = "Сохранить конфигурацию";
            this.SaveStripButton.Click += new System.EventHandler(this.menuItemSave_Click);
            // 
            // AddStripButton
            // 
            this.AddStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
            this.AddStripButton.Enabled = false;
            this.AddStripButton.Image = global::UI.PresentationDesign.ConfiguratorUI.Properties.Resources.Symbol_Add;
            this.AddStripButton.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.AddStripButton.Name = "AddStripButton";
            this.AddStripButton.Size = new System.Drawing.Size(36, 36);
            this.AddStripButton.Text = "Создать";
            this.AddStripButton.ToolTipText = "Создать экземпляр";
            this.AddStripButton.Click += new System.EventHandler(this.menuItemCreate_Click);
            // 
            // RemoveStripButton
            // 
            this.RemoveStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
            this.RemoveStripButton.Enabled = false;
            this.RemoveStripButton.Image = global::UI.PresentationDesign.ConfiguratorUI.Properties.Resources.Symbol_Delete;
            this.RemoveStripButton.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.RemoveStripButton.Name = "RemoveStripButton";
            this.RemoveStripButton.Size = new System.Drawing.Size(36, 36);
            this.RemoveStripButton.Text = "Удалить";
            this.RemoveStripButton.ToolTipText = "Удалить экземпляр";
            this.RemoveStripButton.Click += new System.EventHandler(this.menuItemRemove_Click);
            // 
            // CancelStripButton
            // 
            this.CancelStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
            this.CancelStripButton.Image = global::UI.PresentationDesign.ConfiguratorUI.Properties.Resources.Undo;
            this.CancelStripButton.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.CancelStripButton.Name = "CancelStripButton";
            this.CancelStripButton.Size = new System.Drawing.Size(36, 36);
            this.CancelStripButton.Text = "Отменить";
            this.CancelStripButton.ToolTipText = "Отменить изменения значений параметров";
            this.CancelStripButton.Click += new System.EventHandler(this.menuItemCancel_Click);
            // 
            // MainForm
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(730, 444);
            this.Controls.Add(splitContainerAdv1);
            this.Controls.Add(this.tsMainMenu);
            this.Controls.Add(this.msMainMenu);
            this.Name = "MainForm";
            this.Text = "ВИРД - Конфигурирование";
            this.UseOffice2007SchemeBackColor = true;
            this.Shown += new System.EventHandler(this.MainForm_Shown);
            this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.MainForm_FormClosing);
            splitContainerAdv1.Panel1.ResumeLayout(false);
            splitContainerAdv1.Panel2.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(splitContainerAdv1)).EndInit();
            splitContainerAdv1.ResumeLayout(false);
            splitContainerAdv1.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(tabControlAdv1)).EndInit();
            tabControlAdv1.ResumeLayout(false);
            this.tabPageAdv1.ResumeLayout(false);
            this.tabPageAdv2.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.gdRelations)).EndInit();
            this.msMainMenu.ResumeLayout(false);
            this.msMainMenu.PerformLayout();
            this.tsMainMenu.ResumeLayout(false);
            this.tsMainMenu.PerformLayout();
            this.ResumeLayout(false);
            this.PerformLayout();

        }
Exemplo n.º 2
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
     this.sqlDataAdapter1      = new System.Data.SqlClient.SqlDataAdapter();
     this.sqlDeleteCommand1    = new System.Data.SqlClient.SqlCommand();
     this.sqlConnection1       = new System.Data.SqlClient.SqlConnection();
     this.sqlInsertCommand1    = new System.Data.SqlClient.SqlCommand();
     this.sqlSelectCommand1    = new System.Data.SqlClient.SqlCommand();
     this.sqlUpdateCommand1    = new System.Data.SqlClient.SqlCommand();
     this.sqlDataAdapter2      = new System.Data.SqlClient.SqlDataAdapter();
     this.sqlDeleteCommand2    = new System.Data.SqlClient.SqlCommand();
     this.sqlInsertCommand2    = new System.Data.SqlClient.SqlCommand();
     this.sqlSelectCommand2    = new System.Data.SqlClient.SqlCommand();
     this.sqlUpdateCommand2    = new System.Data.SqlClient.SqlCommand();
     this.dataset11            = new AccessCurrent.Dataset1();
     this.gridGroupingControl1 = new Syncfusion.Windows.Forms.Grid.Grouping.GridGroupingControl();
     this.splitContainerAdv1   = new Syncfusion.Windows.Forms.Tools.SplitContainerAdv();
     this.panel1     = new System.Windows.Forms.Panel();
     this.label4     = new System.Windows.Forms.Label();
     this.lblElement = new System.Windows.Forms.Label();
     this.label3     = new System.Windows.Forms.Label();
     this.lblCell    = new System.Windows.Forms.Label();
     ((System.ComponentModel.ISupportInitialize)(this.dataset11)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridGroupingControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.splitContainerAdv1)).BeginInit();
     this.splitContainerAdv1.Panel1.SuspendLayout();
     this.splitContainerAdv1.Panel2.SuspendLayout();
     this.splitContainerAdv1.SuspendLayout();
     this.panel1.SuspendLayout();
     this.SuspendLayout();
     //
     // sqlDataAdapter1
     //
     this.sqlDataAdapter1.DeleteCommand = this.sqlDeleteCommand1;
     this.sqlDataAdapter1.InsertCommand = this.sqlInsertCommand1;
     this.sqlDataAdapter1.SelectCommand = this.sqlSelectCommand1;
     this.sqlDataAdapter1.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] {
         new System.Data.Common.DataTableMapping("Table", "Categories", new System.Data.Common.DataColumnMapping[] {
             new System.Data.Common.DataColumnMapping("CategoryID", "CategoryID"),
             new System.Data.Common.DataColumnMapping("CategoryName", "CategoryName"),
             new System.Data.Common.DataColumnMapping("Description", "Description"),
             new System.Data.Common.DataColumnMapping("Picture", "Picture")
         })
     });
     this.sqlDataAdapter1.UpdateCommand = this.sqlUpdateCommand1;
     //
     // sqlDeleteCommand1
     //
     this.sqlDeleteCommand1.CommandText = "DELETE FROM Categories WHERE (CategoryID = @Original_CategoryID) AND (CategoryNam" +
                                          "e = @Original_CategoryName)";
     this.sqlDeleteCommand1.Connection = this.sqlConnection1;
     this.sqlDeleteCommand1.Parameters.AddRange(new System.Data.SqlClient.SqlParameter[] {
         new System.Data.SqlClient.SqlParameter("@Original_CategoryID", System.Data.SqlDbType.Int, 4, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "CategoryID", System.Data.DataRowVersion.Original, null),
         new System.Data.SqlClient.SqlParameter("@Original_CategoryName", System.Data.SqlDbType.NVarChar, 15, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "CategoryName", System.Data.DataRowVersion.Original, null)
     });
     //
     // sqlConnection1
     //
     this.sqlConnection1.ConnectionString = "Network Address=66.135.59.108,49489;initial catalog=NORTHWIND;password=Sync_sampl" +
                                            "es;persist security info=True;user id=sa;packet size=4096;Pooling=true";
     this.sqlConnection1.FireInfoMessageEventOnUserErrors = false;
     //
     // sqlInsertCommand1
     //
     this.sqlInsertCommand1.CommandText = resources.GetString("sqlInsertCommand1.CommandText");
     this.sqlInsertCommand1.Connection  = this.sqlConnection1;
     this.sqlInsertCommand1.Parameters.AddRange(new System.Data.SqlClient.SqlParameter[] {
         new System.Data.SqlClient.SqlParameter("@CategoryName", System.Data.SqlDbType.NVarChar, 15, "CategoryName"),
         new System.Data.SqlClient.SqlParameter("@Description", System.Data.SqlDbType.NVarChar, 1073741823, "Description"),
         new System.Data.SqlClient.SqlParameter("@Picture", System.Data.SqlDbType.VarBinary, 2147483647, "Picture")
     });
     //
     // sqlSelectCommand1
     //
     this.sqlSelectCommand1.CommandText = "SELECT CategoryID, CategoryName, Description, Picture FROM Categories";
     this.sqlSelectCommand1.Connection  = this.sqlConnection1;
     //
     // sqlUpdateCommand1
     //
     this.sqlUpdateCommand1.CommandText = resources.GetString("sqlUpdateCommand1.CommandText");
     this.sqlUpdateCommand1.Connection  = this.sqlConnection1;
     this.sqlUpdateCommand1.Parameters.AddRange(new System.Data.SqlClient.SqlParameter[] {
         new System.Data.SqlClient.SqlParameter("@CategoryName", System.Data.SqlDbType.NVarChar, 15, "CategoryName"),
         new System.Data.SqlClient.SqlParameter("@Description", System.Data.SqlDbType.NVarChar, 1073741823, "Description"),
         new System.Data.SqlClient.SqlParameter("@Picture", System.Data.SqlDbType.VarBinary, 2147483647, "Picture"),
         new System.Data.SqlClient.SqlParameter("@Original_CategoryID", System.Data.SqlDbType.Int, 4, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "CategoryID", System.Data.DataRowVersion.Original, null),
         new System.Data.SqlClient.SqlParameter("@Original_CategoryName", System.Data.SqlDbType.NVarChar, 15, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "CategoryName", System.Data.DataRowVersion.Original, null),
         new System.Data.SqlClient.SqlParameter("@CategoryID", System.Data.SqlDbType.Int, 4, "CategoryID")
     });
     //
     // sqlDataAdapter2
     //
     this.sqlDataAdapter2.DeleteCommand = this.sqlDeleteCommand2;
     this.sqlDataAdapter2.InsertCommand = this.sqlInsertCommand2;
     this.sqlDataAdapter2.SelectCommand = this.sqlSelectCommand2;
     this.sqlDataAdapter2.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] {
         new System.Data.Common.DataTableMapping("Table", "Products", new System.Data.Common.DataColumnMapping[] {
             new System.Data.Common.DataColumnMapping("ProductID", "ProductID"),
             new System.Data.Common.DataColumnMapping("ProductName", "ProductName"),
             new System.Data.Common.DataColumnMapping("SupplierID", "SupplierID"),
             new System.Data.Common.DataColumnMapping("CategoryID", "CategoryID"),
             new System.Data.Common.DataColumnMapping("QuantityPerUnit", "QuantityPerUnit"),
             new System.Data.Common.DataColumnMapping("UnitPrice", "UnitPrice"),
             new System.Data.Common.DataColumnMapping("UnitsInStock", "UnitsInStock"),
             new System.Data.Common.DataColumnMapping("UnitsOnOrder", "UnitsOnOrder"),
             new System.Data.Common.DataColumnMapping("ReorderLevel", "ReorderLevel"),
             new System.Data.Common.DataColumnMapping("Discontinued", "Discontinued")
         })
     });
     this.sqlDataAdapter2.UpdateCommand = this.sqlUpdateCommand2;
     //
     // sqlDeleteCommand2
     //
     this.sqlDeleteCommand2.CommandText = resources.GetString("sqlDeleteCommand2.CommandText");
     this.sqlDeleteCommand2.Connection  = this.sqlConnection1;
     this.sqlDeleteCommand2.Parameters.AddRange(new System.Data.SqlClient.SqlParameter[] {
         new System.Data.SqlClient.SqlParameter("@Original_ProductID", System.Data.SqlDbType.Int, 4, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "ProductID", System.Data.DataRowVersion.Original, null),
         new System.Data.SqlClient.SqlParameter("@Original_CategoryID", System.Data.SqlDbType.Int, 4, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "CategoryID", System.Data.DataRowVersion.Original, null),
         new System.Data.SqlClient.SqlParameter("@Original_Discontinued", System.Data.SqlDbType.Bit, 1, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "Discontinued", System.Data.DataRowVersion.Original, null),
         new System.Data.SqlClient.SqlParameter("@Original_ProductName", System.Data.SqlDbType.NVarChar, 40, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "ProductName", System.Data.DataRowVersion.Original, null),
         new System.Data.SqlClient.SqlParameter("@Original_QuantityPerUnit", System.Data.SqlDbType.NVarChar, 20, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "QuantityPerUnit", System.Data.DataRowVersion.Original, null),
         new System.Data.SqlClient.SqlParameter("@Original_ReorderLevel", System.Data.SqlDbType.SmallInt, 2, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "ReorderLevel", System.Data.DataRowVersion.Original, null),
         new System.Data.SqlClient.SqlParameter("@Original_SupplierID", System.Data.SqlDbType.Int, 4, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "SupplierID", System.Data.DataRowVersion.Original, null),
         new System.Data.SqlClient.SqlParameter("@Original_UnitPrice", System.Data.SqlDbType.Money, 8, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "UnitPrice", System.Data.DataRowVersion.Original, null),
         new System.Data.SqlClient.SqlParameter("@Original_UnitsInStock", System.Data.SqlDbType.SmallInt, 2, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "UnitsInStock", System.Data.DataRowVersion.Original, null),
         new System.Data.SqlClient.SqlParameter("@Original_UnitsOnOrder", System.Data.SqlDbType.SmallInt, 2, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "UnitsOnOrder", System.Data.DataRowVersion.Original, null)
     });
     //
     // sqlInsertCommand2
     //
     this.sqlInsertCommand2.CommandText = resources.GetString("sqlInsertCommand2.CommandText");
     this.sqlInsertCommand2.Connection  = this.sqlConnection1;
     this.sqlInsertCommand2.Parameters.AddRange(new System.Data.SqlClient.SqlParameter[] {
         new System.Data.SqlClient.SqlParameter("@ProductName", System.Data.SqlDbType.NVarChar, 40, "ProductName"),
         new System.Data.SqlClient.SqlParameter("@SupplierID", System.Data.SqlDbType.Int, 4, "SupplierID"),
         new System.Data.SqlClient.SqlParameter("@CategoryID", System.Data.SqlDbType.Int, 4, "CategoryID"),
         new System.Data.SqlClient.SqlParameter("@QuantityPerUnit", System.Data.SqlDbType.NVarChar, 20, "QuantityPerUnit"),
         new System.Data.SqlClient.SqlParameter("@UnitPrice", System.Data.SqlDbType.Money, 8, "UnitPrice"),
         new System.Data.SqlClient.SqlParameter("@UnitsInStock", System.Data.SqlDbType.SmallInt, 2, "UnitsInStock"),
         new System.Data.SqlClient.SqlParameter("@UnitsOnOrder", System.Data.SqlDbType.SmallInt, 2, "UnitsOnOrder"),
         new System.Data.SqlClient.SqlParameter("@ReorderLevel", System.Data.SqlDbType.SmallInt, 2, "ReorderLevel"),
         new System.Data.SqlClient.SqlParameter("@Discontinued", System.Data.SqlDbType.Bit, 1, "Discontinued")
     });
     //
     // sqlSelectCommand2
     //
     this.sqlSelectCommand2.CommandText = "SELECT ProductID, ProductName, SupplierID, CategoryID, QuantityPerUnit, UnitPrice" +
                                          ", UnitsInStock, UnitsOnOrder, ReorderLevel, Discontinued FROM Products";
     this.sqlSelectCommand2.Connection = this.sqlConnection1;
     //
     // sqlUpdateCommand2
     //
     this.sqlUpdateCommand2.CommandText = resources.GetString("sqlUpdateCommand2.CommandText");
     this.sqlUpdateCommand2.Connection  = this.sqlConnection1;
     this.sqlUpdateCommand2.Parameters.AddRange(new System.Data.SqlClient.SqlParameter[] {
         new System.Data.SqlClient.SqlParameter("@ProductName", System.Data.SqlDbType.NVarChar, 40, "ProductName"),
         new System.Data.SqlClient.SqlParameter("@SupplierID", System.Data.SqlDbType.Int, 4, "SupplierID"),
         new System.Data.SqlClient.SqlParameter("@CategoryID", System.Data.SqlDbType.Int, 4, "CategoryID"),
         new System.Data.SqlClient.SqlParameter("@QuantityPerUnit", System.Data.SqlDbType.NVarChar, 20, "QuantityPerUnit"),
         new System.Data.SqlClient.SqlParameter("@UnitPrice", System.Data.SqlDbType.Money, 8, "UnitPrice"),
         new System.Data.SqlClient.SqlParameter("@UnitsInStock", System.Data.SqlDbType.SmallInt, 2, "UnitsInStock"),
         new System.Data.SqlClient.SqlParameter("@UnitsOnOrder", System.Data.SqlDbType.SmallInt, 2, "UnitsOnOrder"),
         new System.Data.SqlClient.SqlParameter("@ReorderLevel", System.Data.SqlDbType.SmallInt, 2, "ReorderLevel"),
         new System.Data.SqlClient.SqlParameter("@Discontinued", System.Data.SqlDbType.Bit, 1, "Discontinued"),
         new System.Data.SqlClient.SqlParameter("@Original_ProductID", System.Data.SqlDbType.Int, 4, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "ProductID", System.Data.DataRowVersion.Original, null),
         new System.Data.SqlClient.SqlParameter("@Original_CategoryID", System.Data.SqlDbType.Int, 4, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "CategoryID", System.Data.DataRowVersion.Original, null),
         new System.Data.SqlClient.SqlParameter("@Original_Discontinued", System.Data.SqlDbType.Bit, 1, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "Discontinued", System.Data.DataRowVersion.Original, null),
         new System.Data.SqlClient.SqlParameter("@Original_ProductName", System.Data.SqlDbType.NVarChar, 40, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "ProductName", System.Data.DataRowVersion.Original, null),
         new System.Data.SqlClient.SqlParameter("@Original_QuantityPerUnit", System.Data.SqlDbType.NVarChar, 20, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "QuantityPerUnit", System.Data.DataRowVersion.Original, null),
         new System.Data.SqlClient.SqlParameter("@Original_ReorderLevel", System.Data.SqlDbType.SmallInt, 2, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "ReorderLevel", System.Data.DataRowVersion.Original, null),
         new System.Data.SqlClient.SqlParameter("@Original_SupplierID", System.Data.SqlDbType.Int, 4, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "SupplierID", System.Data.DataRowVersion.Original, null),
         new System.Data.SqlClient.SqlParameter("@Original_UnitPrice", System.Data.SqlDbType.Money, 8, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "UnitPrice", System.Data.DataRowVersion.Original, null),
         new System.Data.SqlClient.SqlParameter("@Original_UnitsInStock", System.Data.SqlDbType.SmallInt, 2, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "UnitsInStock", System.Data.DataRowVersion.Original, null),
         new System.Data.SqlClient.SqlParameter("@Original_UnitsOnOrder", System.Data.SqlDbType.SmallInt, 2, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "UnitsOnOrder", System.Data.DataRowVersion.Original, null),
         new System.Data.SqlClient.SqlParameter("@ProductID", System.Data.SqlDbType.Int, 4, "ProductID")
     });
     //
     // dataset11
     //
     this.dataset11.DataSetName             = "Dataset1";
     this.dataset11.Locale                  = new System.Globalization.CultureInfo("en-US");
     this.dataset11.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
     //
     // gridGroupingControl1
     //
     this.gridGroupingControl1.Dock                     = DockStyle.Fill;
     this.gridGroupingControl1.BackColor                = System.Drawing.SystemColors.Window;
     this.gridGroupingControl1.DataSource               = this.dataset11.Categories;
     this.gridGroupingControl1.FreezeCaption            = false;
     this.gridGroupingControl1.GridOfficeScrollBars     = Syncfusion.Windows.Forms.OfficeScrollBars.Metro;
     this.gridGroupingControl1.Location                 = new System.Drawing.Point(12, 12);
     this.gridGroupingControl1.Name                     = "gridGroupingControl1";
     this.gridGroupingControl1.Size                     = new System.Drawing.Size(988, 484);
     this.gridGroupingControl1.TabIndex                 = 0;
     this.gridGroupingControl1.TableDescriptor.AllowNew = false;
     this.gridGroupingControl1.TableDescriptor.TableOptions.ColumnHeaderRowHeight = (int)DpiAware.LogicalToDeviceUnits(25.0f);
     this.gridGroupingControl1.TableDescriptor.TableOptions.RecordRowHeight       = (int)DpiAware.LogicalToDeviceUnits(25.0f);
     this.gridGroupingControl1.TableOptions.GridLineBorder = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229))))));
     this.gridGroupingControl1.Text        = "gridGroupingControl1";
     this.gridGroupingControl1.VersionInfo = "4.201.0.37";
     //
     // splitContainerAdv1
     //
     this.splitContainerAdv1.BackColor       = System.Drawing.Color.White;
     this.splitContainerAdv1.BeforeTouchSize = 5;
     this.splitContainerAdv1.Dock            = System.Windows.Forms.DockStyle.Fill;
     this.splitContainerAdv1.Location        = new System.Drawing.Point(0, 0);
     this.splitContainerAdv1.Name            = "splitContainerAdv1";
     this.splitContainerAdv1.Orientation     = System.Windows.Forms.Orientation.Vertical;
     //
     // splitContainerAdv1.Panel1
     //
     this.splitContainerAdv1.Panel1.BackColor = System.Drawing.Color.White;
     this.splitContainerAdv1.Panel1.Controls.Add(this.gridGroupingControl1);
     //
     // splitContainerAdv1.Panel2
     //
     this.splitContainerAdv1.Panel2.BackColor = System.Drawing.Color.White;
     this.splitContainerAdv1.Panel2.Controls.Add(this.panel1);
     this.splitContainerAdv1.Panel2.ForeColor = System.Drawing.Color.DimGray;
     this.splitContainerAdv1.Size             = new System.Drawing.Size(1012, 653);
     this.splitContainerAdv1.SplitterDistance = 500;
     this.splitContainerAdv1.SplitterWidth    = 5;
     this.splitContainerAdv1.TabIndex         = 6;
     this.splitContainerAdv1.Text             = "splitContainerAdv1";
     //
     // panel1
     //
     this.panel1.Dock        = DockStyle.Fill;
     this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.panel1.Controls.Add(this.label4);
     this.panel1.Controls.Add(this.lblElement);
     this.panel1.Controls.Add(this.label3);
     this.panel1.Controls.Add(this.lblCell);
     this.panel1.Font     = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.panel1.Location = new System.Drawing.Point(12, 2);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(988, 141);
     this.panel1.TabIndex = 0;
     //
     // label4
     //
     this.label4.Font     = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label4.Location = new System.Drawing.Point(14, 79);
     this.label4.Name     = "label4";
     this.label4.Size     = new System.Drawing.Size(112, 23);
     this.label4.TabIndex = 10;
     this.label4.Text     = "Current Cell :";
     //
     // lblElement
     //
     this.lblElement.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                    | System.Windows.Forms.AnchorStyles.Right)));
     this.lblElement.Font     = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblElement.Location = new System.Drawing.Point(132, 17);
     this.lblElement.Name     = "lblElement";
     this.lblElement.Size     = new System.Drawing.Size(831, 60);
     this.lblElement.TabIndex = 8;
     //
     // label3
     //
     this.label3.Font     = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label3.Location = new System.Drawing.Point(14, 14);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(128, 23);
     this.label3.TabIndex = 9;
     this.label3.Text     = "Current Element :";
     //
     // lblCell
     //
     this.lblCell.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                 | System.Windows.Forms.AnchorStyles.Right)));
     this.lblCell.Font     = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblCell.Location = new System.Drawing.Point(132, 80);
     this.lblCell.Name     = "lblCell";
     this.lblCell.Size     = new System.Drawing.Size(831, 56);
     this.lblCell.TabIndex = 7;
     //
     // Form1
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(1012, 653);
     this.Controls.Add(this.splitContainerAdv1);
     this.MinimumSize = new System.Drawing.Size(800, 450);
     this.Name        = "Form1";
     this.Text        = "Access Current Element-Cell ";
     this.Load       += new System.EventHandler(this.Form1_Load);
     ((System.ComponentModel.ISupportInitialize)(this.dataset11)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridGroupingControl1)).EndInit();
     this.splitContainerAdv1.Panel1.ResumeLayout(false);
     this.splitContainerAdv1.Panel2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.splitContainerAdv1)).EndInit();
     this.splitContainerAdv1.ResumeLayout(false);
     this.panel1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Exemplo n.º 3
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(Form1));
     this.panel1             = new System.Windows.Forms.Panel();
     this.listBox1           = new System.Windows.Forms.ListBox();
     this.panel2             = new System.Windows.Forms.Panel();
     this.groupBox2          = new System.Windows.Forms.GroupBox();
     this.label1             = new System.Windows.Forms.Label();
     this.groupBox1          = new System.Windows.Forms.GroupBox();
     this.htmluiControl1     = new Syncfusion.Windows.Forms.HTMLUI.HTMLUIControl();
     this.scrollersFrame1    = new Syncfusion.Windows.Forms.ScrollersFrame(this.components);
     this.splitContainerAdv1 = new Syncfusion.Windows.Forms.Tools.SplitContainerAdv();
     this.panel1.SuspendLayout();
     this.panel2.SuspendLayout();
     this.groupBox2.SuspendLayout();
     this.groupBox1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.htmluiControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.splitContainerAdv1)).BeginInit();
     this.splitContainerAdv1.Panel1.SuspendLayout();
     this.splitContainerAdv1.Panel2.SuspendLayout();
     this.splitContainerAdv1.SuspendLayout();
     this.SuspendLayout();
     //
     // panel1
     //
     this.panel1.BackColor = System.Drawing.Color.White;
     this.panel1.Controls.Add(this.listBox1);
     this.panel1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.panel1.Font     = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.panel1.Location = new System.Drawing.Point(0, 0);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(208, 481);
     this.panel1.TabIndex = 1;
     //
     // listBox1
     //
     this.listBox1.BackColor           = System.Drawing.Color.White;
     this.listBox1.BorderStyle         = System.Windows.Forms.BorderStyle.FixedSingle;
     this.listBox1.Dock                = System.Windows.Forms.DockStyle.Fill;
     this.listBox1.Font                = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.listBox1.HorizontalScrollbar = true;
     this.listBox1.ItemHeight          = 16;
     this.listBox1.Items.AddRange(new object[] {
         "A (Link) ",
         "B (Bold) ",
         "BR (Break line) ",
         "EM (Makes text italic) ",
         "FONT (Inline element for text) ",
         "H1 (Heading 1)",
         "H2 (Heading 2)",
         "H3 (Heading 3)",
         "H4 (Heading 4)",
         "H5 (Heading 5)",
         "H6 (Heading 6)",
         "HR (Horizontal line) ",
         "I (Makes text italic) ",
         "U(Underlines text) ",
         "LINK (Used for attaching CSS document) ",
         "SPAN (Inline element for applying CSS style) ",
         "STRONG (Makes text bold) ",
         "STYLE (Used for attaching CSS inside html document) ",
         "TITLE (You can see it on the top of control) ",
         "INPUT(Windows Forms controls, such a button, textbox, etc...) ",
         "SELECT(ListBox or ComboBox win controls) ",
         "TEXTAREA(Multiline TextBox win control) ",
         "CHECKBOX(CheckBox win control) ",
         "RADIO(RadioBox win control) ",
         "CODE(Inlinetag for representing code sample) ",
         "DIV(Block tag container) ",
         "FORM(Container for win controls) ",
         "BODY(Container of visual document data) ",
         "HEAD(Container for document\'s settings) ",
         "LI(Simple item of the list) ",
         "OL(Ordered list container) ",
         "P(Container of text paragraph) ",
         "PRE(Container of formated text) ",
         "SCRIPT(Container of script code) ",
         "TABLE(Represents table container) ",
         "TR(Container of single row in the table) ",
         "TD(Container of single cell in the table) ",
         "TH(Header of the column in the table) ",
         "UL(Unordered list container) "
     });
     this.listBox1.Location              = new System.Drawing.Point(0, 0);
     this.listBox1.Name                  = "listBox1";
     this.listBox1.Size                  = new System.Drawing.Size(208, 481);
     this.listBox1.TabIndex              = 0;
     this.listBox1.SelectedIndexChanged += new System.EventHandler(this.listBox1_SelectedIndexChanged);
     //
     // panel2
     //
     this.panel2.BackColor = System.Drawing.Color.White;
     this.panel2.Controls.Add(this.groupBox2);
     this.panel2.Controls.Add(this.groupBox1);
     this.panel2.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.panel2.Location = new System.Drawing.Point(0, 0);
     this.panel2.Name     = "panel2";
     this.panel2.Size     = new System.Drawing.Size(513, 481);
     this.panel2.TabIndex = 2;
     //
     // groupBox2
     //
     this.groupBox2.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.groupBox2.Controls.Add(this.label1);
     this.groupBox2.Location = new System.Drawing.Point(0, 0);
     this.groupBox2.Name     = "groupBox2";
     this.groupBox2.Size     = new System.Drawing.Size(513, 206);
     this.groupBox2.TabIndex = 7;
     this.groupBox2.TabStop  = false;
     this.groupBox2.Text     = "HTML Tag code:";
     //
     // label1
     //
     this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                | System.Windows.Forms.AnchorStyles.Right)));
     this.label1.BackColor = System.Drawing.SystemColors.ControlLightLight;
     this.label1.Font      = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label1.ForeColor = System.Drawing.Color.Black;
     this.label1.Location  = new System.Drawing.Point(10, 22);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(497, 54);
     this.label1.TabIndex  = 5;
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // groupBox1
     //
     this.groupBox1.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.groupBox1.Controls.Add(this.htmluiControl1);
     this.groupBox1.Location = new System.Drawing.Point(0, 212);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(513, 266);
     this.groupBox1.TabIndex = 6;
     this.groupBox1.TabStop  = false;
     this.groupBox1.Text     = "HTML Output:";
     //
     // htmluiControl1
     //
     this.htmluiControl1.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.htmluiControl1.BackColor = System.Drawing.Color.White;
     this.htmluiControl1.DefaultFormat.BackgroundColor = System.Drawing.SystemColors.Control;
     this.htmluiControl1.DefaultFormat.ForeColor       = System.Drawing.SystemColors.ControlText;
     this.htmluiControl1.Font      = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.htmluiControl1.ForeColor = System.Drawing.Color.Black;
     this.htmluiControl1.Location  = new System.Drawing.Point(3, 16);
     this.htmluiControl1.Name      = "htmluiControl1";
     this.htmluiControl1.ShowTitle = false;
     this.htmluiControl1.Size      = new System.Drawing.Size(507, 224);
     this.htmluiControl1.TabIndex  = 4;
     this.htmluiControl1.Text      = resources.GetString("htmluiControl1.Text");
     //
     // scrollersFrame1
     //
     this.scrollersFrame1.AttachedTo            = this.listBox1;
     this.scrollersFrame1.CustomRender          = null;
     this.scrollersFrame1.MetroColorScheme      = Syncfusion.Windows.Forms.MetroColorScheme.Managed;
     this.scrollersFrame1.SizeGripperVisibility = Syncfusion.Windows.Forms.SizeGripperVisibility.Auto;
     this.scrollersFrame1.VisualStyle           = Syncfusion.Windows.Forms.ScrollBarCustomDrawStyles.Metro;
     //
     // splitContainerAdv1
     //
     this.splitContainerAdv1.Dock            = System.Windows.Forms.DockStyle.Fill;
     this.splitContainerAdv1.IsSplitterFixed = true;
     this.splitContainerAdv1.Location        = new System.Drawing.Point(10, 10);
     this.splitContainerAdv1.Name            = "splitContainerAdv1";
     //
     // splitContainerAdv1.Panel1
     //
     this.splitContainerAdv1.Panel1.Controls.Add(this.panel1);
     //
     // splitContainerAdv1.Panel2
     //
     this.splitContainerAdv1.Panel2.Controls.Add(this.panel2);
     this.splitContainerAdv1.Size             = new System.Drawing.Size(728, 481);
     this.splitContainerAdv1.SplitterDistance = 208;
     this.splitContainerAdv1.TabIndex         = 3;
     this.splitContainerAdv1.Text             = "splitContainerAdv1";
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.BorderColor       = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(161)))), ((int)(((byte)(226)))));
     this.CaptionAlign      = System.Windows.Forms.HorizontalAlignment.Center;
     this.ClientSize        = new System.Drawing.Size(748, 501);
     this.Controls.Add(this.splitContainerAdv1);
     this.DropShadow       = true;
     this.Icon             = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.IconAlign        = System.Windows.Forms.HorizontalAlignment.Left;
     this.IconTextRelation = System.Windows.Forms.LeftRightAlignment.Left;
     this.MetroColor       = System.Drawing.Color.White;
     this.MinimumSize      = new System.Drawing.Size(760, 537);
     this.Name             = "Form1";
     this.Padding          = new System.Windows.Forms.Padding(10);
     this.StartPosition    = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text             = "TagsOverview";
     this.Load            += new System.EventHandler(this.Form1_Load);
     this.panel1.ResumeLayout(false);
     this.panel2.ResumeLayout(false);
     this.groupBox2.ResumeLayout(false);
     this.groupBox1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.htmluiControl1)).EndInit();
     this.splitContainerAdv1.Panel1.ResumeLayout(false);
     this.splitContainerAdv1.Panel2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.splitContainerAdv1)).EndInit();
     this.splitContainerAdv1.ResumeLayout(false);
     this.ResumeLayout(false);
 }