コード例 #1
0
        private static WinTextBox GetMemoTextBox(string format)
        {
            //WinTextBox memoTextBox = new WinTextBox(EnhancedBorderStyle.None);
            //WinButton moreButton = new WinButton(new Xceed.Editors.ButtonType(Xceed.Editors.ButtonBackgroundImageType.Combo, Xceed.Editors.ButtonImageType.ScrollDown));
            //memoTextBox.SideButtons.Add(moreButton);
            //memoTextBox.DropDownButton = moreButton;
            //memoTextBox.DropDownAllowFocus = true;
            //memoTextBox.TextBoxArea.WordWrap = false;
            //memoTextBox.TextBoxArea.Multiline = false;
            //memoTextBox.TextBoxArea.AcceptsReturn = false;

            //WinTextBox multilineTextBox = new WinTextBox();
            //multilineTextBox.TextBoxArea.WordWrap = true;
            //multilineTextBox.TextBoxArea.Multiline = true;
            //multilineTextBox.TextBoxArea.ScrollBars = ScrollBars.Vertical;
            //multilineTextBox.TextBoxArea.AcceptsTab = true;
            //multilineTextBox.TextBoxArea.AcceptsReturn = false;

            //memoTextBox.DropDownControl = multilineTextBox;
            //memoTextBox.DropDownSize = new System.Drawing.Size(300, 150);
            WinTextBox memoTextBox = new Feng.Windows.Forms.MyMultilineTextBox();

            return(memoTextBox);
        }
