Ejemplo 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()
 {
     this.c1Sizer1 = new C1.Win.C1Sizer.C1Sizer();
     ((System.ComponentModel.ISupportInitialize)(this.c1Sizer1)).BeginInit();
     this.SuspendLayout();
     //
     // c1Sizer1
     //
     this.c1Sizer1.AllowDrop      = true;
     this.c1Sizer1.Dock           = System.Windows.Forms.DockStyle.Fill;
     this.c1Sizer1.GridDefinition = "97.1929824561404:False:False;\t97.7777777777778:False:False;";
     this.c1Sizer1.Name           = "c1Sizer1";
     this.c1Sizer1.Size           = new System.Drawing.Size(360, 285);
     this.c1Sizer1.TabIndex       = 0;
     this.c1Sizer1.TabStop        = false;
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(360, 285);
     this.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.c1Sizer1
     });
     this.Name          = "Form1";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Form1";
     this.Load         += new System.EventHandler(this.Form1_Load);
     ((System.ComponentModel.ISupportInitialize)(this.c1Sizer1)).EndInit();
     this.ResumeLayout(false);
 }
Ejemplo n.º 2
0
        void Sizer_Dimensionar(C1.Win.C1Sizer.C1Sizer objSizer, int n_Ancho, int n_Alto)
        {
            objSizer.Width  = n_Ancho;
            objSizer.Height = n_Alto - 3;

            panel1.Width  = objSizer.Grid.Columns[1].Size - 10;
            panel1.Height = objSizer.Grid.Rows[1].Size - 20;

            FgItems.Width  = panel1.Width;
            FgItems.Height = panel1.Height - 56;
        }
Ejemplo n.º 3
0
 void Dimensionar(C1.Win.C1Sizer.C1Sizer dokTab, int intAlto, int intAncho)
 {
     dokTab.Height = intAlto;
     dokTab.Width  = intAncho;
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.Windows.Forms.ListViewItem listViewItem1 = new System.Windows.Forms.ListViewItem(new string[] {
         "",
         "",
         "ComponentOne",
         "Welcome"
     }, 4, System.Drawing.SystemColors.WindowText, System.Drawing.SystemColors.Window, new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))));
     System.Windows.Forms.ListViewItem listViewItem2 = new System.Windows.Forms.ListViewItem(new string[] {
         "",
         "",
         "Headquarters",
         "Improve productivity"
     }, 5, System.Drawing.SystemColors.WindowText, System.Drawing.SystemColors.Window, new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))));
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
     System.Windows.Forms.TreeNode treeNode1 = new System.Windows.Forms.TreeNode("Family");
     System.Windows.Forms.TreeNode treeNode2 = new System.Windows.Forms.TreeNode("Taxes");
     System.Windows.Forms.TreeNode treeNode3 = new System.Windows.Forms.TreeNode("Vacation");
     System.Windows.Forms.TreeNode treeNode4 = new System.Windows.Forms.TreeNode("Archive", new System.Windows.Forms.TreeNode[] {
         treeNode1,
         treeNode2,
         treeNode3
     });
     System.Windows.Forms.TreeNode treeNode5 = new System.Windows.Forms.TreeNode("Office");
     System.Windows.Forms.TreeNode treeNode6 = new System.Windows.Forms.TreeNode("Home");
     System.Windows.Forms.TreeNode treeNode7 = new System.Windows.Forms.TreeNode("Todo", new System.Windows.Forms.TreeNode[] {
         treeNode5,
         treeNode6
     });
     System.Windows.Forms.TreeNode treeNode8  = new System.Windows.Forms.TreeNode("Monday");
     System.Windows.Forms.TreeNode treeNode9  = new System.Windows.Forms.TreeNode("Tuesday");
     System.Windows.Forms.TreeNode treeNode10 = new System.Windows.Forms.TreeNode("Wednesday");
     System.Windows.Forms.TreeNode treeNode11 = new System.Windows.Forms.TreeNode("Thursday");
     System.Windows.Forms.TreeNode treeNode12 = new System.Windows.Forms.TreeNode("Friday");
     System.Windows.Forms.TreeNode treeNode13 = new System.Windows.Forms.TreeNode("Weekend");
     System.Windows.Forms.TreeNode treeNode14 = new System.Windows.Forms.TreeNode("Agenda", new System.Windows.Forms.TreeNode[] {
         treeNode8,
         treeNode9,
         treeNode10,
         treeNode11,
         treeNode12,
         treeNode13
     });
     this.lviMessages   = new System.Windows.Forms.ListView();
     this.columnHeader1 = new System.Windows.Forms.ColumnHeader();
     this.columnHeader2 = new System.Windows.Forms.ColumnHeader();
     this.columnHeader3 = new System.Windows.Forms.ColumnHeader();
     this.columnHeader4 = new System.Windows.Forms.ColumnHeader();
     this.imageList1    = new System.Windows.Forms.ImageList(this.components);
     this.trvFolders    = new System.Windows.Forms.TreeView();
     this.lblFolders    = new System.Windows.Forms.Label();
     this.rtxMessage    = new System.Windows.Forms.RichTextBox();
     this.lblFrom       = new System.Windows.Forms.Label();
     this.c1Sizer1      = new C1.Win.C1Sizer.C1Sizer();
     this.panel1        = new System.Windows.Forms.Panel();
     this.lblInbox      = new System.Windows.Forms.Label();
     ((System.ComponentModel.ISupportInitialize)(this.c1Sizer1)).BeginInit();
     this.c1Sizer1.SuspendLayout();
     this.panel1.SuspendLayout();
     this.SuspendLayout();
     //
     // lviMessages
     //
     this.lviMessages.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
         this.columnHeader1,
         this.columnHeader2,
         this.columnHeader3,
         this.columnHeader4
     });
     this.lviMessages.FullRowSelect = true;
     this.lviMessages.Items.AddRange(new System.Windows.Forms.ListViewItem[] {
         listViewItem1,
         listViewItem2
     });
     this.lviMessages.Location       = new System.Drawing.Point(145, 28);
     this.lviMessages.Name           = "lviMessages";
     this.lviMessages.Size           = new System.Drawing.Size(421, 117);
     this.lviMessages.SmallImageList = this.imageList1;
     this.lviMessages.TabIndex       = 2;
     this.lviMessages.UseCompatibleStateImageBehavior = false;
     this.lviMessages.View = System.Windows.Forms.View.Details;
     //
     // columnHeader1
     //
     this.columnHeader1.Text  = "!";
     this.columnHeader1.Width = 18;
     //
     // columnHeader2
     //
     this.columnHeader2.Text      = "c";
     this.columnHeader2.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
     this.columnHeader2.Width     = 20;
     //
     // columnHeader3
     //
     this.columnHeader3.Text  = "From";
     this.columnHeader3.Width = 120;
     //
     // columnHeader4
     //
     this.columnHeader4.Text  = "Subject";
     this.columnHeader4.Width = 500;
     //
     // imageList1
     //
     this.imageList1.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
     this.imageList1.TransparentColor = System.Drawing.Color.Red;
     this.imageList1.Images.SetKeyName(0, "");
     this.imageList1.Images.SetKeyName(1, "");
     this.imageList1.Images.SetKeyName(2, "");
     this.imageList1.Images.SetKeyName(3, "");
     this.imageList1.Images.SetKeyName(4, "");
     this.imageList1.Images.SetKeyName(5, "");
     //
     // trvFolders
     //
     this.trvFolders.ImageIndex = 0;
     this.trvFolders.ImageList  = this.imageList1;
     this.trvFolders.Location   = new System.Drawing.Point(2, 46);
     this.trvFolders.Name       = "trvFolders";
     treeNode1.Name             = "";
     treeNode1.Text             = "Family";
     treeNode2.Name             = "";
     treeNode2.Text             = "Taxes";
     treeNode3.Name             = "";
     treeNode3.Text             = "Vacation";
     treeNode4.Name             = "";
     treeNode4.Text             = "Archive";
     treeNode5.Name             = "";
     treeNode5.Text             = "Office";
     treeNode6.Name             = "";
     treeNode6.Text             = "Home";
     treeNode7.Name             = "";
     treeNode7.Text             = "Todo";
     treeNode8.Name             = "";
     treeNode8.Text             = "Monday";
     treeNode9.Name             = "";
     treeNode9.Text             = "Tuesday";
     treeNode10.Name            = "";
     treeNode10.Text            = "Wednesday";
     treeNode11.Name            = "";
     treeNode11.Text            = "Thursday";
     treeNode12.Name            = "";
     treeNode12.Text            = "Friday";
     treeNode13.Name            = "";
     treeNode13.Text            = "Weekend";
     treeNode14.Name            = "";
     treeNode14.Text            = "Agenda";
     this.trvFolders.Nodes.AddRange(new System.Windows.Forms.TreeNode[] {
         treeNode4,
         treeNode7,
         treeNode14
     });
     this.trvFolders.SelectedImageIndex = 0;
     this.trvFolders.Size     = new System.Drawing.Size(139, 293);
     this.trvFolders.TabIndex = 1;
     //
     // lblFolders
     //
     this.lblFolders.Font      = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblFolders.Location  = new System.Drawing.Point(2, 28);
     this.lblFolders.Name      = "lblFolders";
     this.lblFolders.Size      = new System.Drawing.Size(139, 14);
     this.lblFolders.TabIndex  = 0;
     this.lblFolders.Text      = " Folders";
     this.lblFolders.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // rtxMessage
     //
     this.rtxMessage.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.rtxMessage.Font     = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.rtxMessage.Location = new System.Drawing.Point(0, 22);
     this.rtxMessage.Name     = "rtxMessage";
     this.rtxMessage.Size     = new System.Drawing.Size(421, 168);
     this.rtxMessage.TabIndex = 1;
     this.rtxMessage.Text     = resources.GetString("rtxMessage.Text");
     //
     // lblFrom
     //
     this.lblFrom.BackColor = System.Drawing.Color.Navy;
     this.lblFrom.Dock      = System.Windows.Forms.DockStyle.Top;
     this.lblFrom.Font      = new System.Drawing.Font("Tahoma", 8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblFrom.ForeColor = System.Drawing.Color.White;
     this.lblFrom.Location  = new System.Drawing.Point(0, 0);
     this.lblFrom.Name      = "lblFrom";
     this.lblFrom.Size      = new System.Drawing.Size(421, 22);
     this.lblFrom.TabIndex  = 0;
     this.lblFrom.Text      = " From: ComponentOne    To: Client    Subject: C1Sizer";
     this.lblFrom.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // c1Sizer1
     //
     this.c1Sizer1.Padding = new Padding(2);
     this.c1Sizer1.Controls.Add(this.panel1);
     this.c1Sizer1.Controls.Add(this.lblFolders);
     this.c1Sizer1.Controls.Add(this.trvFolders);
     this.c1Sizer1.Controls.Add(this.lviMessages);
     this.c1Sizer1.Controls.Add(this.lblInbox);
     this.c1Sizer1.Dock           = System.Windows.Forms.DockStyle.Fill;
     this.c1Sizer1.GridDefinition = "6.45161290322581:False:True;4.10557184750733:False:True;29.0322580645161:True:Fal" +
                                    "se;55.7184750733138:False:False;\t24.4718309859155:True:False;74.1197183098592:Fa" +
                                    "lse:False;";
     this.c1Sizer1.ImeMode  = System.Windows.Forms.ImeMode.NoControl;
     this.c1Sizer1.Location = new System.Drawing.Point(0, 0);
     this.c1Sizer1.Name     = "c1Sizer1";
     this.c1Sizer1.Size     = new System.Drawing.Size(568, 341);
     this.c1Sizer1.TabIndex = 3;
     this.c1Sizer1.TabStop  = false;
     //
     // panel1
     //
     this.panel1.Controls.Add(this.rtxMessage);
     this.panel1.Controls.Add(this.lblFrom);
     this.panel1.Location = new System.Drawing.Point(145, 149);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(421, 190);
     this.panel1.TabIndex = 3;
     //
     // lblInbox
     //
     this.lblInbox.BackColor = System.Drawing.SystemColors.ControlDark;
     this.lblInbox.Font      = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblInbox.ForeColor = System.Drawing.SystemColors.HighlightText;
     this.lblInbox.Location  = new System.Drawing.Point(2, 2);
     this.lblInbox.Name      = "lblInbox";
     this.lblInbox.Size      = new System.Drawing.Size(564, 22);
     this.lblInbox.TabIndex  = 0;
     this.lblInbox.Text      = "Inbox";
     this.lblInbox.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(568, 341);
     this.Controls.Add(this.c1Sizer1);
     this.Name          = "Form1";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "C1Sizer: Fake Outlook Express";
     ((System.ComponentModel.ISupportInitialize)(this.c1Sizer1)).EndInit();
     this.c1Sizer1.ResumeLayout(false);
     this.panel1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Ejemplo n.º 5
0
 void Sizer_Posicionar(C1.Win.C1Sizer.C1Sizer objSizer, int n_PosX, int n_PosY)
 {
     objSizer.Left = n_PosX;
     objSizer.Top  = n_PosY;
 }
Ejemplo n.º 6
0
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            this.components = new System.ComponentModel.Container();
            System.Resources.ResourceManager  resources     = new System.Resources.ResourceManager(typeof(Form1));
            System.Windows.Forms.ListViewItem listViewItem1 = new System.Windows.Forms.ListViewItem(new System.Windows.Forms.ListViewItem.ListViewSubItem[] {
                new System.Windows.Forms.ListViewItem.ListViewSubItem(null, "C1FlexGrid", System.Drawing.SystemColors.WindowText, System.Drawing.SystemColors.Control, new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))))
            }, 0);
            System.Windows.Forms.ListViewItem listViewItem2 = new System.Windows.Forms.ListViewItem(new System.Windows.Forms.ListViewItem.ListViewSubItem[] {
                new System.Windows.Forms.ListViewItem.ListViewSubItem(null, "C1AddToCart", System.Drawing.SystemColors.WindowText, System.Drawing.SystemColors.Control, new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))))
            }, 1);
            System.Windows.Forms.ListViewItem listViewItem3 = new System.Windows.Forms.ListViewItem(new System.Windows.Forms.ListViewItem.ListViewSubItem[] {
                new System.Windows.Forms.ListViewItem.ListViewSubItem(null, "C1CheckoutCart", System.Drawing.SystemColors.WindowText, System.Drawing.SystemColors.Control, new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))))
            }, 2);
            System.Windows.Forms.ListViewItem listViewItem4 = new System.Windows.Forms.ListViewItem(new System.Windows.Forms.ListViewItem.ListViewSubItem[] {
                new System.Windows.Forms.ListViewItem.ListViewSubItem(null, "C1PurchaseItem", System.Drawing.SystemColors.WindowText, System.Drawing.SystemColors.Control, new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))))
            }, 3);
            System.Windows.Forms.ListViewItem listViewItem5 = new System.Windows.Forms.ListViewItem(new System.Windows.Forms.ListViewItem.ListViewSubItem[] {
                new System.Windows.Forms.ListViewItem.ListViewSubItem(null, "C1Report", System.Drawing.SystemColors.WindowText, System.Drawing.SystemColors.Control, new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))))
            }, 4);
            System.Windows.Forms.ListViewItem listViewItem6 = new System.Windows.Forms.ListViewItem(new System.Windows.Forms.ListViewItem.ListViewSubItem[] {
                new System.Windows.Forms.ListViewItem.ListViewSubItem(null, "C1ReportDesigner", System.Drawing.SystemColors.WindowText, System.Drawing.SystemColors.Control, new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))))
            }, 5);
            System.Windows.Forms.ListViewItem listViewItem7 = new System.Windows.Forms.ListViewItem(new System.Windows.Forms.ListViewItem.ListViewSubItem[] {
                new System.Windows.Forms.ListViewItem.ListViewSubItem(null, "C1Sizer", System.Drawing.SystemColors.WindowText, System.Drawing.SystemColors.Control, new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))))
            }, 6);
            System.Windows.Forms.ListViewItem listViewItem8 = new System.Windows.Forms.ListViewItem(new System.Windows.Forms.ListViewItem.ListViewSubItem[] {
                new System.Windows.Forms.ListViewItem.ListViewSubItem(null, "C1SizerLight", System.Drawing.SystemColors.WindowText, System.Drawing.SystemColors.Control, new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))))
            }, 7);
            this.mainMenu1       = new System.Windows.Forms.MainMenu();
            this.menuItem1       = new System.Windows.Forms.MenuItem();
            this.menuItem2       = new System.Windows.Forms.MenuItem();
            this.menuItem3       = new System.Windows.Forms.MenuItem();
            this.menuItem4       = new System.Windows.Forms.MenuItem();
            this.menuItem5       = new System.Windows.Forms.MenuItem();
            this.menuItem6       = new System.Windows.Forms.MenuItem();
            this.menuItem7       = new System.Windows.Forms.MenuItem();
            this.menuItem8       = new System.Windows.Forms.MenuItem();
            this.menuItem9       = new System.Windows.Forms.MenuItem();
            this.menuItem10      = new System.Windows.Forms.MenuItem();
            this.toolBarButton1  = new System.Windows.Forms.ToolBarButton();
            this.toolBarButton2  = new System.Windows.Forms.ToolBarButton();
            this.toolBarButton3  = new System.Windows.Forms.ToolBarButton();
            this.toolBarButton4  = new System.Windows.Forms.ToolBarButton();
            this.toolBar1        = new System.Windows.Forms.ToolBar();
            this.toolBarButton5  = new System.Windows.Forms.ToolBarButton();
            this.toolBarButton6  = new System.Windows.Forms.ToolBarButton();
            this.toolBarButton7  = new System.Windows.Forms.ToolBarButton();
            this.toolBarButton8  = new System.Windows.Forms.ToolBarButton();
            this.toolBarButton9  = new System.Windows.Forms.ToolBarButton();
            this.toolBarButton10 = new System.Windows.Forms.ToolBarButton();
            this.toolBarButton11 = new System.Windows.Forms.ToolBarButton();
            this.toolBarButton12 = new System.Windows.Forms.ToolBarButton();
            this.toolBarButton13 = new System.Windows.Forms.ToolBarButton();
            this.toolBarButton14 = new System.Windows.Forms.ToolBarButton();
            this.toolBarButton15 = new System.Windows.Forms.ToolBarButton();
            this.toolBarButton16 = new System.Windows.Forms.ToolBarButton();
            this.toolBarButton17 = new System.Windows.Forms.ToolBarButton();
            this.toolBarButton18 = new System.Windows.Forms.ToolBarButton();
            this.imageList2      = new System.Windows.Forms.ImageList(this.components);
            this.c1Sizer1        = new C1.Win.C1Sizer.C1Sizer();
            this.tabControl1     = new System.Windows.Forms.TabControl();
            this.tabPage1        = new System.Windows.Forms.TabPage();
            this.textBox1        = new System.Windows.Forms.TextBox();
            this.tabPage2        = new System.Windows.Forms.TabPage();
            this.textBox2        = new System.Windows.Forms.TextBox();
            this.panel1          = new System.Windows.Forms.Panel();
            this.listView1       = new System.Windows.Forms.ListView();
            this.imageList1      = new System.Windows.Forms.ImageList(this.components);
            this.label1          = new System.Windows.Forms.Label();
            this.panel2          = new System.Windows.Forms.Panel();
            this.textBox3        = new System.Windows.Forms.TextBox();
            this.label3          = new System.Windows.Forms.Label();
            this.panel3          = new System.Windows.Forms.Panel();
            this.propertyGrid1   = new System.Windows.Forms.PropertyGrid();
            this.label2          = new System.Windows.Forms.Label();
            ((System.ComponentModel.ISupportInitialize)(this.c1Sizer1)).BeginInit();
            this.c1Sizer1.SuspendLayout();
            this.tabControl1.SuspendLayout();
            this.tabPage1.SuspendLayout();
            this.tabPage2.SuspendLayout();
            this.panel1.SuspendLayout();
            this.panel2.SuspendLayout();
            this.panel3.SuspendLayout();
            this.SuspendLayout();
            //
            // mainMenu1
            //
            this.mainMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
                this.menuItem1,
                this.menuItem2,
                this.menuItem3,
                this.menuItem4,
                this.menuItem5,
                this.menuItem6,
                this.menuItem7,
                this.menuItem8,
                this.menuItem9,
                this.menuItem10
            });
            //
            // menuItem1
            //
            this.menuItem1.Index = 0;
            this.menuItem1.Text  = "&File";
            //
            // menuItem2
            //
            this.menuItem2.Index = 1;
            this.menuItem2.Text  = "&Edit";
            //
            // menuItem3
            //
            this.menuItem3.Index = 2;
            this.menuItem3.Text  = "&View";
            //
            // menuItem4
            //
            this.menuItem4.Index = 3;
            this.menuItem4.Text  = "&Project";
            //
            // menuItem5
            //
            this.menuItem5.Index = 4;
            this.menuItem5.Text  = "&Build";
            //
            // menuItem6
            //
            this.menuItem6.Index = 5;
            this.menuItem6.Text  = "&Debug";
            //
            // menuItem7
            //
            this.menuItem7.Index = 6;
            this.menuItem7.Text  = "D&ata";
            //
            // menuItem8
            //
            this.menuItem8.Index = 7;
            this.menuItem8.Text  = "&Tools";
            //
            // menuItem9
            //
            this.menuItem9.Index = 8;
            this.menuItem9.Text  = "&Window";
            //
            // menuItem10
            //
            this.menuItem10.Index = 9;
            this.menuItem10.Text  = "&Help";
            //
            // toolBarButton1
            //
            this.toolBarButton1.ImageIndex = 0;
            //
            // toolBarButton2
            //
            this.toolBarButton2.ImageIndex = 1;
            //
            // toolBarButton3
            //
            this.toolBarButton3.ImageIndex = 2;
            //
            // toolBarButton4
            //
            this.toolBarButton4.ImageIndex = 3;
            //
            // toolBar1
            //
            this.toolBar1.Appearance = System.Windows.Forms.ToolBarAppearance.Flat;
            this.toolBar1.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] {
                this.toolBarButton1,
                this.toolBarButton2,
                this.toolBarButton3,
                this.toolBarButton4,
                this.toolBarButton5,
                this.toolBarButton6,
                this.toolBarButton7,
                this.toolBarButton8,
                this.toolBarButton9,
                this.toolBarButton10,
                this.toolBarButton11,
                this.toolBarButton12,
                this.toolBarButton13,
                this.toolBarButton14,
                this.toolBarButton15,
                this.toolBarButton16,
                this.toolBarButton17,
                this.toolBarButton18
            });
            this.toolBar1.ButtonSize     = new System.Drawing.Size(23, 22);
            this.toolBar1.Divider        = false;
            this.toolBar1.DropDownArrows = true;
            this.toolBar1.ImageList      = this.imageList2;
            this.toolBar1.Name           = "toolBar1";
            this.toolBar1.ShowToolTips   = true;
            this.toolBar1.Size           = new System.Drawing.Size(704, 22);
            this.toolBar1.TabIndex       = 0;
            //
            // toolBarButton5
            //
            this.toolBarButton5.ImageIndex = 4;
            //
            // toolBarButton6
            //
            this.toolBarButton6.ImageIndex = 5;
            //
            // toolBarButton7
            //
            this.toolBarButton7.ImageIndex = 6;
            //
            // toolBarButton8
            //
            this.toolBarButton8.ImageIndex = 7;
            //
            // toolBarButton9
            //
            this.toolBarButton9.ImageIndex = 8;
            //
            // toolBarButton10
            //
            this.toolBarButton10.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
            //
            // toolBarButton11
            //
            this.toolBarButton11.ImageIndex = 9;
            //
            // toolBarButton12
            //
            this.toolBarButton12.ImageIndex = 10;
            //
            // toolBarButton13
            //
            this.toolBarButton13.ImageIndex = 11;
            //
            // toolBarButton14
            //
            this.toolBarButton14.ImageIndex = 12;
            //
            // toolBarButton15
            //
            this.toolBarButton15.ImageIndex = 13;
            //
            // toolBarButton16
            //
            this.toolBarButton16.ImageIndex = 14;
            //
            // toolBarButton17
            //
            this.toolBarButton17.ImageIndex = 15;
            //
            // toolBarButton18
            //
            this.toolBarButton18.ImageIndex = 16;
            //
            // imageList2
            //
            this.imageList2.ColorDepth       = System.Windows.Forms.ColorDepth.Depth8Bit;
            this.imageList2.ImageSize        = new System.Drawing.Size(16, 15);
            this.imageList2.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList2.ImageStream")));
            this.imageList2.TransparentColor = System.Drawing.Color.Red;
            //
            // c1Sizer1
            //
            this.c1Sizer1.BackColor = System.Drawing.SystemColors.Control;
            this.c1Sizer1.Controls.AddRange(new System.Windows.Forms.Control[] {
                this.tabControl1,
                this.panel1,
                this.panel2,
                this.panel3
            });
            this.c1Sizer1.Dock           = System.Windows.Forms.DockStyle.Fill;
            this.c1Sizer1.GridDefinition = "69.620253164557:True:False;26.0759493670886:True:False;0.253164556962025:True:Tru" +
                                           "e;\t20.4545454545455:True:True;50.9943181818182:True:False;26.2784090909091:True:" +
                                           "True;";
            this.c1Sizer1.Location = new System.Drawing.Point(0, 22);
            this.c1Sizer1.Name     = "c1Sizer1";
            this.c1Sizer1.Size     = new System.Drawing.Size(704, 395);
            this.c1Sizer1.TabIndex = 1;
            this.c1Sizer1.TabStop  = false;
            //
            // tabControl1
            //
            this.tabControl1.Appearance = System.Windows.Forms.TabAppearance.FlatButtons;
            this.tabControl1.Controls.AddRange(new System.Windows.Forms.Control[] {
                this.tabPage1,
                this.tabPage2
            });
            this.tabControl1.Font          = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
            this.tabControl1.Location      = new System.Drawing.Point(152, 4);
            this.tabControl1.Name          = "tabControl1";
            this.tabControl1.Padding       = new System.Drawing.Point(0, 0);
            this.tabControl1.SelectedIndex = 0;
            this.tabControl1.Size          = new System.Drawing.Size(359, 275);
            this.tabControl1.TabIndex      = 1;
            //
            // tabPage1
            //
            this.tabPage1.Controls.AddRange(new System.Windows.Forms.Control[] {
                this.textBox1
            });
            this.tabPage1.Location = new System.Drawing.Point(4, 27);
            this.tabPage1.Name     = "tabPage1";
            this.tabPage1.Size     = new System.Drawing.Size(351, 244);
            this.tabPage1.TabIndex = 0;
            this.tabPage1.Text     = "Form1.cs";
            //
            // textBox1
            //
            this.textBox1.Dock       = System.Windows.Forms.DockStyle.Fill;
            this.textBox1.Font       = new System.Drawing.Font("Courier New", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
            this.textBox1.Multiline  = true;
            this.textBox1.Name       = "textBox1";
            this.textBox1.ScrollBars = System.Windows.Forms.ScrollBars.Both;
            this.textBox1.Size       = new System.Drawing.Size(351, 244);
            this.textBox1.TabIndex   = 0;
            this.textBox1.Text       = "using System;\r\nusing System.Drawing;\r\nusing System.Collections;\r\nusing System.Com" +
                                       "ponentModel;\r\nusing System.Windows.Forms;\r\nusing System.Data;\r\n\r\nnamespace FakeS" +
                                       "tudio\r\n{\r\n    /// <summary>\r\n    /// Summary description for Form1.\r\n    /// </s" +
                                       "ummary>\r\n    public class Form1 : System.Windows.Forms.Form\r\n    {\r\n        priv" +
                                       "ate System.Windows.Forms.MainMenu mainMenu1;\r\n        private System.Windows.For" +
                                       "ms.MenuItem menuItem1;\r\n        private System.Windows.Forms.ToolBarButton toolB" +
                                       "arButton1;\r\n        private System.Windows.Forms.ToolBarButton toolBarButton2;\r\n" +
                                       "        private System.Windows.Forms.ToolBarButton toolBarButton3;\r\n        priv" +
                                       "ate System.Windows.Forms.ToolBarButton toolBarButton4;\r\n        private System.W" +
                                       "indows.Forms.ToolBar toolBar1;\r\n        private System.Windows.Forms.MenuItem me" +
                                       "nuItem2;\r\n        private System.Windows.Forms.MenuItem menuItem3;\r\n        priv" +
                                       "ate System.Windows.Forms.MenuItem menuItem4;\r\n        private System.Windows.For" +
                                       "ms.MenuItem menuItem5;\r\n        private System.Windows.Forms.MenuItem menuItem6;" +
                                       "\r\n        private System.Windows.Forms.MenuItem menuItem7;\r\n        private Syst" +
                                       "em.Windows.Forms.MenuItem menuItem8;\r\n        private System.Windows.Forms.MenuI" +
                                       "tem menuItem9;\r\n        private System.Windows.Forms.MenuItem menuItem10;\r\n     " +
                                       "   private C1.Win.C1Sizer.C1Sizer c1Sizer1;\r\n        private System.Windows.Form" +
                                       "s.Panel panel1;\r\n        private System.Windows.Forms.Panel panel2;\r\n        pri" +
                                       "vate System.Windows.Forms.Panel panel3;\r\n        private System.Windows.Forms.To" +
                                       "olBar toolBar2;\r\n        private System.Windows.Forms.TabControl tabControl1;\r\n " +
                                       "       private System.Windows.Forms.TabPage tabPage1;\r\n        private System.Wi" +
                                       "ndows.Forms.TabPage tabPage2;\r\n\r\n        // etc\r\n    }\r\n}";
            this.textBox1.WordWrap = false;
            //
            // tabPage2
            //
            this.tabPage2.Controls.AddRange(new System.Windows.Forms.Control[] {
                this.textBox2
            });
            this.tabPage2.Location = new System.Drawing.Point(4, 27);
            this.tabPage2.Name     = "tabPage2";
            this.tabPage2.Size     = new System.Drawing.Size(351, 244);
            this.tabPage2.TabIndex = 1;
            this.tabPage2.Text     = "Readme.txt";
            //
            // textBox2
            //
            this.textBox2.Dock       = System.Windows.Forms.DockStyle.Fill;
            this.textBox2.Font       = new System.Drawing.Font("Courier New", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
            this.textBox2.ForeColor  = System.Drawing.Color.DarkGreen;
            this.textBox2.Multiline  = true;
            this.textBox2.Name       = "textBox2";
            this.textBox2.ScrollBars = System.Windows.Forms.ScrollBars.Both;
            this.textBox2.Size       = new System.Drawing.Size(351, 244);
            this.textBox2.TabIndex   = 1;
            this.textBox2.Text       = @"FakeStudio
------------------------------------------------------------------------
Create a user interface that looks like Visual Studio.

This sample has no code. It contains a single C1Sizer control with
three rows and three columns, and several child controls arranged within
the C1SizerGrid.

The layout grid was set up at design time with the C1Sizer's grid editor.

Most of the rows and columns were set up as splitters, to the user
can resize them at runtime using the mouse.

Some rows were set up as fixed-size, so when the form is resized they
are not resized proportionally, but retain their dimension (this is
especially useful to set up headers).

Some of the grid panes contains Panel controls, which in turn contain
other controls that are docked within the panel. The C1Sizer itself is 
docked to fill the form. This shows how the C1Sizer control works with 
the layout support provided by the .NET framework.";
            this.textBox2.WordWrap   = false;
            //
            // panel1
            //
            this.panel1.Controls.AddRange(new System.Windows.Forms.Control[] {
                this.listView1,
                this.label1
            });
            this.panel1.Location = new System.Drawing.Point(4, 4);
            this.panel1.Name     = "panel1";
            this.panel1.Size     = new System.Drawing.Size(144, 275);
            this.panel1.TabIndex = 0;
            //
            // listView1
            //
            this.listView1.BackColor      = System.Drawing.SystemColors.Control;
            this.listView1.BorderStyle    = System.Windows.Forms.BorderStyle.None;
            this.listView1.Dock           = System.Windows.Forms.DockStyle.Fill;
            this.listView1.HoverSelection = true;
            this.listView1.Items.AddRange(new System.Windows.Forms.ListViewItem[] {
                listViewItem1,
                listViewItem2,
                listViewItem3,
                listViewItem4,
                listViewItem5,
                listViewItem6,
                listViewItem7,
                listViewItem8
            });
            this.listView1.Location       = new System.Drawing.Point(0, 16);
            this.listView1.Name           = "listView1";
            this.listView1.Size           = new System.Drawing.Size(144, 259);
            this.listView1.SmallImageList = this.imageList1;
            this.listView1.TabIndex       = 1;
            this.listView1.View           = System.Windows.Forms.View.List;
            //
            // imageList1
            //
            this.imageList1.ColorDepth       = System.Windows.Forms.ColorDepth.Depth8Bit;
            this.imageList1.ImageSize        = new System.Drawing.Size(16, 16);
            this.imageList1.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
            this.imageList1.TransparentColor = System.Drawing.Color.Silver;
            //
            // label1
            //
            this.label1.BackColor   = System.Drawing.SystemColors.Highlight;
            this.label1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.label1.Dock        = System.Windows.Forms.DockStyle.Top;
            this.label1.ForeColor   = System.Drawing.SystemColors.HighlightText;
            this.label1.Name        = "label1";
            this.label1.Size        = new System.Drawing.Size(144, 16);
            this.label1.TabIndex    = 0;
            this.label1.Text        = " Toolbox";
            this.label1.TextAlign   = System.Drawing.ContentAlignment.MiddleLeft;
            //
            // panel2
            //
            this.panel2.Controls.AddRange(new System.Windows.Forms.Control[] {
                this.textBox3,
                this.label3
            });
            this.panel2.Location = new System.Drawing.Point(4, 283);
            this.panel2.Name     = "panel2";
            this.panel2.Size     = new System.Drawing.Size(507, 103);
            this.panel2.TabIndex = 0;
            //
            // textBox3
            //
            this.textBox3.Dock      = System.Windows.Forms.DockStyle.Fill;
            this.textBox3.Location  = new System.Drawing.Point(0, 16);
            this.textBox3.Multiline = true;
            this.textBox3.Name      = "textBox3";
            this.textBox3.Size      = new System.Drawing.Size(507, 87);
            this.textBox3.TabIndex  = 2;
            this.textBox3.Text      = @"'DefaultDomain': Loaded 'c:\winnt\microsoft.net\framework\v1.0.3705\mscorlib.dll', No symbols loaded.
'FakeStudio': Loaded 'E:\C1\CVSHome\.NET\C1\personal\Sizer\Samples\cs\FakeStudio\bin\Release\FakeStudio.exe', No symbols loaded.
'FakeStudio.exe': Loaded 'c:\winnt\assembly\gac\system.windows.forms\1.0.3300.0__b77a5c561934e089\system.windows.forms.dll', No symbols loaded.
'FakeStudio.exe': Loaded 'c:\winnt\assembly\gac\system\1.0.3300.0__b77a5c561934e089\system.dll', No symbols loaded.
'FakeStudio.exe': Loaded 'c:\winnt\assembly\gac\system.drawing\1.0.3300.0__b03f5f7f11d50a3a\system.drawing.dll', No symbols loaded.";
            this.textBox3.WordWrap  = false;
            //
            // label3
            //
            this.label3.BackColor   = System.Drawing.SystemColors.Highlight;
            this.label3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.label3.Dock        = System.Windows.Forms.DockStyle.Top;
            this.label3.ForeColor   = System.Drawing.SystemColors.HighlightText;
            this.label3.Name        = "label3";
            this.label3.Size        = new System.Drawing.Size(507, 16);
            this.label3.TabIndex    = 1;
            this.label3.Text        = " Output";
            this.label3.TextAlign   = System.Drawing.ContentAlignment.MiddleLeft;
            //
            // panel3
            //
            this.panel3.Controls.AddRange(new System.Windows.Forms.Control[] {
                this.propertyGrid1,
                this.label2
            });
            this.panel3.Location = new System.Drawing.Point(515, 4);
            this.panel3.Name     = "panel3";
            this.panel3.Size     = new System.Drawing.Size(185, 382);
            this.panel3.TabIndex = 0;
            //
            // propertyGrid1
            //
            this.propertyGrid1.CommandsVisibleIfAvailable = true;
            this.propertyGrid1.Dock           = System.Windows.Forms.DockStyle.Fill;
            this.propertyGrid1.LargeButtons   = false;
            this.propertyGrid1.LineColor      = System.Drawing.SystemColors.ScrollBar;
            this.propertyGrid1.Location       = new System.Drawing.Point(0, 16);
            this.propertyGrid1.Name           = "propertyGrid1";
            this.propertyGrid1.PropertySort   = System.Windows.Forms.PropertySort.Alphabetical;
            this.propertyGrid1.SelectedObject = this.c1Sizer1;
            this.propertyGrid1.Size           = new System.Drawing.Size(185, 366);
            this.propertyGrid1.TabIndex       = 2;
            this.propertyGrid1.Text           = "propertyGrid1";
            this.propertyGrid1.ViewBackColor  = System.Drawing.SystemColors.Window;
            this.propertyGrid1.ViewForeColor  = System.Drawing.SystemColors.WindowText;
            //
            // label2
            //
            this.label2.BackColor   = System.Drawing.SystemColors.Highlight;
            this.label2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.label2.Dock        = System.Windows.Forms.DockStyle.Top;
            this.label2.ForeColor   = System.Drawing.SystemColors.HighlightText;
            this.label2.Name        = "label2";
            this.label2.Size        = new System.Drawing.Size(185, 16);
            this.label2.TabIndex    = 1;
            this.label2.Text        = " Properties";
            this.label2.TextAlign   = System.Drawing.ContentAlignment.MiddleLeft;
            //
            // Form1
            //
            this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
            this.ClientSize        = new System.Drawing.Size(704, 417);
            this.Controls.AddRange(new System.Windows.Forms.Control[] {
                this.c1Sizer1,
                this.toolBar1
            });
            this.Menu = this.mainMenu1;
            this.Name = "Form1";
            this.Text = "FakeStudio";
            ((System.ComponentModel.ISupportInitialize)(this.c1Sizer1)).EndInit();
            this.c1Sizer1.ResumeLayout(false);
            this.tabControl1.ResumeLayout(false);
            this.tabPage1.ResumeLayout(false);
            this.tabPage2.ResumeLayout(false);
            this.panel1.ResumeLayout(false);
            this.panel2.ResumeLayout(false);
            this.panel3.ResumeLayout(false);
            this.ResumeLayout(false);
        }
Ejemplo n.º 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.c1Sizer1 = new C1.Win.C1Sizer.C1Sizer();
     this.panel1   = new System.Windows.Forms.Panel();
     this.panel4   = new System.Windows.Forms.Panel();
     this.label2   = new System.Windows.Forms.Label();
     this.panel3   = new System.Windows.Forms.Panel();
     this.label1   = new System.Windows.Forms.Label();
     this.panel2   = new System.Windows.Forms.Panel();
     this.panel5   = new System.Windows.Forms.Panel();
     this.label3   = new System.Windows.Forms.Label();
     this.panel6   = new System.Windows.Forms.Panel();
     this.label4   = new System.Windows.Forms.Label();
     this.panel7   = new System.Windows.Forms.Panel();
     this.panel8   = new System.Windows.Forms.Panel();
     this.label5   = new System.Windows.Forms.Label();
     this.panel9   = new System.Windows.Forms.Panel();
     this.label6   = new System.Windows.Forms.Label();
     this.panel10  = new System.Windows.Forms.Panel();
     this.panel11  = new System.Windows.Forms.Panel();
     this.label7   = new System.Windows.Forms.Label();
     this.panel12  = new System.Windows.Forms.Panel();
     this.label8   = new System.Windows.Forms.Label();
     ((System.ComponentModel.ISupportInitialize)(this.c1Sizer1)).BeginInit();
     this.c1Sizer1.SuspendLayout();
     this.panel1.SuspendLayout();
     this.panel4.SuspendLayout();
     this.panel3.SuspendLayout();
     this.panel2.SuspendLayout();
     this.panel5.SuspendLayout();
     this.panel6.SuspendLayout();
     this.panel7.SuspendLayout();
     this.panel8.SuspendLayout();
     this.panel9.SuspendLayout();
     this.panel10.SuspendLayout();
     this.panel11.SuspendLayout();
     this.panel12.SuspendLayout();
     this.SuspendLayout();
     //
     // c1Sizer1
     //
     this.c1Sizer1.AllowDrop = true;
     this.c1Sizer1.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.panel1,
         this.panel2,
         this.panel7,
         this.panel10
     });
     this.c1Sizer1.Dock           = System.Windows.Forms.DockStyle.Fill;
     this.c1Sizer1.GridDefinition = "48.3483483483483:True:False;48.048048048048:False:False;\t31.0606060606061:True:Fa" +
                                    "lse;66.6666666666667:False:False;";
     this.c1Sizer1.Name     = "c1Sizer1";
     this.c1Sizer1.Size     = new System.Drawing.Size(528, 333);
     this.c1Sizer1.TabIndex = 0;
     this.c1Sizer1.TabStop  = false;
     //
     // panel1
     //
     this.panel1.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.panel4,
         this.panel3
     });
     this.panel1.Location = new System.Drawing.Point(4, 4);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(164, 161);
     this.panel1.TabIndex = 0;
     //
     // panel4
     //
     this.panel4.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(192)));
     this.panel4.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.label2
     });
     this.panel4.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.panel4.Location = new System.Drawing.Point(0, 24);
     this.panel4.Name     = "panel4";
     this.panel4.Size     = new System.Drawing.Size(164, 137);
     this.panel4.TabIndex = 1;
     //
     // label2
     //
     this.label2.ForeColor = System.Drawing.Color.Black;
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(182, 23);
     this.label2.TabIndex  = 0;
     this.label2.Text      = "Top Row Content";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // panel3
     //
     this.panel3.BackColor = System.Drawing.SystemColors.Desktop;
     this.panel3.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.label1
     });
     this.panel3.Dock     = System.Windows.Forms.DockStyle.Top;
     this.panel3.Name     = "panel3";
     this.panel3.Size     = new System.Drawing.Size(164, 24);
     this.panel3.TabIndex = 0;
     //
     // label1
     //
     this.label1.ForeColor = System.Drawing.SystemColors.ActiveCaptionText;
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(182, 22);
     this.label1.TabIndex  = 0;
     this.label1.Text      = "Top Row Header";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // panel2
     //
     this.panel2.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.panel5,
         this.panel6
     });
     this.panel2.Location = new System.Drawing.Point(4, 169);
     this.panel2.Name     = "panel2";
     this.panel2.Size     = new System.Drawing.Size(164, 160);
     this.panel2.TabIndex = 0;
     //
     // panel5
     //
     this.panel5.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(192)));
     this.panel5.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.label3
     });
     this.panel5.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.panel5.Location = new System.Drawing.Point(0, 24);
     this.panel5.Name     = "panel5";
     this.panel5.Size     = new System.Drawing.Size(164, 136);
     this.panel5.TabIndex = 1;
     //
     // label3
     //
     this.label3.ForeColor = System.Drawing.Color.Black;
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(182, 23);
     this.label3.TabIndex  = 0;
     this.label3.Text      = "Bottom Row Content";
     this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // panel6
     //
     this.panel6.BackColor = System.Drawing.SystemColors.Desktop;
     this.panel6.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.label4
     });
     this.panel6.Dock     = System.Windows.Forms.DockStyle.Top;
     this.panel6.Name     = "panel6";
     this.panel6.Size     = new System.Drawing.Size(164, 24);
     this.panel6.TabIndex = 0;
     //
     // label4
     //
     this.label4.ForeColor = System.Drawing.SystemColors.ActiveCaptionText;
     this.label4.Name      = "label4";
     this.label4.Size      = new System.Drawing.Size(182, 22);
     this.label4.TabIndex  = 0;
     this.label4.Text      = "Bottom Row Header";
     this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // panel7
     //
     this.panel7.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.panel8,
         this.panel9
     });
     this.panel7.Location = new System.Drawing.Point(172, 4);
     this.panel7.Name     = "panel7";
     this.panel7.Size     = new System.Drawing.Size(352, 161);
     this.panel7.TabIndex = 0;
     //
     // panel8
     //
     this.panel8.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(192)));
     this.panel8.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.label5
     });
     this.panel8.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.panel8.Location = new System.Drawing.Point(0, 24);
     this.panel8.Name     = "panel8";
     this.panel8.Size     = new System.Drawing.Size(352, 137);
     this.panel8.TabIndex = 1;
     //
     // label5
     //
     this.label5.ForeColor = System.Drawing.Color.Black;
     this.label5.Name      = "label5";
     this.label5.Size      = new System.Drawing.Size(182, 23);
     this.label5.TabIndex  = 0;
     this.label5.Text      = "Right Row Content";
     this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // panel9
     //
     this.panel9.BackColor = System.Drawing.SystemColors.Desktop;
     this.panel9.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.label6
     });
     this.panel9.Dock     = System.Windows.Forms.DockStyle.Top;
     this.panel9.Name     = "panel9";
     this.panel9.Size     = new System.Drawing.Size(352, 24);
     this.panel9.TabIndex = 0;
     //
     // label6
     //
     this.label6.ForeColor = System.Drawing.SystemColors.ActiveCaptionText;
     this.label6.Name      = "label6";
     this.label6.Size      = new System.Drawing.Size(182, 22);
     this.label6.TabIndex  = 0;
     this.label6.Text      = "Right Row Header";
     this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // panel10
     //
     this.panel10.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.panel11,
         this.panel12
     });
     this.panel10.Location = new System.Drawing.Point(172, 169);
     this.panel10.Name     = "panel10";
     this.panel10.Size     = new System.Drawing.Size(352, 160);
     this.panel10.TabIndex = 0;
     //
     // panel11
     //
     this.panel11.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(192)));
     this.panel11.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.label7
     });
     this.panel11.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.panel11.Location = new System.Drawing.Point(0, 24);
     this.panel11.Name     = "panel11";
     this.panel11.Size     = new System.Drawing.Size(352, 136);
     this.panel11.TabIndex = 1;
     //
     // label7
     //
     this.label7.ForeColor = System.Drawing.Color.Black;
     this.label7.Name      = "label7";
     this.label7.Size      = new System.Drawing.Size(182, 23);
     this.label7.TabIndex  = 0;
     this.label7.Text      = "Bottom Row Content";
     this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // panel12
     //
     this.panel12.BackColor = System.Drawing.SystemColors.Desktop;
     this.panel12.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.label8
     });
     this.panel12.Dock     = System.Windows.Forms.DockStyle.Top;
     this.panel12.Name     = "panel12";
     this.panel12.Size     = new System.Drawing.Size(352, 24);
     this.panel12.TabIndex = 0;
     //
     // label8
     //
     this.label8.ForeColor = System.Drawing.SystemColors.ActiveCaptionText;
     this.label8.Name      = "label8";
     this.label8.Size      = new System.Drawing.Size(182, 22);
     this.label8.TabIndex  = 0;
     this.label8.Text      = "Bottom Row Header";
     this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(528, 333);
     this.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.c1Sizer1
     });
     this.Name          = "Form1";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "C1Sizer: Row Headers";
     ((System.ComponentModel.ISupportInitialize)(this.c1Sizer1)).EndInit();
     this.c1Sizer1.ResumeLayout(false);
     this.panel1.ResumeLayout(false);
     this.panel4.ResumeLayout(false);
     this.panel3.ResumeLayout(false);
     this.panel2.ResumeLayout(false);
     this.panel5.ResumeLayout(false);
     this.panel6.ResumeLayout(false);
     this.panel7.ResumeLayout(false);
     this.panel8.ResumeLayout(false);
     this.panel9.ResumeLayout(false);
     this.panel10.ResumeLayout(false);
     this.panel11.ResumeLayout(false);
     this.panel12.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Ejemplo n.º 8
0
 void Sizer_Posicionar(C1.Win.C1Sizer.C1Sizer Eo, int intPosX, int intPosY)
 {
     Eo.Left = intPosX;
     Eo.Top  = intPosY;
 }
Ejemplo n.º 9
0
 void Sizer_Dimensionar(C1.Win.C1Sizer.C1Sizer Eo, int intAlto, int intAncho)
 {
     Eo.Height = intAlto;
     Eo.Width  = intAncho;
 }