Przeglądaj źródła

上传文件至 ''

Joey 3 tygodni temu
rodzic
commit
eebc5be9bc
2 zmienionych plików z 31 dodań i 33 usunięć
  1. 31 30
      UICompany.Designer.cs
  2. 0 3
      UICompany.resx

+ 31 - 30
UICompany.Designer.cs

@@ -90,12 +90,12 @@
             this.btnSaveContactor = new System.Windows.Forms.Button();
             this.label20 = new System.Windows.Forms.Label();
             this.label14 = new System.Windows.Forms.Label();
-            this.ofdUploadFile = new System.Windows.Forms.OpenFileDialog();
             this.tpgTask = new System.Windows.Forms.TabPage();
+            this.grdTaskList = new System.Windows.Forms.DataGridView();
             this.panel3 = new System.Windows.Forms.Panel();
-            this.btnAddtTask = new System.Windows.Forms.Button();
             this.cmbTaskType = new System.Windows.Forms.ComboBox();
-            this.grdTaskList = new System.Windows.Forms.DataGridView();
+            this.btnAddtTask = new System.Windows.Forms.Button();
+            this.ofdUploadFile = new System.Windows.Forms.OpenFileDialog();
             ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
             this.splitContainer1.Panel1.SuspendLayout();
             this.splitContainer1.Panel2.SuspendLayout();
@@ -115,8 +115,8 @@
             this.flowLayoutPanel1.SuspendLayout();
             this.groupBox3.SuspendLayout();
             this.tpgTask.SuspendLayout();
-            this.panel3.SuspendLayout();
             ((System.ComponentModel.ISupportInitialize)(this.grdTaskList)).BeginInit();
+            this.panel3.SuspendLayout();
             this.SuspendLayout();
             // 
             // splitContainer1
@@ -284,6 +284,7 @@
             // 
             this.txtCompanyShortName.BackColor = System.Drawing.SystemColors.Window;
             this.txtCompanyShortName.Location = new System.Drawing.Point(95, 35);
+            this.txtCompanyShortName.MaxLength = 100;
             this.txtCompanyShortName.Name = "txtCompanyShortName";
             this.txtCompanyShortName.Size = new System.Drawing.Size(149, 23);
             this.txtCompanyShortName.TabIndex = 24;
@@ -789,6 +790,22 @@
             this.tpgTask.Text = "任务";
             this.tpgTask.UseVisualStyleBackColor = true;
             // 
+            // grdTaskList
+            // 
+            this.grdTaskList.AllowUserToAddRows = false;
+            this.grdTaskList.AllowUserToDeleteRows = false;
+            this.grdTaskList.AllowUserToOrderColumns = true;
+            this.grdTaskList.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
+            this.grdTaskList.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.grdTaskList.Location = new System.Drawing.Point(0, 51);
+            this.grdTaskList.Name = "grdTaskList";
+            this.grdTaskList.ReadOnly = true;
+            this.grdTaskList.RowHeadersVisible = false;
+            this.grdTaskList.RowTemplate.Height = 23;
+            this.grdTaskList.Size = new System.Drawing.Size(792, 304);
+            this.grdTaskList.TabIndex = 1;
+            this.grdTaskList.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.grdTaskList_CellClick);
+            // 
             // panel3
             // 
             this.panel3.Controls.Add(this.cmbTaskType);
@@ -799,6 +816,15 @@
             this.panel3.Size = new System.Drawing.Size(792, 51);
             this.panel3.TabIndex = 0;
             // 
+            // cmbTaskType
+            // 
+            this.cmbTaskType.FormattingEnabled = true;
+            this.cmbTaskType.Location = new System.Drawing.Point(19, 13);
+            this.cmbTaskType.Name = "cmbTaskType";
+            this.cmbTaskType.Size = new System.Drawing.Size(121, 25);
+            this.cmbTaskType.TabIndex = 3;
+            this.cmbTaskType.SelectedIndexChanged += new System.EventHandler(this.cmbTaskType_SelectedIndexChanged);
+            // 
             // btnAddtTask
             // 
             this.btnAddtTask.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
@@ -811,31 +837,6 @@
             this.btnAddtTask.UseVisualStyleBackColor = false;
             this.btnAddtTask.Click += new System.EventHandler(this.btnAddtTask_Click);
             // 
-            // cmbTaskType
-            // 
-            this.cmbTaskType.FormattingEnabled = true;
-            this.cmbTaskType.Location = new System.Drawing.Point(19, 13);
-            this.cmbTaskType.Name = "cmbTaskType";
-            this.cmbTaskType.Size = new System.Drawing.Size(121, 25);
-            this.cmbTaskType.TabIndex = 3;
-            this.cmbTaskType.SelectedIndexChanged += new System.EventHandler(this.cmbTaskType_SelectedIndexChanged);
-            // 
-            // grdTaskList
-            // 
-            this.grdTaskList.AllowUserToAddRows = false;
-            this.grdTaskList.AllowUserToDeleteRows = false;
-            this.grdTaskList.AllowUserToOrderColumns = true;
-            this.grdTaskList.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
-            this.grdTaskList.Dock = System.Windows.Forms.DockStyle.Fill;
-            this.grdTaskList.Location = new System.Drawing.Point(0, 51);
-            this.grdTaskList.Name = "grdTaskList";
-            this.grdTaskList.ReadOnly = true;
-            this.grdTaskList.RowHeadersVisible = false;
-            this.grdTaskList.RowTemplate.Height = 23;
-            this.grdTaskList.Size = new System.Drawing.Size(792, 304);
-            this.grdTaskList.TabIndex = 1;
-            this.grdTaskList.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.grdTaskList_CellClick);
-            // 
             // UICompany
             // 
             this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
@@ -870,8 +871,8 @@
             this.groupBox3.ResumeLayout(false);
             this.groupBox3.PerformLayout();
             this.tpgTask.ResumeLayout(false);
-            this.panel3.ResumeLayout(false);
             ((System.ComponentModel.ISupportInitialize)(this.grdTaskList)).EndInit();
+            this.panel3.ResumeLayout(false);
             this.ResumeLayout(false);
 
         }

+ 0 - 3
UICompany.resx

@@ -120,9 +120,6 @@
   <metadata name="sstCompany.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
     <value>17, 17</value>
   </metadata>
-  <metadata name="sstCompany.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
-    <value>17, 17</value>
-  </metadata>
   <metadata name="ofdUploadFile.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
     <value>143, 17</value>
   </metadata>