?? pdijcmanage.cs
字號:
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using CallCenter.BusinessLayer;
using CallCenter.DALFactory;
using CallCenter.IDAL;
using CallCenter.Modules;
using CallCenter.OracleDAL;
using System.Data;
namespace CallCenter.BusinessInterfaces.MainForms
{
/// <summary>
/// XsxxManage 的摘要說明。
/// </summary>
public class PdijcManage : System.Windows.Forms.UserControl
{
private System.Windows.Forms.Label label9;
private DevExpress.XtraEditors.ComboBoxEdit cbstate;
private DevExpress.XtraEditors.MemoEdit txtbz;
private DevExpress.XtraEditors.DateEdit dtrkrq;
private DevExpress.XtraEditors.ComboBoxEdit cbscdw;
private DevExpress.XtraEditors.ComboBoxEdit cbclxz;
private DevExpress.XtraEditors.ComboBoxEdit cbpp;
private DevExpress.XtraEditors.ComboBoxEdit cbys;
private DevExpress.XtraEditors.DateEdit dtxxrq;
private DevExpress.XtraEditors.TextEdit txtggxh;
private DevExpress.XtraEditors.TextEdit txtfdjhm;
private DevExpress.XtraEditors.TextEdit txtfdjxh;
private DevExpress.XtraEditors.TextEdit txtccbh;
private System.Windows.Forms.Label label7;
private System.Windows.Forms.Label label10;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Label label8;
private System.Windows.Forms.Label label13;
private System.Windows.Forms.Label label6;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.Label label11;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label5;
private System.Windows.Forms.Label label2;
private DevExpress.XtraEditors.GroupControl groupControl1;
private DevExpress.XtraEditors.GroupControl groupControl3;
private System.Windows.Forms.Label label36;
private System.Windows.Forms.Label label37;
private System.Windows.Forms.Label label38;
private System.Windows.Forms.Label label40;
private System.Windows.Forms.DataGrid dgPriver;
private DevExpress.XtraEditors.SimpleButton btReset;
private DevExpress.XtraEditors.SimpleButton btDelete;
private DevExpress.XtraEditors.SimpleButton btSave;
private DevExpress.XtraEditors.SimpleButton btAdd;
private WebMIS.GoldFilter.GridDataFilter gridDataFilter1;
private System.Windows.Forms.CheckBox checkBox1;
private DataSet dsservice=null;
private DevExpress.XtraEditors.MemoEdit mmbz;
private CarkuInfo carku=null;
private DevExpress.XtraEditors.DateEdit dtjcrq;
private DevExpress.XtraEditors.TextEdit txtzrcj;
private DevExpress.XtraEditors.TextEdit txtwtjqx;
private DevExpress.XtraEditors.SimpleButton simpleButton1;
private DevExpress.XtraPrinting.PrintingSystem ps = new DevExpress.XtraPrinting.PrintingSystem();
private DevExpress.XtraPrintingLinks.DataGridLink printLink = new DevExpress.XtraPrintingLinks.DataGridLink();
/// <summary>
/// 必需的設計器變量。
/// </summary>
private System.ComponentModel.Container components = null;
public PdijcManage()
{
// 該調用是 Windows.Forms 窗體設計器所必需的。
InitializeComponent();
// TODO: 在 InitializeComponent 調用后添加任何初始化
}
/// <summary>
/// 清理所有正在使用的資源。
/// </summary>
protected override void Dispose( bool disposing )
{
if( disposing )
{
if(components != null)
{
components.Dispose();
}
}
base.Dispose( disposing );
}
#region 組件設計器生成的代碼
/// <summary>
/// 設計器支持所需的方法 - 不要使用代碼編輯器
/// 修改此方法的內容。
/// </summary>
private void InitializeComponent()
{
this.label9 = new System.Windows.Forms.Label();
this.cbstate = new DevExpress.XtraEditors.ComboBoxEdit();
this.txtbz = new DevExpress.XtraEditors.MemoEdit();
this.dtrkrq = new DevExpress.XtraEditors.DateEdit();
this.cbscdw = new DevExpress.XtraEditors.ComboBoxEdit();
this.cbclxz = new DevExpress.XtraEditors.ComboBoxEdit();
this.cbpp = new DevExpress.XtraEditors.ComboBoxEdit();
this.cbys = new DevExpress.XtraEditors.ComboBoxEdit();
this.dtxxrq = new DevExpress.XtraEditors.DateEdit();
this.txtggxh = new DevExpress.XtraEditors.TextEdit();
this.txtfdjhm = new DevExpress.XtraEditors.TextEdit();
this.txtfdjxh = new DevExpress.XtraEditors.TextEdit();
this.txtccbh = new DevExpress.XtraEditors.TextEdit();
this.label7 = new System.Windows.Forms.Label();
this.label10 = new System.Windows.Forms.Label();
this.label3 = new System.Windows.Forms.Label();
this.label8 = new System.Windows.Forms.Label();
this.label13 = new System.Windows.Forms.Label();
this.label6 = new System.Windows.Forms.Label();
this.label4 = new System.Windows.Forms.Label();
this.label11 = new System.Windows.Forms.Label();
this.label1 = new System.Windows.Forms.Label();
this.label5 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.groupControl1 = new DevExpress.XtraEditors.GroupControl();
this.groupControl3 = new DevExpress.XtraEditors.GroupControl();
this.simpleButton1 = new DevExpress.XtraEditors.SimpleButton();
this.checkBox1 = new System.Windows.Forms.CheckBox();
this.dgPriver = new System.Windows.Forms.DataGrid();
this.btReset = new DevExpress.XtraEditors.SimpleButton();
this.btDelete = new DevExpress.XtraEditors.SimpleButton();
this.btSave = new DevExpress.XtraEditors.SimpleButton();
this.btAdd = new DevExpress.XtraEditors.SimpleButton();
this.gridDataFilter1 = new WebMIS.GoldFilter.GridDataFilter();
this.label40 = new System.Windows.Forms.Label();
this.mmbz = new DevExpress.XtraEditors.MemoEdit();
this.dtjcrq = new DevExpress.XtraEditors.DateEdit();
this.txtzrcj = new DevExpress.XtraEditors.TextEdit();
this.txtwtjqx = new DevExpress.XtraEditors.TextEdit();
this.label38 = new System.Windows.Forms.Label();
this.label37 = new System.Windows.Forms.Label();
this.label36 = new System.Windows.Forms.Label();
((System.ComponentModel.ISupportInitialize)(this.cbstate.Properties)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.txtbz.Properties)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.dtrkrq.Properties)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.cbscdw.Properties)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.cbclxz.Properties)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.cbpp.Properties)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.cbys.Properties)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.dtxxrq.Properties)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.txtggxh.Properties)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.txtfdjhm.Properties)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.txtfdjxh.Properties)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.txtccbh.Properties)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.groupControl1)).BeginInit();
this.groupControl1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.groupControl3)).BeginInit();
this.groupControl3.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.dgPriver)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.mmbz.Properties)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.dtjcrq.Properties)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.txtzrcj.Properties)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.txtwtjqx.Properties)).BeginInit();
this.SuspendLayout();
//
// label9
//
this.label9.Location = new System.Drawing.Point(16, 72);
this.label9.Name = "label9";
this.label9.Size = new System.Drawing.Size(56, 23);
this.label9.TabIndex = 74;
this.label9.Text = "銷售狀態";
this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// cbstate
//
this.cbstate.EditValue = "";
this.cbstate.Enabled = false;
this.cbstate.Location = new System.Drawing.Point(72, 72);
this.cbstate.Name = "cbstate";
//
// cbstate.Properties
//
this.cbstate.Properties.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.Default;
this.cbstate.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
this.cbstate.Properties.Items.AddRange(new object[] {
"未售",
"已售"});
this.cbstate.Size = new System.Drawing.Size(104, 21);
this.cbstate.TabIndex = 73;
//
// txtbz
//
this.txtbz.EditValue = "";
this.txtbz.Enabled = false;
this.txtbz.Location = new System.Drawing.Point(240, 72);
this.txtbz.Name = "txtbz";
//
// txtbz.Properties
//
this.txtbz.Properties.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.Default;
this.txtbz.Size = new System.Drawing.Size(600, 21);
this.txtbz.TabIndex = 72;
//
// dtrkrq
//
this.dtrkrq.EditValue = new System.DateTime(2006, 8, 23, 19, 10, 22, 515);
this.dtrkrq.Enabled = false;
this.dtrkrq.Location = new System.Drawing.Point(568, 48);
this.dtrkrq.Name = "dtrkrq";
//
// dtrkrq.Properties
//
this.dtrkrq.Properties.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.Default;
this.dtrkrq.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
this.dtrkrq.Properties.Mask.UseMaskAsDisplayFormat = true;
this.dtrkrq.Size = new System.Drawing.Size(112, 21);
this.dtrkrq.TabIndex = 71;
//
// cbscdw
//
this.cbscdw.EditValue = "";
this.cbscdw.Enabled = false;
this.cbscdw.Location = new System.Drawing.Point(400, 48);
this.cbscdw.Name = "cbscdw";
//
// cbscdw.Properties
//
this.cbscdw.Properties.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.Default;
this.cbscdw.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
this.cbscdw.Size = new System.Drawing.Size(104, 21);
this.cbscdw.TabIndex = 70;
//
// cbclxz
//
this.cbclxz.EditValue = "";
this.cbclxz.Enabled = false;
this.cbclxz.Location = new System.Drawing.Point(736, 24);
this.cbclxz.Name = "cbclxz";
//
// cbclxz.Properties
//
this.cbclxz.Properties.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.Default;
this.cbclxz.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
this.cbclxz.Size = new System.Drawing.Size(104, 21);
this.cbclxz.TabIndex = 69;
//
// cbpp
//
this.cbpp.EditValue = "";
this.cbpp.Enabled = false;
this.cbpp.Location = new System.Drawing.Point(400, 24);
this.cbpp.Name = "cbpp";
//
// cbpp.Properties
//
this.cbpp.Properties.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.Default;
this.cbpp.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
this.cbpp.Size = new System.Drawing.Size(104, 21);
this.cbpp.TabIndex = 68;
//
// cbys
//
this.cbys.EditValue = "";
this.cbys.Enabled = false;
this.cbys.Location = new System.Drawing.Point(240, 24);
this.cbys.Name = "cbys";
//
// cbys.Properties
//
this.cbys.Properties.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.Default;
this.cbys.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
this.cbys.Size = new System.Drawing.Size(104, 21);
this.cbys.TabIndex = 67;
//
// dtxxrq
//
this.dtxxrq.EditValue = new System.DateTime(2006, 8, 26, 0, 0, 0, 0);
this.dtxxrq.Enabled = false;
this.dtxxrq.Location = new System.Drawing.Point(72, 48);
this.dtxxrq.Name = "dtxxrq";
//
// dtxxrq.Properties
//
this.dtxxrq.Properties.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.Default;
this.dtxxrq.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
this.dtxxrq.Properties.Mask.UseMaskAsDisplayFormat = true;
this.dtxxrq.Size = new System.Drawing.Size(104, 21);
this.dtxxrq.TabIndex = 66;
//
// txtggxh
//
this.txtggxh.EditValue = "";
this.txtggxh.Enabled = false;
this.txtggxh.Location = new System.Drawing.Point(736, 48);
this.txtggxh.Name = "txtggxh";
//
// txtggxh.Properties
//
this.txtggxh.Properties.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.Default;
this.txtggxh.Size = new System.Drawing.Size(104, 21);
this.txtggxh.TabIndex = 58;
//
// txtfdjhm
//
this.txtfdjhm.EditValue = "";
this.txtfdjhm.Enabled = false;
this.txtfdjhm.Location = new System.Drawing.Point(240, 48);
this.txtfdjhm.Name = "txtfdjhm";
//
// txtfdjhm.Properties
//
this.txtfdjhm.Properties.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.Default;
this.txtfdjhm.Size = new System.Drawing.Size(104, 21);
this.txtfdjhm.TabIndex = 55;
//
// txtfdjxh
//
this.txtfdjxh.EditValue = "";
this.txtfdjxh.Enabled = false;
this.txtfdjxh.Location = new System.Drawing.Point(568, 24);
this.txtfdjxh.Name = "txtfdjxh";
//
// txtfdjxh.Properties
//
this.txtfdjxh.Properties.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.Default;
this.txtfdjxh.Size = new System.Drawing.Size(112, 21);
this.txtfdjxh.TabIndex = 50;
//
// txtccbh
//
this.txtccbh.EditValue = "";
this.txtccbh.Enabled = false;
this.txtccbh.Location = new System.Drawing.Point(72, 24);
this.txtccbh.Name = "txtccbh";
//
// txtccbh.Properties
//
this.txtccbh.Properties.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.Default;
this.txtccbh.Size = new System.Drawing.Size(104, 21);
this.txtccbh.TabIndex = 48;
//
// label7
//
this.label7.Font = new System.Drawing.Font("宋體", 9F);
this.label7.Location = new System.Drawing.Point(176, 24);
this.label7.Name = "label7";
this.label7.Size = new System.Drawing.Size(56, 23);
this.label7.TabIndex = 40;
this.label7.Text = "車體顏色";
this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// label10
//
this.label10.Font = new System.Drawing.Font("宋體", 9F);
this.label10.Location = new System.Drawing.Point(680, 24);
this.label10.Name = "label10";
this.label10.Size = new System.Drawing.Size(56, 23);
this.label10.TabIndex = 31;
this.label10.Text = "車輛性質";
this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// label3
//
this.label3.Font = new System.Drawing.Font("宋體", 9F);
this.label3.Location = new System.Drawing.Point(344, 24);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(56, 23);
this.label3.TabIndex = 24;
this.label3.Text = "車輛品牌";
this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// label8
//
this.label8.Font = new System.Drawing.Font("宋體", 9F);
this.label8.Location = new System.Drawing.Point(344, 48);
this.label8.Name = "label8";
this.label8.Size = new System.Drawing.Size(56, 23);
this.label8.TabIndex = 43;
this.label8.Text = "生產單位";
this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// label13
//
this.label13.Font = new System.Drawing.Font("宋體", 9F);
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -