FrmExcelView.Designer.cs 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  1. namespace ProjectBase.Controls.DocViewer
  2. {
  3. partial class FrmExcelView
  4. {
  5. /// <summary>
  6. /// Required designer variable.
  7. /// </summary>
  8. private System.ComponentModel.IContainer components = null;
  9. /// <summary>
  10. /// Clean up any resources being used.
  11. /// </summary>
  12. /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
  13. protected override void Dispose(bool disposing)
  14. {
  15. if (disposing && (components != null))
  16. {
  17. components.Dispose();
  18. }
  19. base.Dispose(disposing);
  20. }
  21. #region Windows Form Designer generated code
  22. /// <summary>
  23. /// Required method for Designer support - do not modify
  24. /// the contents of this method with the code editor.
  25. /// </summary>
  26. private void InitializeComponent()
  27. {
  28. this.spreadsheetControl1 = new DevExpress.XtraSpreadsheet.SpreadsheetControl();
  29. this.btnOpenFile = new DevExpress.XtraEditors.SimpleButton();
  30. this.btnSaveFile = new DevExpress.XtraEditors.SimpleButton();
  31. this.btnClose = new DevExpress.XtraEditors.SimpleButton();
  32. this.btnPreview = new DevExpress.XtraEditors.SimpleButton();
  33. this.btnSaveAs = new DevExpress.XtraEditors.SimpleButton();
  34. this.SuspendLayout();
  35. //
  36. // spreadsheetControl1
  37. //
  38. this.spreadsheetControl1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
  39. | System.Windows.Forms.AnchorStyles.Left)
  40. | System.Windows.Forms.AnchorStyles.Right)));
  41. this.spreadsheetControl1.Location = new System.Drawing.Point(3, 3);
  42. this.spreadsheetControl1.Name = "spreadsheetControl1";
  43. this.spreadsheetControl1.Options.Culture = new System.Globalization.CultureInfo("zh-CN");
  44. this.spreadsheetControl1.ReadOnly = true;
  45. this.spreadsheetControl1.Size = new System.Drawing.Size(810, 482);
  46. this.spreadsheetControl1.TabIndex = 0;
  47. this.spreadsheetControl1.Text = "spreadsheetControl1";
  48. //
  49. // btnOpenFile
  50. //
  51. this.btnOpenFile.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
  52. this.btnOpenFile.Location = new System.Drawing.Point(379, 505);
  53. this.btnOpenFile.Name = "btnOpenFile";
  54. this.btnOpenFile.Size = new System.Drawing.Size(82, 29);
  55. this.btnOpenFile.TabIndex = 2;
  56. this.btnOpenFile.Text = "打开文件";
  57. this.btnOpenFile.Visible = false;
  58. this.btnOpenFile.Click += new System.EventHandler(this.btnOpenFile_Click);
  59. //
  60. // btnSaveFile
  61. //
  62. this.btnSaveFile.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
  63. this.btnSaveFile.Location = new System.Drawing.Point(467, 505);
  64. this.btnSaveFile.Name = "btnSaveFile";
  65. this.btnSaveFile.Size = new System.Drawing.Size(82, 29);
  66. this.btnSaveFile.TabIndex = 3;
  67. this.btnSaveFile.Text = "保存文件";
  68. this.btnSaveFile.Visible = false;
  69. this.btnSaveFile.Click += new System.EventHandler(this.btnSaveFile_Click);
  70. //
  71. // btnClose
  72. //
  73. this.btnClose.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
  74. this.btnClose.DialogResult = System.Windows.Forms.DialogResult.Cancel;
  75. this.btnClose.Location = new System.Drawing.Point(731, 505);
  76. this.btnClose.Name = "btnClose";
  77. this.btnClose.Size = new System.Drawing.Size(82, 29);
  78. this.btnClose.TabIndex = 5;
  79. this.btnClose.Text = "关闭";
  80. this.btnClose.Click += new System.EventHandler(this.btnClose_Click);
  81. //
  82. // btnPreview
  83. //
  84. this.btnPreview.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
  85. this.btnPreview.Location = new System.Drawing.Point(643, 505);
  86. this.btnPreview.Name = "btnPreview";
  87. this.btnPreview.Size = new System.Drawing.Size(82, 29);
  88. this.btnPreview.TabIndex = 4;
  89. this.btnPreview.Text = "打印预览";
  90. this.btnPreview.Click += new System.EventHandler(this.btnPreview_Click);
  91. //
  92. // btnSaveAs
  93. //
  94. this.btnSaveAs.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
  95. this.btnSaveAs.Location = new System.Drawing.Point(555, 505);
  96. this.btnSaveAs.Name = "btnSaveAs";
  97. this.btnSaveAs.Size = new System.Drawing.Size(82, 29);
  98. this.btnSaveAs.TabIndex = 3;
  99. this.btnSaveAs.Text = "另存为";
  100. this.btnSaveAs.Click += new System.EventHandler(this.btnSaveAs_Click);
  101. //
  102. // FrmExcelView
  103. //
  104. this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 14F);
  105. this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
  106. this.ClientSize = new System.Drawing.Size(816, 546);
  107. this.Controls.Add(this.btnClose);
  108. this.Controls.Add(this.btnPreview);
  109. this.Controls.Add(this.btnSaveFile);
  110. this.Controls.Add(this.btnSaveAs);
  111. this.Controls.Add(this.btnOpenFile);
  112. this.Controls.Add(this.spreadsheetControl1);
  113. this.Name = "FrmExcelView";
  114. this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
  115. this.Text = "Excel文档查看";
  116. this.TopMost = true;
  117. this.Load += new System.EventHandler(this.FrmExcelView_Load);
  118. this.ResumeLayout(false);
  119. }
  120. #endregion
  121. private DevExpress.XtraEditors.SimpleButton btnOpenFile;
  122. private DevExpress.XtraEditors.SimpleButton btnSaveFile;
  123. private DevExpress.XtraEditors.SimpleButton btnClose;
  124. private DevExpress.XtraEditors.SimpleButton btnPreview;
  125. private DevExpress.XtraEditors.SimpleButton btnSaveAs;
  126. public DevExpress.XtraSpreadsheet.SpreadsheetControl spreadsheetControl1;
  127. }
  128. }