예제 #1
0
        public void AddViewerToTab(DataSet ds, string title)
        {
            Syncfusion.Windows.Forms.Tools.TabPageAdv newTab = new Syncfusion.Windows.Forms.Tools.TabPageAdv();
            tabControlAdv1.TabPages.Add(newTab);

            DataViewerCtl dv = new DataViewerCtl(title, ds, title, false, false, null);
            dv.PopulateDataview(ds, false);

            dv.Dock = DockStyle.Fill;
            tabControlAdv1.TabPages[tabControlAdv1.TabCount - 1].Controls.Add(dv);
            tabControlAdv1.TabPages[tabControlAdv1.TabCount - 1].Text = title;
            tabControlAdv1.SelectedTab = tabControlAdv1.TabPages[tabControlAdv1.TabCount - 1];
        }
예제 #2
0
        public void AddViewerToTab(Hashtable jobs, string title, string lastKnownJobName)
        {
            Syncfusion.Windows.Forms.Tools.TabPageAdv newTab = new Syncfusion.Windows.Forms.Tools.TabPageAdv();
            tabControlAdv1.TabPages.Add(newTab);

            RunningJobsCtl jcHierarchy = new RunningJobsCtl(this, config);
            jcHierarchy.Dock = DockStyle.Fill;

            tabControlAdv1.TabPages[tabControlAdv1.TabCount - 1].Controls.Add(jcHierarchy);
            tabControlAdv1.TabPages[tabControlAdv1.TabCount - 1].Text = title;
            tabControlAdv1.SelectedTab = tabControlAdv1.TabPages[tabControlAdv1.TabCount - 1];

            jcHierarchy.DisplayJobsDetail(jobs, lastKnownJobName);
        }
예제 #3
0
        public void AddLogViewerToTab(string jobname, List<string> logEntries)
        {
            Syncfusion.Windows.Forms.Tools.TabPageAdv newTab = new Syncfusion.Windows.Forms.Tools.TabPageAdv();
            tabControlAdv1.TabPages.Add(newTab);

            TextBox tbox = new TextBox();
            tbox.Multiline = true;
            tbox.Dock = DockStyle.Fill;
            tbox.WordWrap = false;
            tbox.ScrollBars = ScrollBars.Both;

            tabControlAdv1.TabPages[tabControlAdv1.TabCount - 1].Controls.Add(tbox);
            tabControlAdv1.TabPages[tabControlAdv1.TabCount - 1].Text = jobname + " Log Entries";
            tabControlAdv1.SelectedTab = tabControlAdv1.TabPages[tabControlAdv1.TabCount - 1];

            tbox.Text = String.Empty;
            StringBuilder sb = new StringBuilder();
            foreach (string s in logEntries)
                sb.Append(String.Format ("{0}\r\n", s));
            tbox.Text = sb.ToString();                
        }
예제 #4
0
        private void OpenFile(string item)
        {
            C4F.DevKit.PreviewHandler.PreviewHandlerHost.PreviewHandlerHostControl control1 = new C4F.DevKit.PreviewHandler.PreviewHandlerHost.PreviewHandlerHostControl();
            control1.Width  = tabControlAdv1.Width - 8;
            control1.Height = tabControlAdv1.Height - 35;

            control1.FilePath  = item;//  dlg.FileName;
            control1.AllowDrop = true;

            string filename = System.IO.Path.GetFileName(item);
            //filename = getShortFilename(filename);
            string filenameExt = System.IO.Path.GetExtension(item).ToLower();

            //adjust for extra long filenames here

            Syncfusion.Windows.Forms.Tools.TabPageAdv tab1 = new Syncfusion.Windows.Forms.Tools.TabPageAdv(filename);
            tab1.Controls.Add(control1);
            tab1.ToolTipText = filename;
            if (filenameExt == ".doc" || filenameExt == ".docx")
            {
                tab1.Image
                    = Image.FromFile(@".\Word-icon.png");
            }
            else if (filenameExt == ".xls" || filenameExt == ".xlsx")
            {
                tab1.Image
                    = Image.FromFile(@".\Excel-icon.png");
            }
            else if (filenameExt == ".ppt" || filenameExt == ".pptx")
            {
                tab1.Image
                    = Image.FromFile(@".\PowerPoint-icon.png");
            }

            tabControlAdv1.TabPages.Add(tab1);
        }