コード例 #2
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(GenerateReportForm));
     this.groupReportStyle = new System.Windows.Forms.GroupBox();
     this.panelReportStyleList = new System.Windows.Forms.Panel();
     this.labelControlPlaceholder1 = new System.Windows.Forms.Label();
     this.panelStyleButtons = new System.Windows.Forms.Panel();
     this.butRemoveStyle = new System.Windows.Forms.Button();
     this.butEditStyle = new System.Windows.Forms.Button();
     this.butNewStyle = new System.Windows.Forms.Button();
     this.groupSamplePage = new System.Windows.Forms.GroupBox();
     this.panelSamplePage = new System.Windows.Forms.Panel();
     this.labelControlPlaceholder3 = new System.Windows.Forms.Label();
     this.butPrint = new System.Windows.Forms.Button();
     this.butPreview = new System.Windows.Forms.Button();
     this.butExport = new System.Windows.Forms.Button();
     this.butClose = new System.Windows.Forms.Button();
     this.groupOutputSettings = new System.Windows.Forms.GroupBox();
     this.butResetPrinter = new System.Windows.Forms.Button();
     this.labelPrinter = new System.Windows.Forms.Label();
     this.comboPrinter = new System.Windows.Forms.ComboBox();
     this.butPageSetup = new System.Windows.Forms.Button();
     this.pageSetupDialog = new System.Windows.Forms.PageSetupDialog();
     this.printPreviewDialog = new System.Windows.Forms.PrintPreviewDialog();
     this.saveFileDialog = new System.Windows.Forms.SaveFileDialog();
     this.imageList = new System.Windows.Forms.ImageList(this.components);
     this.groupColumns = new System.Windows.Forms.GroupBox();
     this.panelColumnList = new System.Windows.Forms.Panel();
     this.labelControlPlaceholder2 = new System.Windows.Forms.Label();
     this.panelColumnsButtons = new System.Windows.Forms.Panel();
     this.comboLayout = new System.Windows.Forms.ComboBox();
     this.labelLayout = new System.Windows.Forms.Label();
     this.butResetLayout = new System.Windows.Forms.Button();
     this.groupReport = new System.Windows.Forms.GroupBox();
     this.textTitle = new Feng.Windows.Forms.MyMultilineTextBox();
     this.labelTitle = new System.Windows.Forms.Label();
     this.groupReportStyle.SuspendLayout();
     this.panelReportStyleList.SuspendLayout();
     this.panelStyleButtons.SuspendLayout();
     this.groupSamplePage.SuspendLayout();
     this.panelSamplePage.SuspendLayout();
     this.groupOutputSettings.SuspendLayout();
     this.groupColumns.SuspendLayout();
     this.panelColumnList.SuspendLayout();
     this.panelColumnsButtons.SuspendLayout();
     this.groupReport.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.textTitle)).BeginInit();
     this.SuspendLayout();
     //
     // groupReportStyle
     //
     this.groupReportStyle.Controls.Add(this.panelReportStyleList);
     this.groupReportStyle.Controls.Add(this.panelStyleButtons);
     this.groupReportStyle.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.groupReportStyle.Location = new System.Drawing.Point(10, 78);
     this.groupReportStyle.Name = "groupReportStyle";
     this.groupReportStyle.Size = new System.Drawing.Size(384, 198);
     this.groupReportStyle.TabIndex = 1;
     this.groupReportStyle.TabStop = false;
     this.groupReportStyle.Text = "������ʽ(&Y)";
     //
     // panelReportStyleList
     //
     this.panelReportStyleList.Controls.Add(this.labelControlPlaceholder1);
     this.panelReportStyleList.Dock = System.Windows.Forms.DockStyle.Fill;
     this.panelReportStyleList.Location = new System.Drawing.Point(3, 17);
     this.panelReportStyleList.Name = "panelReportStyleList";
     this.panelReportStyleList.Padding = new System.Windows.Forms.Padding(8);
     this.panelReportStyleList.Size = new System.Drawing.Size(378, 143);
     this.panelReportStyleList.TabIndex = 0;
     //
     // labelControlPlaceholder1
     //
     this.labelControlPlaceholder1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.labelControlPlaceholder1.Enabled = false;
     this.labelControlPlaceholder1.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.labelControlPlaceholder1.Location = new System.Drawing.Point(8, 8);
     this.labelControlPlaceholder1.Name = "labelControlPlaceholder1";
     this.labelControlPlaceholder1.Size = new System.Drawing.Size(362, 127);
     this.labelControlPlaceholder1.TabIndex = 0;
     this.labelControlPlaceholder1.Text = "A GridControl named gridReportStyleList, that contains a list of available report" +
         " styles, will be added here at run-time. The code is in the \"ReportStyle List\" c" +
         "ode region.";
     this.labelControlPlaceholder1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     this.labelControlPlaceholder1.Visible = false;
     //
     // panelStyleButtons
     //
     this.panelStyleButtons.Controls.Add(this.butRemoveStyle);
     this.panelStyleButtons.Controls.Add(this.butEditStyle);
     this.panelStyleButtons.Controls.Add(this.butNewStyle);
     this.panelStyleButtons.Dock = System.Windows.Forms.DockStyle.Bottom;
     this.panelStyleButtons.Location = new System.Drawing.Point(3, 160);
     this.panelStyleButtons.Name = "panelStyleButtons";
     this.panelStyleButtons.Size = new System.Drawing.Size(378, 35);
     this.panelStyleButtons.TabIndex = 1;
     //
     // butRemoveStyle
     //
     this.butRemoveStyle.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.butRemoveStyle.Location = new System.Drawing.Point(163, 0);
     this.butRemoveStyle.Name = "butRemoveStyle";
     this.butRemoveStyle.Size = new System.Drawing.Size(72, 25);
     this.butRemoveStyle.TabIndex = 5;
     this.butRemoveStyle.Text = "ɾ��(&R)";
     this.butRemoveStyle.Click += new System.EventHandler(this.butRemoveStyle_Click);
     //
     // butEditStyle
     //
     this.butEditStyle.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.butEditStyle.Location = new System.Drawing.Point(86, 0);
     this.butEditStyle.Name = "butEditStyle";
     this.butEditStyle.Size = new System.Drawing.Size(72, 25);
     this.butEditStyle.TabIndex = 4;
     this.butEditStyle.Text = "�༭(&E)...";
     this.butEditStyle.Click += new System.EventHandler(this.butEditStyle_Click);
     //
     // butNewStyle
     //
     this.butNewStyle.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.butNewStyle.Location = new System.Drawing.Point(10, 0);
     this.butNewStyle.Name = "butNewStyle";
     this.butNewStyle.Size = new System.Drawing.Size(72, 25);
     this.butNewStyle.TabIndex = 3;
     this.butNewStyle.Text = "�½�(&N)...";
     this.butNewStyle.Click += new System.EventHandler(this.butNewStyle_Click);
     //
     // groupSamplePage
     //
     this.groupSamplePage.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.groupSamplePage.Controls.Add(this.panelSamplePage);
     this.groupSamplePage.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.groupSamplePage.Location = new System.Drawing.Point(403, 9);
     this.groupSamplePage.Name = "groupSamplePage";
     this.groupSamplePage.Size = new System.Drawing.Size(480, 555);
     this.groupSamplePage.TabIndex = 0;
     this.groupSamplePage.TabStop = false;
     this.groupSamplePage.Text = "����";
     //
     // panelSamplePage
     //
     this.panelSamplePage.Controls.Add(this.labelControlPlaceholder3);
     this.panelSamplePage.Dock = System.Windows.Forms.DockStyle.Fill;
     this.panelSamplePage.Location = new System.Drawing.Point(3, 17);
     this.panelSamplePage.Name = "panelSamplePage";
     this.panelSamplePage.Padding = new System.Windows.Forms.Padding(8);
     this.panelSamplePage.Size = new System.Drawing.Size(474, 535);
     this.panelSamplePage.TabIndex = 0;
     //
     // labelControlPlaceholder3
     //
     this.labelControlPlaceholder3.Dock = System.Windows.Forms.DockStyle.Fill;
     this.labelControlPlaceholder3.Enabled = false;
     this.labelControlPlaceholder3.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.labelControlPlaceholder3.Location = new System.Drawing.Point(8, 8);
     this.labelControlPlaceholder3.Name = "labelControlPlaceholder3";
     this.labelControlPlaceholder3.Size = new System.Drawing.Size(458, 519);
     this.labelControlPlaceholder3.TabIndex = 0;
     this.labelControlPlaceholder3.Text = "A ReportPreviewControl named reportPreview, that displays a preview of the first " +
         "page of the report, will be added here at run-time. The code is in the \"Sample P" +
         "age\" code region.";
     this.labelControlPlaceholder3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     this.labelControlPlaceholder3.Visible = false;
     //
     // butPrint
     //
     this.butPrint.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.butPrint.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.butPrint.Location = new System.Drawing.Point(499, 572);
     this.butPrint.Name = "butPrint";
     this.butPrint.Size = new System.Drawing.Size(90, 25);
     this.butPrint.TabIndex = 1;
     this.butPrint.Text = "��ӡ(&P)";
     this.butPrint.Click += new System.EventHandler(this.butPrint_Click);
     //
     // butPreview
     //
     this.butPreview.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.butPreview.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.butPreview.Location = new System.Drawing.Point(595, 572);
     this.butPreview.Name = "butPreview";
     this.butPreview.Size = new System.Drawing.Size(90, 25);
     this.butPreview.TabIndex = 2;
     this.butPreview.Text = "��ӡԤ��(&V)";
     this.butPreview.Click += new System.EventHandler(this.butPreview_Click);
     //
     // butExport
     //
     this.butExport.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.butExport.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.butExport.Location = new System.Drawing.Point(691, 572);
     this.butExport.Name = "butExport";
     this.butExport.Size = new System.Drawing.Size(90, 25);
     this.butExport.TabIndex = 3;
     this.butExport.Text = "����(&X)...";
     this.butExport.Click += new System.EventHandler(this.butExport_Click);
     //
     // butClose
     //
     this.butClose.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.butClose.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.butClose.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.butClose.Location = new System.Drawing.Point(787, 572);
     this.butClose.Name = "butClose";
     this.butClose.Size = new System.Drawing.Size(90, 25);
     this.butClose.TabIndex = 4;
     this.butClose.Text = "�ر�(&O)";
     this.butClose.Click += new System.EventHandler(this.butClose_Click);
     //
     // groupOutputSettings
     //
     this.groupOutputSettings.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.groupOutputSettings.Controls.Add(this.butResetPrinter);
     this.groupOutputSettings.Controls.Add(this.labelPrinter);
     this.groupOutputSettings.Controls.Add(this.comboPrinter);
     this.groupOutputSettings.Controls.Add(this.butPageSetup);
     this.groupOutputSettings.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.groupOutputSettings.Location = new System.Drawing.Point(10, 469);
     this.groupOutputSettings.Name = "groupOutputSettings";
     this.groupOutputSettings.Size = new System.Drawing.Size(384, 95);
     this.groupOutputSettings.TabIndex = 8;
     this.groupOutputSettings.TabStop = false;
     this.groupOutputSettings.Text = "�������";
     //
     // butResetPrinter
     //
     this.butResetPrinter.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.butResetPrinter.Location = new System.Drawing.Point(278, 60);
     this.butResetPrinter.Name = "butResetPrinter";
     this.butResetPrinter.Size = new System.Drawing.Size(90, 25);
     this.butResetPrinter.TabIndex = 27;
     this.butResetPrinter.Text = "����";
     this.butResetPrinter.Click += new System.EventHandler(this.butResetPrinter_Click);
     //
     // labelPrinter
     //
     this.labelPrinter.AutoSize = true;
     this.labelPrinter.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.labelPrinter.Location = new System.Drawing.Point(10, 28);
     this.labelPrinter.Name = "labelPrinter";
     this.labelPrinter.Size = new System.Drawing.Size(65, 12);
     this.labelPrinter.TabIndex = 27;
     this.labelPrinter.Text = "��ӡ��(&i):";
     this.labelPrinter.Click += new System.EventHandler(this.labelPrinter_Click);
     //
     // comboPrinter
     //
     this.comboPrinter.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboPrinter.Location = new System.Drawing.Point(81, 26);
     this.comboPrinter.Name = "comboPrinter";
     this.comboPrinter.Size = new System.Drawing.Size(293, 20);
     this.comboPrinter.TabIndex = 25;
     this.comboPrinter.SelectionChangeCommitted += new System.EventHandler(this.comboPrinter_SelectionChangeCommitted);
     //
     // butPageSetup
     //
     this.butPageSetup.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.butPageSetup.Location = new System.Drawing.Point(67, 60);
     this.butPageSetup.Name = "butPageSetup";
     this.butPageSetup.Size = new System.Drawing.Size(115, 25);
     this.butPageSetup.TabIndex = 26;
     this.butPageSetup.Text = "ҳ������(&S)...";
     this.butPageSetup.Click += new System.EventHandler(this.butPageSetup_Click);
     //
     // printPreviewDialog
     //
     this.printPreviewDialog.AutoScrollMargin = new System.Drawing.Size(0, 0);
     this.printPreviewDialog.AutoScrollMinSize = new System.Drawing.Size(0, 0);
     this.printPreviewDialog.ClientSize = new System.Drawing.Size(1280, 740);
     this.printPreviewDialog.Enabled = true;
     this.printPreviewDialog.Icon = ((System.Drawing.Icon)(resources.GetObject("printPreviewDialog.Icon")));
     this.printPreviewDialog.Name = "printPreviewDialog";
     this.printPreviewDialog.UseAntiAlias = true;
     this.printPreviewDialog.Visible = false;
     this.printPreviewDialog.WindowState = System.Windows.Forms.FormWindowState.Maximized;
     //
     // saveFileDialog
     //
     this.saveFileDialog.DefaultExt = "pdf";
     this.saveFileDialog.Filter = "Adobe PDF Document (*.pdf)|*.pdf|HTML Document (*.html;*.htm)|*.html;*.htm|JPEG I" +
         "mage (*.jpeg;*.jpg)|*.jpeg;*.jpg|TIFF Image (*.tiff;*.tif)|*.tiff;*.tif";
     this.saveFileDialog.Title = "Select File for Export";
     this.saveFileDialog.RestoreDirectory = true;
     //
     // imageList
     //
     this.imageList.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList.ImageStream")));
     this.imageList.TransparentColor = System.Drawing.Color.Empty;
     this.imageList.Images.SetKeyName(0, "");
     //
     // groupColumns
     //
     this.groupColumns.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                 | System.Windows.Forms.AnchorStyles.Left)));
     this.groupColumns.Controls.Add(this.panelColumnList);
     this.groupColumns.Controls.Add(this.panelColumnsButtons);
     this.groupColumns.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.groupColumns.Location = new System.Drawing.Point(10, 284);
     this.groupColumns.Name = "groupColumns";
     this.groupColumns.Size = new System.Drawing.Size(384, 176);
     this.groupColumns.TabIndex = 9;
     this.groupColumns.TabStop = false;
     this.groupColumns.Text = "���������(&C)";
     //
     // panelColumnList
     //
     this.panelColumnList.Controls.Add(this.labelControlPlaceholder2);
     this.panelColumnList.Dock = System.Windows.Forms.DockStyle.Fill;
     this.panelColumnList.Location = new System.Drawing.Point(3, 17);
     this.panelColumnList.Name = "panelColumnList";
     this.panelColumnList.Padding = new System.Windows.Forms.Padding(8);
     this.panelColumnList.Size = new System.Drawing.Size(378, 121);
     this.panelColumnList.TabIndex = 0;
     //
     // labelControlPlaceholder2
     //
     this.labelControlPlaceholder2.Dock = System.Windows.Forms.DockStyle.Fill;
     this.labelControlPlaceholder2.Enabled = false;
     this.labelControlPlaceholder2.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.labelControlPlaceholder2.Location = new System.Drawing.Point(8, 8);
     this.labelControlPlaceholder2.Name = "labelControlPlaceholder2";
     this.labelControlPlaceholder2.Size = new System.Drawing.Size(362, 105);
     this.labelControlPlaceholder2.TabIndex = 0;
     this.labelControlPlaceholder2.Text = resources.GetString("labelControlPlaceholder2.Text");
     this.labelControlPlaceholder2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     this.labelControlPlaceholder2.Visible = false;
     //
     // panelColumnsButtons
     //
     this.panelColumnsButtons.Controls.Add(this.comboLayout);
     this.panelColumnsButtons.Controls.Add(this.labelLayout);
     this.panelColumnsButtons.Controls.Add(this.butResetLayout);
     this.panelColumnsButtons.Dock = System.Windows.Forms.DockStyle.Bottom;
     this.panelColumnsButtons.Location = new System.Drawing.Point(3, 138);
     this.panelColumnsButtons.Name = "panelColumnsButtons";
     this.panelColumnsButtons.Size = new System.Drawing.Size(378, 35);
     this.panelColumnsButtons.TabIndex = 1;
     //
     // comboLayout
     //
     this.comboLayout.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboLayout.Location = new System.Drawing.Point(67, 2);
     this.comboLayout.Name = "comboLayout";
     this.comboLayout.Size = new System.Drawing.Size(202, 20);
     this.comboLayout.TabIndex = 4;
     this.comboLayout.SelectionChangeCommitted += new System.EventHandler(this.comboLayout_SelectionChangeCommitted);
     //
     // labelLayout
     //
     this.labelLayout.Location = new System.Drawing.Point(10, 4);
     this.labelLayout.Name = "labelLayout";
     this.labelLayout.Size = new System.Drawing.Size(57, 25);
     this.labelLayout.TabIndex = 3;
     this.labelLayout.Text = "����(&L):";
     //
     // butResetLayout
     //
     this.butResetLayout.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.butResetLayout.Location = new System.Drawing.Point(278, 0);
     this.butResetLayout.Name = "butResetLayout";
     this.butResetLayout.Size = new System.Drawing.Size(90, 25);
     this.butResetLayout.TabIndex = 5;
     this.butResetLayout.Text = "����";
     this.butResetLayout.Click += new System.EventHandler(this.butResetLayout_Click);
     //
     // groupReport
     //
     this.groupReport.Controls.Add(this.textTitle);
     this.groupReport.Controls.Add(this.labelTitle);
     this.groupReport.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.groupReport.Location = new System.Drawing.Point(10, 9);
     this.groupReport.Name = "groupReport";
     this.groupReport.Size = new System.Drawing.Size(384, 60);
     this.groupReport.TabIndex = 0;
     this.groupReport.TabStop = false;
     this.groupReport.Text = "����";
     //
     // textTitle
     //
     this.textTitle.DropDownAllowFocus = true;
     this.textTitle.Location = new System.Drawing.Point(69, 26);
     this.textTitle.Name = "textTitle";
     this.textTitle.Size = new System.Drawing.Size(305, 21);
     this.textTitle.TabIndex = 5;
     //
     //
     //
     this.textTitle.TextBoxArea.Name = "";
     this.textTitle.TextBoxArea.SelectOnFocus = true;
     this.textTitle.TextBoxArea.TabIndex = 0;
     this.textTitle.Leave += new System.EventHandler(this.textTitle_Leave);
     //
     // labelTitle
     //
     this.labelTitle.Location = new System.Drawing.Point(10, 28);
     this.labelTitle.Name = "labelTitle";
     this.labelTitle.Size = new System.Drawing.Size(53, 15);
     this.labelTitle.TabIndex = 4;
     this.labelTitle.Text = "����(&T):";
     //
     // GenerateReportForm
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
     this.CancelButton = this.butClose;
     this.ClientSize = new System.Drawing.Size(892, 612);
     this.Controls.Add(this.groupReport);
     this.Controls.Add(this.groupColumns);
     this.Controls.Add(this.groupOutputSettings);
     this.Controls.Add(this.butClose);
     this.Controls.Add(this.butExport);
     this.Controls.Add(this.butPreview);
     this.Controls.Add(this.butPrint);
     this.Controls.Add(this.groupReportStyle);
     this.Controls.Add(this.groupSamplePage);
     this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MinimumSize = new System.Drawing.Size(900, 646);
     this.Name = "GenerateReportForm";
     this.ShowInTaskbar = false;
     this.Text = "���ɱ���";
     this.groupReportStyle.ResumeLayout(false);
     this.panelReportStyleList.ResumeLayout(false);
     this.panelStyleButtons.ResumeLayout(false);
     this.groupSamplePage.ResumeLayout(false);
     this.panelSamplePage.ResumeLayout(false);
     this.groupOutputSettings.ResumeLayout(false);
     this.groupOutputSettings.PerformLayout();
     this.groupColumns.ResumeLayout(false);
     this.panelColumnList.ResumeLayout(false);
     this.panelColumnsButtons.ResumeLayout(false);
     this.groupReport.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.textTitle)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #3
