SVN r355
SVN-Revision: r355
This commit is contained in:
+4
-26
@@ -169,11 +169,10 @@ namespace Lskj.PubSpecialImport
|
||||
this.purview_Mulit.BackColor = System.Drawing.Color.White;
|
||||
this.purview_Mulit.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.purview_Mulit.EditText = "";
|
||||
this.purview_Mulit.EditValue = "";
|
||||
this.purview_Mulit.FontSize = 0F;
|
||||
this.purview_Mulit.LabelText = "名称";
|
||||
this.purview_Mulit.Location = new System.Drawing.Point(135, 2);
|
||||
this.purview_Mulit.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||
this.purview_Mulit.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.purview_Mulit.Model = null;
|
||||
this.purview_Mulit.Name = "purview_Mulit";
|
||||
this.purview_Mulit.NullText = "";
|
||||
@@ -181,6 +180,7 @@ namespace Lskj.PubSpecialImport
|
||||
this.purview_Mulit.Required = false;
|
||||
this.purview_Mulit.Size = new System.Drawing.Size(735, 17);
|
||||
this.purview_Mulit.TabIndex = 4;
|
||||
this.purview_Mulit.TextBoxProhibition = false;
|
||||
//
|
||||
// lb_purview
|
||||
//
|
||||
@@ -259,7 +259,7 @@ namespace Lskj.PubSpecialImport
|
||||
this.gc_Right.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.gc_Right.Name = "gc_Right";
|
||||
this.gc_Right.SiftEnumObj = Lskj.Control.GridControlEx.HeaderSiftEnum.Sum;
|
||||
this.gc_Right.Size = new System.Drawing.Size(366, 444);
|
||||
this.gc_Right.Size = new System.Drawing.Size(367, 444);
|
||||
this.gc_Right.TabIndex = 18;
|
||||
//
|
||||
// FrmMain
|
||||
@@ -288,26 +288,4 @@ namespace Lskj.PubSpecialImport
|
||||
((System.ComponentModel.ISupportInitialize)(this.tipsEdit.Properties)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.splitMainContainer)).EndInit();
|
||||
this.splitMainContainer.ResumeLayout(false);
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
#endregion
|
||||
private DevExpress.XtraEditors.SimpleButton btnImport;
|
||||
private DevExpress.XtraEditors.SimpleButton btnRead;
|
||||
private DevExpress.XtraEditors.PanelControl pl_bottom;
|
||||
private DevExpress.XtraEditors.SimpleButton btnCancel;
|
||||
private DevExpress.XtraEditors.SimpleButton btnOk;
|
||||
private DevExpress.XtraEditors.PanelControl pl_cond;
|
||||
private DevExpress.XtraEditors.TextEdit condTxtEdit;
|
||||
private System.Windows.Forms.Label lb_cond;
|
||||
private DevExpress.XtraEditors.PanelControl pl_purview;
|
||||
private Control.LabelMultiAutoTextEdit purview_Mulit;
|
||||
private System.Windows.Forms.Label lb_purview;
|
||||
private DevExpress.XtraEditors.PanelControl tips;
|
||||
private DevExpress.XtraEditors.TextEdit tipsEdit;
|
||||
private DevExpress.XtraEditors.SplitContainerControl splitMainContainer;
|
||||
private Control.GridControlEx gcMain;
|
||||
private Control.GridControlEx gc_Right;
|
||||
}
|
||||
}
|
||||
|
||||
this.ResumeLayout(f
|
||||
@@ -260,6 +260,7 @@ namespace Lskj.PubSpecialImport
|
||||
else
|
||||
{
|
||||
this.DialogResult = DialogResult.Cancel;
|
||||
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
@@ -274,7 +275,13 @@ namespace Lskj.PubSpecialImport
|
||||
{
|
||||
if (showType)
|
||||
{
|
||||
FormDialogModel dialogModel = new FormDialogModel()
|
||||
{
|
||||
PubDialogType = this.DialogResult == DialogResult.Cancel ? DialogType.Pubcolsed : DialogType.PubAddRecord
|
||||
};
|
||||
this.Tag = dialogModel;
|
||||
Close();
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1591,4 +1598,31 @@ namespace Lskj.PubSpecialImport
|
||||
{
|
||||
case CellType.String:
|
||||
cellValue = cell.StringCellValue;
|
||||
|
||||
break;
|
||||
case CellType.Numeric:
|
||||
cellValue = cell.NumericCellValue.ToString();
|
||||
break;
|
||||
case CellType.Boolean:
|
||||
cellValue = cell.BooleanCellValue.ToString();
|
||||
break;
|
||||
case CellType.Blank:
|
||||
break;
|
||||
default:
|
||||
cellValue.ToString();
|
||||
break;
|
||||
}
|
||||
break;
|
||||
default:
|
||||
cellValue = cell.ToString();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (Exception)
|
||||
{
|
||||
}
|
||||
return cellValue;
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user