예제 #5
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.label1             = new System.Windows.Forms.Label();
     this.radioButton1       = new System.Windows.Forms.RadioButton();
     this.radioButton2       = new System.Windows.Forms.RadioButton();
     this.radioButton3       = new System.Windows.Forms.RadioButton();
     this.tabControlAdv1     = new Syncfusion.Windows.Forms.Tools.TabControlAdv();
     this.tabPageAdv1        = new Syncfusion.Windows.Forms.Tools.TabPageAdv();
     this.groupBox1          = new System.Windows.Forms.GroupBox();
     this.checkBox3          = new System.Windows.Forms.CheckBox();
     this.checkBox2          = new System.Windows.Forms.CheckBox();
     this.checkBox1          = new System.Windows.Forms.CheckBox();
     this.tabPageAdv2        = new Syncfusion.Windows.Forms.Tools.TabPageAdv();
     this.colorPickerButton2 = new Syncfusion.Windows.Forms.ColorPickerButton();
     this.colorPickerButton1 = new Syncfusion.Windows.Forms.ColorPickerButton();
     this.label7             = new System.Windows.Forms.Label();
     this.label6             = new System.Windows.Forms.Label();
     this.tabPageAdv3        = new Syncfusion.Windows.Forms.Tools.TabPageAdv();
     this.groupBox2          = new System.Windows.Forms.GroupBox();
     this.xpTaskBar1         = new Syncfusion.Windows.Forms.Tools.XPTaskBar();
     this.xpTaskBarBox1      = new Syncfusion.Windows.Forms.Tools.XPTaskBarBox();
     this.gradientPanel1     = new Syncfusion.Windows.Forms.Tools.GradientPanel();
     this.groupBox3          = new System.Windows.Forms.GroupBox();
     this.comboBox1          = new System.Windows.Forms.ComboBox();
     this.label3             = new System.Windows.Forms.Label();
     this.listBox1           = new System.Windows.Forms.ListBox();
     this.button1            = new System.Windows.Forms.Button();
     this.button2            = new System.Windows.Forms.Button();
     this.panel1             = new System.Windows.Forms.Panel();
     this.btnDelete          = new System.Windows.Forms.Button();
     this.btnNew             = new System.Windows.Forms.Button();
     ((System.ComponentModel.ISupportInitialize)(this.tabControlAdv1)).BeginInit();
     this.tabControlAdv1.SuspendLayout();
     this.tabPageAdv1.SuspendLayout();
     this.groupBox1.SuspendLayout();
     this.tabPageAdv2.SuspendLayout();
     this.tabPageAdv3.SuspendLayout();
     this.groupBox2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.xpTaskBar1)).BeginInit();
     this.xpTaskBar1.SuspendLayout();
     this.xpTaskBarBox1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gradientPanel1)).BeginInit();
     this.gradientPanel1.SuspendLayout();
     this.groupBox3.SuspendLayout();
     this.panel1.SuspendLayout();
     this.SuspendLayout();
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(8, 24);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(80, 24);
     this.label1.TabIndex = 0;
     this.label1.Text     = "Select  Field:";
     //
     // radioButton1
     //
     this.radioButton1.Checked         = true;
     this.radioButton1.Location        = new System.Drawing.Point(16, 16);
     this.radioButton1.Name            = "radioButton1";
     this.radioButton1.Size            = new System.Drawing.Size(48, 16);
     this.radioButton1.TabIndex        = 4;
     this.radioButton1.TabStop         = true;
     this.radioButton1.Text            = "Left";
     this.radioButton1.CheckedChanged += new System.EventHandler(this.radioButton1_CheckedChanged);
     //
     // radioButton2
     //
     this.radioButton2.Location        = new System.Drawing.Point(80, 16);
     this.radioButton2.Name            = "radioButton2";
     this.radioButton2.Size            = new System.Drawing.Size(56, 16);
     this.radioButton2.TabIndex        = 5;
     this.radioButton2.Text            = "Center";
     this.radioButton2.CheckedChanged += new System.EventHandler(this.radioButton2_CheckedChanged);
     //
     // radioButton3
     //
     this.radioButton3.Location        = new System.Drawing.Point(152, 16);
     this.radioButton3.Name            = "radioButton3";
     this.radioButton3.Size            = new System.Drawing.Size(56, 16);
     this.radioButton3.TabIndex        = 6;
     this.radioButton3.Text            = "Right";
     this.radioButton3.CheckedChanged += new System.EventHandler(this.radioButton3_CheckedChanged);
     //
     // tabControlAdv1
     //
     this.tabControlAdv1.ActiveTabFont = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold);
     this.tabControlAdv1.BackColor     = System.Drawing.Color.White;
     this.tabControlAdv1.BorderStyle   = System.Windows.Forms.BorderStyle.FixedSingle;
     this.tabControlAdv1.Controls.Add(this.tabPageAdv1);
     this.tabControlAdv1.Controls.Add(this.tabPageAdv2);
     this.tabControlAdv1.Controls.Add(this.tabPageAdv3);
     this.tabControlAdv1.FocusOnTabClick = false;
     this.tabControlAdv1.Location        = new System.Drawing.Point(0, 0);
     this.tabControlAdv1.Name            = "tabControlAdv1";
     this.tabControlAdv1.Size            = new System.Drawing.Size(256, 104);
     this.tabControlAdv1.TabIndex        = 8;
     this.tabControlAdv1.TabStyle        = typeof(Syncfusion.Windows.Forms.Tools.TabRendererOffice2003);
     //
     // tabPageAdv1
     //
     this.tabPageAdv1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(215)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
     this.tabPageAdv1.Controls.Add(this.groupBox1);
     this.tabPageAdv1.Location      = new System.Drawing.Point(1, 32);
     this.tabPageAdv1.Name          = "tabPageAdv1";
     this.tabPageAdv1.Size          = new System.Drawing.Size(254, 71);
     this.tabPageAdv1.TabIndex      = 1;
     this.tabPageAdv1.Text          = "Font";
     this.tabPageAdv1.ThemesEnabled = false;
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.checkBox3);
     this.groupBox1.Controls.Add(this.checkBox2);
     this.groupBox1.Controls.Add(this.checkBox1);
     this.groupBox1.Location = new System.Drawing.Point(8, 0);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(224, 48);
     this.groupBox1.TabIndex = 3;
     this.groupBox1.TabStop  = false;
     this.groupBox1.Text     = "Font Style";
     //
     // checkBox3
     //
     this.checkBox3.Font            = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Underline, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.checkBox3.Location        = new System.Drawing.Point(128, 16);
     this.checkBox3.Name            = "checkBox3";
     this.checkBox3.Size            = new System.Drawing.Size(72, 24);
     this.checkBox3.TabIndex        = 2;
     this.checkBox3.Text            = "Underline";
     this.checkBox3.CheckedChanged += new System.EventHandler(this.checkBox3_CheckedChanged);
     //
     // checkBox2
     //
     this.checkBox2.Font            = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.checkBox2.Location        = new System.Drawing.Point(72, 16);
     this.checkBox2.Name            = "checkBox2";
     this.checkBox2.Size            = new System.Drawing.Size(56, 24);
     this.checkBox2.TabIndex        = 1;
     this.checkBox2.Text            = "Italic";
     this.checkBox2.CheckedChanged += new System.EventHandler(this.checkBox2_CheckedChanged);
     //
     // checkBox1
     //
     this.checkBox1.Font            = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.checkBox1.Location        = new System.Drawing.Point(8, 16);
     this.checkBox1.Name            = "checkBox1";
     this.checkBox1.Size            = new System.Drawing.Size(64, 24);
     this.checkBox1.TabIndex        = 0;
     this.checkBox1.Text            = "Bold";
     this.checkBox1.CheckedChanged += new System.EventHandler(this.checkBox1_CheckedChanged);
     //
     // tabPageAdv2
     //
     this.tabPageAdv2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(215)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
     this.tabPageAdv2.Controls.Add(this.colorPickerButton2);
     this.tabPageAdv2.Controls.Add(this.colorPickerButton1);
     this.tabPageAdv2.Controls.Add(this.label7);
     this.tabPageAdv2.Controls.Add(this.label6);
     this.tabPageAdv2.Location      = new System.Drawing.Point(1, 32);
     this.tabPageAdv2.Name          = "tabPageAdv2";
     this.tabPageAdv2.Size          = new System.Drawing.Size(254, 71);
     this.tabPageAdv2.TabIndex      = 1;
     this.tabPageAdv2.Text          = "Color";
     this.tabPageAdv2.ThemesEnabled = false;
     //
     // colorPickerButton2
     //
     this.colorPickerButton2.BackColor          = System.Drawing.SystemColors.Control;
     this.colorPickerButton2.ColorUISize        = new System.Drawing.Size(208, 230);
     this.colorPickerButton2.FlatStyle          = System.Windows.Forms.FlatStyle.System;
     this.colorPickerButton2.Location           = new System.Drawing.Point(96, 40);
     this.colorPickerButton2.Name               = "colorPickerButton2";
     this.colorPickerButton2.SelectedColorGroup = Syncfusion.Windows.Forms.ColorUISelectedGroup.None;
     this.colorPickerButton2.Size               = new System.Drawing.Size(152, 24);
     this.colorPickerButton2.TabIndex           = 3;
     this.colorPickerButton2.Text               = "None";
     //
     // colorPickerButton1
     //
     this.colorPickerButton1.BackColor          = System.Drawing.SystemColors.Control;
     this.colorPickerButton1.ColorUISize        = new System.Drawing.Size(208, 230);
     this.colorPickerButton1.FlatStyle          = System.Windows.Forms.FlatStyle.System;
     this.colorPickerButton1.Location           = new System.Drawing.Point(96, 8);
     this.colorPickerButton1.Name               = "colorPickerButton1";
     this.colorPickerButton1.SelectedColorGroup = Syncfusion.Windows.Forms.ColorUISelectedGroup.None;
     this.colorPickerButton1.Size               = new System.Drawing.Size(152, 24);
     this.colorPickerButton1.TabIndex           = 2;
     this.colorPickerButton1.Text               = "None";
     //
     // label7
     //
     this.label7.Location = new System.Drawing.Point(8, 40);
     this.label7.Name     = "label7";
     this.label7.Size     = new System.Drawing.Size(72, 16);
     this.label7.TabIndex = 1;
     this.label7.Text     = "Background:";
     //
     // label6
     //
     this.label6.Location = new System.Drawing.Point(8, 8);
     this.label6.Name     = "label6";
     this.label6.Size     = new System.Drawing.Size(72, 23);
     this.label6.TabIndex = 0;
     this.label6.Text     = "Text:";
     //
     // tabPageAdv3
     //
     this.tabPageAdv3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(215)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
     this.tabPageAdv3.Controls.Add(this.groupBox2);
     this.tabPageAdv3.Location      = new System.Drawing.Point(1, 32);
     this.tabPageAdv3.Name          = "tabPageAdv3";
     this.tabPageAdv3.Size          = new System.Drawing.Size(254, 71);
     this.tabPageAdv3.TabIndex      = 2;
     this.tabPageAdv3.Text          = "Alignment";
     this.tabPageAdv3.ThemesEnabled = false;
     //
     // groupBox2
     //
     this.groupBox2.Controls.Add(this.radioButton1);
     this.groupBox2.Controls.Add(this.radioButton2);
     this.groupBox2.Controls.Add(this.radioButton3);
     this.groupBox2.Location = new System.Drawing.Point(8, 8);
     this.groupBox2.Name     = "groupBox2";
     this.groupBox2.Size     = new System.Drawing.Size(232, 48);
     this.groupBox2.TabIndex = 0;
     this.groupBox2.TabStop  = false;
     this.groupBox2.Text     = "Align";
     //
     // xpTaskBar1
     //
     this.xpTaskBar1.AutoPersistStates = true;
     this.xpTaskBar1.Controls.Add(this.xpTaskBarBox1);
     this.xpTaskBar1.Enabled     = false;
     this.xpTaskBar1.Location    = new System.Drawing.Point(8, 56);
     this.xpTaskBar1.MinimumSize = new System.Drawing.Size(0, 0);
     this.xpTaskBar1.Name        = "xpTaskBar1";
     this.xpTaskBar1.Size        = new System.Drawing.Size(264, 136);
     this.xpTaskBar1.TabIndex    = 8;
     //
     // xpTaskBarBox1
     //
     this.xpTaskBarBox1.Controls.Add(this.gradientPanel1);
     this.xpTaskBarBox1.HeaderBackColor           = System.Drawing.Color.Silver;
     this.xpTaskBarBox1.HeaderForeColor           = System.Drawing.SystemColors.ControlText;
     this.xpTaskBarBox1.HeaderImageIndex          = -1;
     this.xpTaskBarBox1.HitTaskBoxArea            = false;
     this.xpTaskBarBox1.ItemBackColor             = System.Drawing.Color.AliceBlue;
     this.xpTaskBarBox1.Location                  = new System.Drawing.Point(0, 0);
     this.xpTaskBarBox1.Name                      = "xpTaskBarBox1";
     this.xpTaskBarBox1.PreferredChildPanelHeight = 110;
     this.xpTaskBarBox1.Size                      = new System.Drawing.Size(264, 140);
     this.xpTaskBarBox1.TabIndex                  = 0;
     this.xpTaskBarBox1.Text                      = "Appearance";
     //
     // gradientPanel1
     //
     this.gradientPanel1.BackColor       = System.Drawing.Color.FromArgb(((int)(((byte)(246)))), ((int)(((byte)(246)))), ((int)(((byte)(252)))));
     this.gradientPanel1.BackgroundColor = new Syncfusion.Drawing.BrushInfo();
     this.gradientPanel1.BorderColor     = System.Drawing.Color.Black;
     this.gradientPanel1.Controls.Add(this.tabControlAdv1);
     this.gradientPanel1.Location = new System.Drawing.Point(2, 28);
     this.gradientPanel1.Name     = "gradientPanel1";
     this.gradientPanel1.Size     = new System.Drawing.Size(260, 110);
     this.gradientPanel1.TabIndex = 0;
     //
     // groupBox3
     //
     this.groupBox3.Controls.Add(this.comboBox1);
     this.groupBox3.Controls.Add(this.label1);
     this.groupBox3.Controls.Add(this.xpTaskBar1);
     this.groupBox3.Location = new System.Drawing.Point(144, 32);
     this.groupBox3.Name     = "groupBox3";
     this.groupBox3.Size     = new System.Drawing.Size(280, 200);
     this.groupBox3.TabIndex = 1;
     this.groupBox3.TabStop  = false;
     this.groupBox3.Text     = "Settings";
     //
     // comboBox1
     //
     this.comboBox1.Location = new System.Drawing.Point(104, 24);
     this.comboBox1.Name     = "comboBox1";
     this.comboBox1.Size     = new System.Drawing.Size(152, 21);
     this.comboBox1.TabIndex = 9;
     this.comboBox1.Text     = "(none)";
     //
     // label3
     //
     this.label3.Location = new System.Drawing.Point(8, 8);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(128, 24);
     this.label3.TabIndex = 2;
     this.label3.Text     = "Formats Created";
     //
     // listBox1
     //
     this.listBox1.Location = new System.Drawing.Point(8, 32);
     this.listBox1.Name     = "listBox1";
     this.listBox1.Size     = new System.Drawing.Size(128, 199);
     this.listBox1.TabIndex = 3;
     //
     // button1
     //
     this.button1.BackColor    = System.Drawing.SystemColors.Control;
     this.button1.DialogResult = System.Windows.Forms.DialogResult.OK;
     this.button1.FlatStyle    = System.Windows.Forms.FlatStyle.System;
     this.button1.Location     = new System.Drawing.Point(272, 256);
     this.button1.Name         = "button1";
     this.button1.Size         = new System.Drawing.Size(75, 23);
     this.button1.TabIndex     = 4;
     this.button1.Text         = "OK";
     this.button1.Click       += new System.EventHandler(this.button1_Click);
     //
     // button2
     //
     this.button2.BackColor    = System.Drawing.SystemColors.Control;
     this.button2.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.button2.FlatStyle    = System.Windows.Forms.FlatStyle.System;
     this.button2.Location     = new System.Drawing.Point(360, 256);
     this.button2.Name         = "button2";
     this.button2.Size         = new System.Drawing.Size(75, 23);
     this.button2.TabIndex     = 5;
     this.button2.Text         = "Cancel";
     //
     // panel1
     //
     this.panel1.Controls.Add(this.btnDelete);
     this.panel1.Controls.Add(this.btnNew);
     this.panel1.Controls.Add(this.listBox1);
     this.panel1.Controls.Add(this.label3);
     this.panel1.Controls.Add(this.groupBox3);
     this.panel1.Location = new System.Drawing.Point(8, 8);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(432, 240);
     this.panel1.TabIndex = 6;
     //
     // btnDelete
     //
     this.btnDelete.BackColor = System.Drawing.SystemColors.Control;
     this.btnDelete.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.btnDelete.Location  = new System.Drawing.Point(224, 8);
     this.btnDelete.Name      = "btnDelete";
     this.btnDelete.Size      = new System.Drawing.Size(75, 23);
     this.btnDelete.TabIndex  = 5;
     this.btnDelete.Text      = "Delete";
     this.btnDelete.Click    += new System.EventHandler(this.btnDelete_Click);
     //
     // btnNew
     //
     this.btnNew.BackColor = System.Drawing.SystemColors.Control;
     this.btnNew.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.btnNew.Location  = new System.Drawing.Point(144, 8);
     this.btnNew.Name      = "btnNew";
     this.btnNew.Size      = new System.Drawing.Size(75, 23);
     this.btnNew.TabIndex  = 4;
     this.btnNew.Text      = "New";
     this.btnNew.Click    += new System.EventHandler(this.btnNew_Click);
     //
     // FormatColumnsDialog
     //
     this.AcceptButton      = this.button1;
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.BackColor         = System.Drawing.Color.FromArgb(((int)(((byte)(209)))), ((int)(((byte)(209)))), ((int)(((byte)(223)))));
     this.CancelButton      = this.button2;
     this.ClientSize        = new System.Drawing.Size(450, 288);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.button2);
     this.Controls.Add(this.button1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "FormatColumnsDialog";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text            = "Format Columns";
     ((System.ComponentModel.ISupportInitialize)(this.tabControlAdv1)).EndInit();
     this.tabControlAdv1.ResumeLayout(false);
     this.tabPageAdv1.ResumeLayout(false);
     this.groupBox1.ResumeLayout(false);
     this.tabPageAdv2.ResumeLayout(false);
     this.tabPageAdv3.ResumeLayout(false);
     this.groupBox2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.xpTaskBar1)).EndInit();
     this.xpTaskBar1.ResumeLayout(false);
     this.xpTaskBarBox1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gradientPanel1)).EndInit();
     this.gradientPanel1.ResumeLayout(false);
     this.groupBox3.ResumeLayout(false);
     this.panel1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
 /// <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(PortfolioManager));
     this.PortfolioTabControl         = new Syncfusion.Windows.Forms.Tools.TabControlAdv();
     this.dashboardTabPage            = new Syncfusion.Windows.Forms.Tools.TabPageAdv();
     this.performanceAnalyzerTabPage  = new Syncfusion.Windows.Forms.Tools.TabPageAdv();
     this.loadingProgressBar          = new Syncfusion.Windows.Forms.Tools.ProgressBarAdv();
     this.contributionAnalyzerTabPage = new Syncfusion.Windows.Forms.Tools.TabPageAdv();
     this.imageList1      = new System.Windows.Forms.ImageList(this.components);
     this.formLayoutPanel = new System.Windows.Forms.TableLayoutPanel();
     ((System.ComponentModel.ISupportInitialize)(this.PortfolioTabControl)).BeginInit();
     this.PortfolioTabControl.SuspendLayout();
     this.performanceAnalyzerTabPage.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.loadingProgressBar)).BeginInit();
     this.formLayoutPanel.SuspendLayout();
     this.SuspendLayout();
     //
     // PortfolioTabControl
     //
     this.PortfolioTabControl.AccessibleDescription = "";
     this.PortfolioTabControl.AccessibleName        = "";
     this.PortfolioTabControl.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.PortfolioTabControl.BackColor       = System.Drawing.Color.White;
     this.PortfolioTabControl.BeforeTouchSize = new System.Drawing.Size(932, 558);
     this.PortfolioTabControl.BorderStyle     = System.Windows.Forms.BorderStyle.None;
     this.PortfolioTabControl.Controls.Add(this.dashboardTabPage);
     this.PortfolioTabControl.Controls.Add(this.performanceAnalyzerTabPage);
     this.PortfolioTabControl.Controls.Add(this.contributionAnalyzerTabPage);
     this.PortfolioTabControl.FixedSingleBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(161)))), ((int)(((byte)(226)))));
     this.PortfolioTabControl.Font        = new System.Drawing.Font("Segoe UI", 9F);
     this.PortfolioTabControl.ImageList   = this.imageList1;
     this.PortfolioTabControl.ImageOffset = 4;
     this.PortfolioTabControl.Location    = new System.Drawing.Point(3, 12);
     this.PortfolioTabControl.Name        = "PortfolioTabControl";
     this.PortfolioTabControl.Size        = new System.Drawing.Size(932, 558);
     this.PortfolioTabControl.TabIndex    = 1;
     this.PortfolioTabControl.TabStyle    = typeof(Syncfusion.Windows.Forms.Tools.TabRenderer2D);
     //
     // dashboardTabPage
     //
     this.dashboardTabPage.BorderStyle     = System.Windows.Forms.BorderStyle.FixedSingle;
     this.dashboardTabPage.ForeColor       = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(161)))), ((int)(((byte)(226)))));
     this.dashboardTabPage.Image           = null;
     this.dashboardTabPage.ImageIndex      = 0;
     this.dashboardTabPage.ImageSize       = new System.Drawing.Size(16, 16);
     this.dashboardTabPage.Location        = new System.Drawing.Point(0, 28);
     this.dashboardTabPage.Name            = "dashboardTabPage";
     this.dashboardTabPage.ShowCloseButton = true;
     this.dashboardTabPage.Size            = new System.Drawing.Size(932, 530);
     this.dashboardTabPage.TabFont         = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.dashboardTabPage.TabForeColor    = System.Drawing.SystemColors.ControlText;
     this.dashboardTabPage.TabIndex        = 1;
     this.dashboardTabPage.Text            = "Dashboard ";
     this.dashboardTabPage.ThemesEnabled   = false;
     //
     // performanceAnalyzerTabPage
     //
     this.performanceAnalyzerTabPage.BackColor   = System.Drawing.Color.White;
     this.performanceAnalyzerTabPage.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.performanceAnalyzerTabPage.Controls.Add(this.loadingProgressBar);
     this.performanceAnalyzerTabPage.ForeColor       = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(161)))), ((int)(((byte)(226)))));
     this.performanceAnalyzerTabPage.Image           = null;
     this.performanceAnalyzerTabPage.ImageIndex      = 2;
     this.performanceAnalyzerTabPage.ImageSize       = new System.Drawing.Size(16, 16);
     this.performanceAnalyzerTabPage.Location        = new System.Drawing.Point(0, 28);
     this.performanceAnalyzerTabPage.Name            = "performanceAnalyzerTabPage";
     this.performanceAnalyzerTabPage.ShowCloseButton = true;
     this.performanceAnalyzerTabPage.Size            = new System.Drawing.Size(932, 530);
     this.performanceAnalyzerTabPage.TabFont         = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.performanceAnalyzerTabPage.TabForeColor    = System.Drawing.SystemColors.ControlText;
     this.performanceAnalyzerTabPage.TabIndex        = 3;
     this.performanceAnalyzerTabPage.Text            = "Performance Analyzer ";
     this.performanceAnalyzerTabPage.ThemesEnabled   = false;
     //
     // loadingProgressBar
     //
     this.loadingProgressBar.BackGradientEndColor   = System.Drawing.Color.White;
     this.loadingProgressBar.BackGradientStartColor = System.Drawing.Color.LightGray;
     this.loadingProgressBar.BackgroundStyle        = Syncfusion.Windows.Forms.Tools.ProgressBarBackgroundStyles.Tube;
     this.loadingProgressBar.BackMultipleColors     = new System.Drawing.Color[0];
     this.loadingProgressBar.BackSegments           = false;
     this.loadingProgressBar.BackTubeEndColor       = System.Drawing.Color.White;
     this.loadingProgressBar.BackTubeStartColor     = System.Drawing.Color.LightGray;
     this.loadingProgressBar.Border3DStyle          = System.Windows.Forms.Border3DStyle.Adjust;
     this.loadingProgressBar.CustomText             = null;
     this.loadingProgressBar.CustomWaitingRender    = false;
     this.loadingProgressBar.FontColor          = System.Drawing.Color.OrangeRed;
     this.loadingProgressBar.ForegroundImage    = null;
     this.loadingProgressBar.ForeSegments       = false;
     this.loadingProgressBar.GradientEndColor   = System.Drawing.Color.LightSteelBlue;
     this.loadingProgressBar.GradientStartColor = System.Drawing.Color.WhiteSmoke;
     this.loadingProgressBar.Location           = new System.Drawing.Point(200, 213);
     this.loadingProgressBar.MultipleColors     = new System.Drawing.Color[0];
     this.loadingProgressBar.Name = "loadingProgressBar";
     this.loadingProgressBar.ProgressFallbackStyle = Syncfusion.Windows.Forms.Tools.ProgressBarStyles.WaitingGradient;
     this.loadingProgressBar.ProgressStyle         = Syncfusion.Windows.Forms.Tools.ProgressBarStyles.WaitingGradient;
     this.loadingProgressBar.SegmentWidth          = 35;
     this.loadingProgressBar.Size                    = new System.Drawing.Size(400, 23);
     this.loadingProgressBar.TabIndex                = 1;
     this.loadingProgressBar.TextStyle               = Syncfusion.Windows.Forms.Tools.ProgressBarTextStyles.Custom;
     this.loadingProgressBar.ThemesEnabled           = false;
     this.loadingProgressBar.TubeEndColor            = System.Drawing.Color.Black;
     this.loadingProgressBar.TubeStartColor          = System.Drawing.Color.Red;
     this.loadingProgressBar.UseWaitCursor           = true;
     this.loadingProgressBar.WaitingGradientEnabled  = true;
     this.loadingProgressBar.WaitingGradientInterval = 20;
     this.loadingProgressBar.WaitingGradientWidth    = 200;
     //
     // contributionAnalyzerTabPage
     //
     this.contributionAnalyzerTabPage.BorderStyle     = System.Windows.Forms.BorderStyle.FixedSingle;
     this.contributionAnalyzerTabPage.ForeColor       = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(161)))), ((int)(((byte)(226)))));
     this.contributionAnalyzerTabPage.Image           = null;
     this.contributionAnalyzerTabPage.ImageIndex      = 1;
     this.contributionAnalyzerTabPage.ImageSize       = new System.Drawing.Size(16, 16);
     this.contributionAnalyzerTabPage.Location        = new System.Drawing.Point(0, 28);
     this.contributionAnalyzerTabPage.Name            = "contributionAnalyzerTabPage";
     this.contributionAnalyzerTabPage.ShowCloseButton = true;
     this.contributionAnalyzerTabPage.Size            = new System.Drawing.Size(932, 530);
     this.contributionAnalyzerTabPage.TabFont         = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.contributionAnalyzerTabPage.TabForeColor    = System.Drawing.SystemColors.ControlText;
     this.contributionAnalyzerTabPage.TabIndex        = 2;
     this.contributionAnalyzerTabPage.Text            = "Contribution Analyzer ";
     this.contributionAnalyzerTabPage.ThemesEnabled   = false;
     //
     // imageList1
     //
     this.imageList1.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
     this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
     this.imageList1.Images.SetKeyName(0, "Dashboard.png");
     this.imageList1.Images.SetKeyName(1, "Contribution-Analyzer.png");
     this.imageList1.Images.SetKeyName(2, "Performance-Analyzer.png");
     //
     // formLayoutPanel
     //
     this.formLayoutPanel.BackColor   = System.Drawing.Color.White;
     this.formLayoutPanel.ColumnCount = 1;
     this.formLayoutPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
     this.formLayoutPanel.Controls.Add(this.PortfolioTabControl, 0, 1);
     this.formLayoutPanel.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.formLayoutPanel.Location = new System.Drawing.Point(0, 0);
     this.formLayoutPanel.Name     = "formLayoutPanel";
     this.formLayoutPanel.RowCount = 2;
     this.formLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 1.570681F));
     this.formLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 98.42932F));
     this.formLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
     this.formLayoutPanel.Size     = new System.Drawing.Size(938, 573);
     this.formLayoutPanel.TabIndex = 0;
     //
     // PortfolioManager
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.ClientSize          = new System.Drawing.Size(938, 573);
     this.Controls.Add(this.formLayoutPanel);
     this.MinimumSize = new System.Drawing.Size(550, 509);
     this.Name        = "PortfolioManager";
     this.Text        = "Portfolio Grid";
     this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
     ((System.ComponentModel.ISupportInitialize)(this.PortfolioTabControl)).EndInit();
     this.PortfolioTabControl.ResumeLayout(false);
     this.performanceAnalyzerTabPage.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.loadingProgressBar)).EndInit();
     this.formLayoutPanel.ResumeLayout(false);
     this.ResumeLayout(false);
 }