0
        private static WinTextBox GetMemoTextBox(string format)
        {
            //WinTextBox memoTextBox = new WinTextBox(EnhancedBorderStyle.None);
            //WinButton moreButton = new WinButton(new Xceed.Editors.ButtonType(Xceed.Editors.ButtonBackgroundImageType.Combo, Xceed.Editors.ButtonImageType.ScrollDown));
            //memoTextBox.SideButtons.Add(moreButton);
            //memoTextBox.DropDownButton = moreButton;
            //memoTextBox.DropDownAllowFocus = true;
            //memoTextBox.TextBoxArea.WordWrap = false;
            //memoTextBox.TextBoxArea.Multiline = false;
            //memoTextBox.TextBoxArea.AcceptsReturn = false;

            //WinTextBox multilineTextBox = new WinTextBox();
            //multilineTextBox.TextBoxArea.WordWrap = true;
            //multilineTextBox.TextBoxArea.Multiline = true;
            //multilineTextBox.TextBoxArea.ScrollBars = ScrollBars.Vertical;
            //multilineTextBox.TextBoxArea.AcceptsTab = true;
            //multilineTextBox.TextBoxArea.AcceptsReturn = false;

            //memoTextBox.DropDownControl = multilineTextBox;
            //memoTextBox.DropDownSize = new System.Drawing.Size(300, 150);
            WinTextBox memoTextBox = new Feng.Windows.Forms.MyMultilineTextBox();
            return memoTextBox;
        }