예제 #7
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(TabAlignmentFrame));
     try
     {
         System.Drawing.Icon ico = new System.Drawing.Icon(GetIconFile(@"common\Images\Grid\Icon\sfgrid1.ico"));
         this.Icon = ico;
     }
     catch { }
     this.panel1         = new System.Windows.Forms.Panel();
     this.checkBox1      = new System.Windows.Forms.CheckBox();
     this.panel2         = new System.Windows.Forms.Panel();
     this.panel4         = new System.Windows.Forms.Panel();
     this.tabControlAdv2 = new Syncfusion.Windows.Forms.Tools.TabControlAdv();
     this.tabPageAdv3    = new Syncfusion.Windows.Forms.Tools.TabPageAdv();
     this.label1         = new System.Windows.Forms.Label();
     this.tabPageAdv4    = new Syncfusion.Windows.Forms.Tools.TabPageAdv();
     this.label5         = new System.Windows.Forms.Label();
     this.tabControlAdv1 = new Syncfusion.Windows.Forms.Tools.TabControlAdv();
     this.tabPageAdv1    = new Syncfusion.Windows.Forms.Tools.TabPageAdv();
     this.label2         = new System.Windows.Forms.Label();
     this.tabPageAdv2    = new Syncfusion.Windows.Forms.Tools.TabPageAdv();
     this.label6         = new System.Windows.Forms.Label();
     this.panel3         = new System.Windows.Forms.Panel();
     this.tabControlAdv4 = new Syncfusion.Windows.Forms.Tools.TabControlAdv();
     this.tabPageAdv7    = new Syncfusion.Windows.Forms.Tools.TabPageAdv();
     this.label3         = new System.Windows.Forms.Label();
     this.tabPageAdv8    = new Syncfusion.Windows.Forms.Tools.TabPageAdv();
     this.label7         = new System.Windows.Forms.Label();
     this.tabControlAdv3 = new Syncfusion.Windows.Forms.Tools.TabControlAdv();
     this.tabPageAdv5    = new Syncfusion.Windows.Forms.Tools.TabPageAdv();
     this.label4         = new System.Windows.Forms.Label();
     this.tabPageAdv6    = new Syncfusion.Windows.Forms.Tools.TabPageAdv();
     this.label8         = new System.Windows.Forms.Label();
     this.gridLayout1    = new Syncfusion.Windows.Forms.Tools.GridLayout(this.components);
     this.gridLayout2    = new Syncfusion.Windows.Forms.Tools.GridLayout(this.components);
     this.gridLayout3    = new Syncfusion.Windows.Forms.Tools.GridLayout(this.components);
     this.panel1.SuspendLayout();
     this.panel2.SuspendLayout();
     this.panel4.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.tabControlAdv2)).BeginInit();
     this.tabControlAdv2.SuspendLayout();
     this.tabPageAdv3.SuspendLayout();
     this.tabPageAdv4.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.tabControlAdv1)).BeginInit();
     this.tabControlAdv1.SuspendLayout();
     this.tabPageAdv1.SuspendLayout();
     this.tabPageAdv2.SuspendLayout();
     this.panel3.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.tabControlAdv4)).BeginInit();
     this.tabControlAdv4.SuspendLayout();
     this.tabPageAdv7.SuspendLayout();
     this.tabPageAdv8.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.tabControlAdv3)).BeginInit();
     this.tabControlAdv3.SuspendLayout();
     this.tabPageAdv5.SuspendLayout();
     this.tabPageAdv6.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridLayout1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridLayout2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridLayout3)).BeginInit();
     this.SuspendLayout();
     //
     // panel1
     //
     this.panel1.Controls.Add(this.checkBox1);
     this.panel1.Dock     = System.Windows.Forms.DockStyle.Right;
     this.panel1.Font     = new System.Drawing.Font("Microsoft Sans Serif", 8.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.panel1.Location = new System.Drawing.Point(1218, 2);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(264, 690);
     this.panel1.TabIndex = 0;
     //
     // checkBox1
     //
     this.checkBox1.AutoSize = true;
     this.checkBox1.Font     = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.checkBox1.Location = new System.Drawing.Point(2, 75);
     this.checkBox1.Name     = "checkBox1";
     this.checkBox1.Size     = new System.Drawing.Size(227, 24);
     this.checkBox1.TabIndex = 0;
     this.checkBox1.Text     = "Rotate Text When Vertical";
     this.checkBox1.UseVisualStyleBackColor = true;
     this.checkBox1.CheckedChanged         += new System.EventHandler(this.checkBox1_CheckedChanged);
     //
     // panel2
     //
     this.panel2.Controls.Add(this.panel4);
     this.panel2.Controls.Add(this.panel3);
     this.panel2.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.panel2.Location = new System.Drawing.Point(2, 2);
     this.panel2.Name     = "panel2";
     this.panel2.Size     = new System.Drawing.Size(1216, 690);
     this.panel2.TabIndex = 1;
     //
     // panel4
     //
     this.panel4.Controls.Add(this.tabControlAdv2);
     this.panel4.Controls.Add(this.tabControlAdv1);
     this.panel4.Location = new System.Drawing.Point(0, 0);
     this.panel4.Name     = "panel4";
     this.gridLayout1.SetParticipateInLayout(this.panel4, true);
     this.panel4.Size     = new System.Drawing.Size(608, 690);
     this.panel4.TabIndex = 1;
     //
     // tabControlAdv2
     //
     this.tabControlAdv2.ActiveTabFont               = new System.Drawing.Font("Microsoft Sans Serif", 7.8F);
     this.tabControlAdv2.ActiveTabForeColor          = System.Drawing.Color.Empty;
     this.tabControlAdv2.BeforeTouchSize             = new System.Drawing.Size(533, 270);
     this.tabControlAdv2.CloseButtonForeColor        = System.Drawing.Color.Empty;
     this.tabControlAdv2.CloseButtonHoverForeColor   = System.Drawing.Color.Empty;
     this.tabControlAdv2.CloseButtonPressedForeColor = System.Drawing.Color.Empty;
     this.tabControlAdv2.Controls.Add(this.tabPageAdv3);
     this.tabControlAdv2.Controls.Add(this.tabPageAdv4);
     this.tabControlAdv2.InActiveTabForeColor = System.Drawing.Color.Empty;
     this.tabControlAdv2.Location             = new System.Drawing.Point(50, 50);
     this.tabControlAdv2.Name = "tabControlAdv2";
     this.gridLayout2.SetParticipateInLayout(this.tabControlAdv2, true);
     this.tabControlAdv2.SeparatorColor = System.Drawing.SystemColors.ControlDark;
     this.tabControlAdv2.ShowSeparator  = false;
     this.tabControlAdv2.Size           = new System.Drawing.Size(533, 270);
     this.tabControlAdv2.TabIndex       = 1;
     this.tabControlAdv2.TabStyle       = typeof(Syncfusion.Windows.Forms.Tools.TabRendererOffice2016Colorful);
     this.tabControlAdv2.ThemeName      = "TabRenderer3D";
     //
     // tabPageAdv3
     //
     this.tabPageAdv3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
     this.tabPageAdv3.Controls.Add(this.label1);
     this.tabPageAdv3.ForeColor       = System.Drawing.Color.FromArgb(((int)(((byte)(38)))), ((int)(((byte)(38)))), ((int)(((byte)(38)))));
     this.tabPageAdv3.Image           = null;
     this.tabPageAdv3.ImageSize       = new System.Drawing.Size(20, 20);
     this.tabPageAdv3.Location        = new System.Drawing.Point(1, 25);
     this.tabPageAdv3.Name            = "tabPageAdv3";
     this.tabPageAdv3.ShowCloseButton = true;
     this.tabPageAdv3.Size            = new System.Drawing.Size(530, 243);
     this.tabPageAdv3.TabIndex        = 1;
     this.tabPageAdv3.Text            = "Tab1";
     this.tabPageAdv3.ThemesEnabled   = false;
     //
     // label1
     //
     this.label1.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.label1.AutoSize  = true;
     this.label1.Location  = new System.Drawing.Point(123, 114);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(136, 17);
     this.label1.TabIndex  = 0;
     this.label1.Text      = "Tab Alignment : Top";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // tabPageAdv4
     //
     this.tabPageAdv4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
     this.tabPageAdv4.Controls.Add(this.label5);
     this.tabPageAdv4.ForeColor       = System.Drawing.Color.FromArgb(((int)(((byte)(38)))), ((int)(((byte)(38)))), ((int)(((byte)(38)))));
     this.tabPageAdv4.Image           = null;
     this.tabPageAdv4.ImageSize       = new System.Drawing.Size(20, 20);
     this.tabPageAdv4.Location        = new System.Drawing.Point(1, 25);
     this.tabPageAdv4.Name            = "tabPageAdv4";
     this.tabPageAdv4.ShowCloseButton = true;
     this.tabPageAdv4.Size            = new System.Drawing.Size(530, 243);
     this.tabPageAdv4.TabIndex        = 2;
     this.tabPageAdv4.Text            = "Tab2";
     this.tabPageAdv4.ThemesEnabled   = false;
     //
     // label5
     //
     this.label5.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.label5.AutoSize  = true;
     this.label5.Location  = new System.Drawing.Point(123, 113);
     this.label5.Name      = "label5";
     this.label5.Size      = new System.Drawing.Size(136, 17);
     this.label5.TabIndex  = 1;
     this.label5.Text      = "Tab Alignment : Top";
     this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // tabControlAdv1
     //
     this.tabControlAdv1.ActiveTabFont               = new System.Drawing.Font("Microsoft Sans Serif", 7.8F);
     this.tabControlAdv1.ActiveTabForeColor          = System.Drawing.Color.Empty;
     this.tabControlAdv1.Alignment                   = System.Windows.Forms.TabAlignment.Bottom;
     this.tabControlAdv1.BeforeTouchSize             = new System.Drawing.Size(533, 270);
     this.tabControlAdv1.CloseButtonForeColor        = System.Drawing.Color.Empty;
     this.tabControlAdv1.CloseButtonHoverForeColor   = System.Drawing.Color.Empty;
     this.tabControlAdv1.CloseButtonPressedForeColor = System.Drawing.Color.Empty;
     this.tabControlAdv1.Controls.Add(this.tabPageAdv1);
     this.tabControlAdv1.Controls.Add(this.tabPageAdv2);
     this.tabControlAdv1.InActiveTabForeColor = System.Drawing.Color.Empty;
     this.tabControlAdv1.Location             = new System.Drawing.Point(50, 370);
     this.tabControlAdv1.Name = "tabControlAdv1";
     this.gridLayout2.SetParticipateInLayout(this.tabControlAdv1, true);
     this.tabControlAdv1.SeparatorColor = System.Drawing.SystemColors.ControlDark;
     this.tabControlAdv1.ShowSeparator  = false;
     this.tabControlAdv1.Size           = new System.Drawing.Size(533, 270);
     this.tabControlAdv1.TabIndex       = 0;
     this.tabControlAdv1.TabStyle       = typeof(Syncfusion.Windows.Forms.Tools.TabRendererOffice2016Colorful);
     this.tabControlAdv1.ThemeName      = "TabRenderer3D";
     //
     // tabPageAdv1
     //
     this.tabPageAdv1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
     this.tabPageAdv1.Controls.Add(this.label2);
     this.tabPageAdv1.ForeColor       = System.Drawing.Color.FromArgb(((int)(((byte)(38)))), ((int)(((byte)(38)))), ((int)(((byte)(38)))));
     this.tabPageAdv1.Image           = null;
     this.tabPageAdv1.ImageSize       = new System.Drawing.Size(20, 20);
     this.tabPageAdv1.Location        = new System.Drawing.Point(1, 2);
     this.tabPageAdv1.Name            = "tabPageAdv1";
     this.tabPageAdv1.ShowCloseButton = true;
     this.tabPageAdv1.Size            = new System.Drawing.Size(530, 243);
     this.tabPageAdv1.TabIndex        = 1;
     this.tabPageAdv1.Text            = "Tab1";
     this.tabPageAdv1.ThemesEnabled   = false;
     //
     // label2
     //
     this.label2.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.label2.AutoSize = true;
     this.label2.Location = new System.Drawing.Point(123, 113);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(155, 17);
     this.label2.TabIndex = 1;
     this.label2.Text     = "Tab Alignment : Bottom";
     //
     // tabPageAdv2
     //
     this.tabPageAdv2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
     this.tabPageAdv2.Controls.Add(this.label6);
     this.tabPageAdv2.ForeColor       = System.Drawing.Color.FromArgb(((int)(((byte)(38)))), ((int)(((byte)(38)))), ((int)(((byte)(38)))));
     this.tabPageAdv2.Image           = null;
     this.tabPageAdv2.ImageSize       = new System.Drawing.Size(20, 20);
     this.tabPageAdv2.Location        = new System.Drawing.Point(1, 2);
     this.tabPageAdv2.Name            = "tabPageAdv2";
     this.tabPageAdv2.ShowCloseButton = true;
     this.tabPageAdv2.Size            = new System.Drawing.Size(530, 243);
     this.tabPageAdv2.TabIndex        = 2;
     this.tabPageAdv2.Text            = "Tab2";
     this.tabPageAdv2.ThemesEnabled   = false;
     //
     // label6
     //
     this.label6.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.label6.AutoSize = true;
     this.label6.Location = new System.Drawing.Point(123, 113);
     this.label6.Name     = "label6";
     this.label6.Size     = new System.Drawing.Size(155, 17);
     this.label6.TabIndex = 2;
     this.label6.Text     = "Tab Alignment : Bottom";
     //
     // panel3
     //
     this.panel3.Controls.Add(this.tabControlAdv4);
     this.panel3.Controls.Add(this.tabControlAdv3);
     this.panel3.Location = new System.Drawing.Point(608, 0);
     this.panel3.Name     = "panel3";
     this.gridLayout1.SetParticipateInLayout(this.panel3, true);
     this.panel3.Size     = new System.Drawing.Size(608, 690);
     this.panel3.TabIndex = 0;
     //
     // tabControlAdv4
     //
     this.tabControlAdv4.ActiveTabFont               = new System.Drawing.Font("Microsoft Sans Serif", 7.8F);
     this.tabControlAdv4.ActiveTabForeColor          = System.Drawing.Color.Empty;
     this.tabControlAdv4.Alignment                   = System.Windows.Forms.TabAlignment.Left;
     this.tabControlAdv4.BeforeTouchSize             = new System.Drawing.Size(241, 590);
     this.tabControlAdv4.CloseButtonForeColor        = System.Drawing.Color.Empty;
     this.tabControlAdv4.CloseButtonHoverForeColor   = System.Drawing.Color.Empty;
     this.tabControlAdv4.CloseButtonPressedForeColor = System.Drawing.Color.Empty;
     this.tabControlAdv4.Controls.Add(this.tabPageAdv7);
     this.tabControlAdv4.Controls.Add(this.tabPageAdv8);
     this.tabControlAdv4.InActiveTabForeColor = System.Drawing.Color.Empty;
     this.tabControlAdv4.Location             = new System.Drawing.Point(26, 50);
     this.tabControlAdv4.Name = "tabControlAdv4";
     this.gridLayout3.SetParticipateInLayout(this.tabControlAdv4, true);
     this.tabControlAdv4.SeparatorColor = System.Drawing.SystemColors.ControlDark;
     this.tabControlAdv4.ShowSeparator  = false;
     this.tabControlAdv4.Size           = new System.Drawing.Size(241, 590);
     this.tabControlAdv4.TabIndex       = 2;
     this.tabControlAdv4.TabStyle       = typeof(Syncfusion.Windows.Forms.Tools.TabRendererOffice2016Colorful);
     this.tabControlAdv4.ThemeName      = "TabRenderer3D";
     //
     // tabPageAdv7
     //
     this.tabPageAdv7.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
     this.tabPageAdv7.Controls.Add(this.label3);
     this.tabPageAdv7.ForeColor       = System.Drawing.Color.FromArgb(((int)(((byte)(38)))), ((int)(((byte)(38)))), ((int)(((byte)(38)))));
     this.tabPageAdv7.Image           = null;
     this.tabPageAdv7.ImageSize       = new System.Drawing.Size(20, 20);
     this.tabPageAdv7.Location        = new System.Drawing.Point(27, 1);
     this.tabPageAdv7.Name            = "tabPageAdv7";
     this.tabPageAdv7.ShowCloseButton = true;
     this.tabPageAdv7.Size            = new System.Drawing.Size(213, 587);
     this.tabPageAdv7.TabIndex        = 1;
     this.tabPageAdv7.Text            = "Tab1";
     this.tabPageAdv7.ThemesEnabled   = false;
     //
     // label3
     //
     this.label3.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.label3.AutoSize = true;
     this.label3.Location = new System.Drawing.Point(16, 285);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(135, 17);
     this.label3.TabIndex = 2;
     this.label3.Text     = "Tab Alignment : Left";
     //
     // tabPageAdv8
     //
     this.tabPageAdv8.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
     this.tabPageAdv8.Controls.Add(this.label7);
     this.tabPageAdv8.ForeColor       = System.Drawing.Color.FromArgb(((int)(((byte)(38)))), ((int)(((byte)(38)))), ((int)(((byte)(38)))));
     this.tabPageAdv8.Image           = null;
     this.tabPageAdv8.ImageSize       = new System.Drawing.Size(20, 20);
     this.tabPageAdv8.Location        = new System.Drawing.Point(27, 1);
     this.tabPageAdv8.Name            = "tabPageAdv8";
     this.tabPageAdv8.ShowCloseButton = true;
     this.tabPageAdv8.Size            = new System.Drawing.Size(213, 587);
     this.tabPageAdv8.TabIndex        = 2;
     this.tabPageAdv8.Text            = "Tab2";
     this.tabPageAdv8.ThemesEnabled   = false;
     //
     // label7
     //
     this.label7.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.label7.AutoSize = true;
     this.label7.Location = new System.Drawing.Point(16, 285);
     this.label7.Name     = "label7";
     this.label7.Size     = new System.Drawing.Size(135, 17);
     this.label7.TabIndex = 3;
     this.label7.Text     = "Tab Alignment : Left";
     //
     // tabControlAdv3
     //
     this.tabControlAdv3.ActiveTabFont               = new System.Drawing.Font("Microsoft Sans Serif", 7.8F);
     this.tabControlAdv3.ActiveTabForeColor          = System.Drawing.Color.Empty;
     this.tabControlAdv3.Alignment                   = System.Windows.Forms.TabAlignment.Right;
     this.tabControlAdv3.BeforeTouchSize             = new System.Drawing.Size(241, 590);
     this.tabControlAdv3.CloseButtonForeColor        = System.Drawing.Color.Empty;
     this.tabControlAdv3.CloseButtonHoverForeColor   = System.Drawing.Color.Empty;
     this.tabControlAdv3.CloseButtonPressedForeColor = System.Drawing.Color.Empty;
     this.tabControlAdv3.Controls.Add(this.tabPageAdv5);
     this.tabControlAdv3.Controls.Add(this.tabPageAdv6);
     this.tabControlAdv3.InActiveTabForeColor = System.Drawing.Color.Empty;
     this.tabControlAdv3.Location             = new System.Drawing.Point(317, 50);
     this.tabControlAdv3.Name = "tabControlAdv3";
     this.gridLayout3.SetParticipateInLayout(this.tabControlAdv3, true);
     this.tabControlAdv3.SeparatorColor = System.Drawing.SystemColors.ControlDark;
     this.tabControlAdv3.ShowSeparator  = false;
     this.tabControlAdv3.Size           = new System.Drawing.Size(241, 590);
     this.tabControlAdv3.TabIndex       = 1;
     this.tabControlAdv3.TabStyle       = typeof(Syncfusion.Windows.Forms.Tools.TabRendererOffice2016Colorful);
     this.tabControlAdv3.ThemeName      = "TabRenderer3D";
     //
     // tabPageAdv5
     //
     this.tabPageAdv5.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
     this.tabPageAdv5.Controls.Add(this.label4);
     this.tabPageAdv5.ForeColor       = System.Drawing.Color.FromArgb(((int)(((byte)(38)))), ((int)(((byte)(38)))), ((int)(((byte)(38)))));
     this.tabPageAdv5.Image           = null;
     this.tabPageAdv5.ImageSize       = new System.Drawing.Size(20, 20);
     this.tabPageAdv5.Location        = new System.Drawing.Point(2, 1);
     this.tabPageAdv5.Name            = "tabPageAdv5";
     this.tabPageAdv5.ShowCloseButton = true;
     this.tabPageAdv5.Size            = new System.Drawing.Size(213, 587);
     this.tabPageAdv5.TabIndex        = 1;
     this.tabPageAdv5.Text            = "Tab1";
     this.tabPageAdv5.ThemesEnabled   = false;
     //
     // label4
     //
     this.label4.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.label4.AutoSize = true;
     this.label4.Location = new System.Drawing.Point(12, 285);
     this.label4.Name     = "label4";
     this.label4.Size     = new System.Drawing.Size(144, 17);
     this.label4.TabIndex = 2;
     this.label4.Text     = "Tab Alignment : Right";
     //
     // tabPageAdv6
     //
     this.tabPageAdv6.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
     this.tabPageAdv6.Controls.Add(this.label8);
     this.tabPageAdv6.ForeColor       = System.Drawing.Color.FromArgb(((int)(((byte)(38)))), ((int)(((byte)(38)))), ((int)(((byte)(38)))));
     this.tabPageAdv6.Image           = null;
     this.tabPageAdv6.ImageSize       = new System.Drawing.Size(20, 20);
     this.tabPageAdv6.Location        = new System.Drawing.Point(2, 1);
     this.tabPageAdv6.Name            = "tabPageAdv6";
     this.tabPageAdv6.ShowCloseButton = true;
     this.tabPageAdv6.Size            = new System.Drawing.Size(213, 587);
     this.tabPageAdv6.TabIndex        = 2;
     this.tabPageAdv6.Text            = "Tab2";
     this.tabPageAdv6.ThemesEnabled   = false;
     //
     // label8
     //
     this.label8.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.label8.AutoSize = true;
     this.label8.Location = new System.Drawing.Point(12, 285);
     this.label8.Name     = "label8";
     this.label8.Size     = new System.Drawing.Size(144, 17);
     this.label8.TabIndex = 3;
     this.label8.Text     = "Tab Alignment : Right";
     //
     // gridLayout1
     //
     this.gridLayout1.Columns          = 2;
     this.gridLayout1.ContainerControl = this.panel2;
     this.gridLayout1.Rows             = 1;
     //
     // gridLayout2
     //
     this.gridLayout2.BottomMargin     = 50;
     this.gridLayout2.Columns          = 1;
     this.gridLayout2.ContainerControl = this.panel4;
     this.gridLayout2.HGap             = 50;
     this.gridLayout2.HorzFarMargin    = 25;
     this.gridLayout2.HorzNearMargin   = 50;
     this.gridLayout2.Rows             = 2;
     this.gridLayout2.TopMargin        = 50;
     this.gridLayout2.VGap             = 50;
     //
     // gridLayout3
     //
     this.gridLayout3.BottomMargin     = 50;
     this.gridLayout3.Columns          = 2;
     this.gridLayout3.ContainerControl = this.panel3;
     this.gridLayout3.HGap             = 50;
     this.gridLayout3.HorzFarMargin    = 50;
     this.gridLayout3.HorzNearMargin   = 25;
     this.gridLayout3.Rows             = 1;
     this.gridLayout3.TopMargin        = 50;
     //
     // TabAlignmentFrame
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(1484, 694);
     this.Controls.Add(this.panel2);
     this.Controls.Add(this.panel1);
     this.MaximizeBox   = false;
     this.MaximumSize   = new System.Drawing.Size(1500, 733);
     this.MinimumSize   = new System.Drawing.Size(1500, 733);
     this.Name          = "TabAlignmentFrame";
     this.Text          = "Tab Alignment";
     this.StartPosition = FormStartPosition.CenterScreen;
     this.panel1.ResumeLayout(false);
     this.panel1.PerformLayout();
     this.panel2.ResumeLayout(false);
     this.panel4.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.tabControlAdv2)).EndInit();
     this.tabControlAdv2.ResumeLayout(false);
     this.tabPageAdv3.ResumeLayout(false);
     this.tabPageAdv3.PerformLayout();
     this.tabPageAdv4.ResumeLayout(false);
     this.tabPageAdv4.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.tabControlAdv1)).EndInit();
     this.tabControlAdv1.ResumeLayout(false);
     this.tabPageAdv1.ResumeLayout(false);
     this.tabPageAdv1.PerformLayout();
     this.tabPageAdv2.ResumeLayout(false);
     this.tabPageAdv2.PerformLayout();
     this.panel3.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.tabControlAdv4)).EndInit();
     this.tabControlAdv4.ResumeLayout(false);
     this.tabPageAdv7.ResumeLayout(false);
     this.tabPageAdv7.PerformLayout();
     this.tabPageAdv8.ResumeLayout(false);
     this.tabPageAdv8.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.tabControlAdv3)).EndInit();
     this.tabControlAdv3.ResumeLayout(false);
     this.tabPageAdv5.ResumeLayout(false);
     this.tabPageAdv5.PerformLayout();
     this.tabPageAdv6.ResumeLayout(false);
     this.tabPageAdv6.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridLayout1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridLayout2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridLayout3)).EndInit();
     this.ResumeLayout(false);
 }
예제 #8
0
        public void AddViewerToTab(XmlDocument xdoc, string title)
        {
            Syncfusion.Windows.Forms.Tools.TabPageAdv newTab = new Syncfusion.Windows.Forms.Tools.TabPageAdv();
            tabControlAdv1.TabPages.Add(newTab);

            XmlViewer xv = new XmlViewer();
            xv.EditText = xdoc.InnerXml;
            xv.Dock = DockStyle.Fill;

            tabControlAdv1.TabPages[tabControlAdv1.TabCount - 1].Controls.Add(xv);
            tabControlAdv1.TabPages[tabControlAdv1.TabCount - 1].Text = title;
            tabControlAdv1.SelectedTab = tabControlAdv1.TabPages[tabControlAdv1.TabCount - 1];
        }