?? knowledgemanage.cs
字號:
// txtktype.Properties
//
this.txtktype.Properties.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.Default;
this.txtktype.Properties.ReadOnly = true;
this.txtktype.Size = new System.Drawing.Size(452, 21);
this.txtktype.TabIndex = 54;
//
// txtktitle
//
this.txtktitle.EditValue = "";
this.txtktitle.Location = new System.Drawing.Point(75, 21);
this.txtktitle.Name = "txtktitle";
//
// txtktitle.Properties
//
this.txtktitle.Properties.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.Default;
this.txtktitle.Size = new System.Drawing.Size(452, 21);
this.txtktitle.TabIndex = 53;
//
// label7
//
this.label7.Location = new System.Drawing.Point(8, 96);
this.label7.Name = "label7";
this.label7.Size = new System.Drawing.Size(80, 23);
this.label7.TabIndex = 36;
this.label7.Text = "外網訪問標識";
this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// label3
//
this.label3.Location = new System.Drawing.Point(11, 68);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(64, 23);
this.label3.TabIndex = 32;
this.label3.Text = "關鍵字";
this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// label2
//
this.label2.Location = new System.Drawing.Point(11, 44);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(64, 23);
this.label2.TabIndex = 31;
this.label2.Text = "知識類別";
this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// label1
//
this.label1.Location = new System.Drawing.Point(11, 20);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(64, 23);
this.label1.TabIndex = 30;
this.label1.Text = "知識標題";
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// txtcamount
//
this.txtcamount.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.txtcamount.Location = new System.Drawing.Point(472, 232);
this.txtcamount.Name = "txtcamount";
this.txtcamount.ReadOnly = true;
this.txtcamount.Size = new System.Drawing.Size(88, 21);
this.txtcamount.TabIndex = 52;
this.txtcamount.Text = "";
//
// txtiamount
//
this.txtiamount.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.txtiamount.Location = new System.Drawing.Point(472, 208);
this.txtiamount.Name = "txtiamount";
this.txtiamount.ReadOnly = true;
this.txtiamount.Size = new System.Drawing.Size(88, 21);
this.txtiamount.TabIndex = 51;
this.txtiamount.Text = "";
//
// txtoamount
//
this.txtoamount.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.txtoamount.Location = new System.Drawing.Point(472, 184);
this.txtoamount.Name = "txtoamount";
this.txtoamount.ReadOnly = true;
this.txtoamount.Size = new System.Drawing.Size(88, 21);
this.txtoamount.TabIndex = 50;
this.txtoamount.Text = "";
//
// txtkaid
//
this.txtkaid.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.txtkaid.Location = new System.Drawing.Point(272, 208);
this.txtkaid.Name = "txtkaid";
this.txtkaid.ReadOnly = true;
this.txtkaid.Size = new System.Drawing.Size(128, 21);
this.txtkaid.TabIndex = 48;
this.txtkaid.Text = "";
//
// txtkwdate
//
this.txtkwdate.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.txtkwdate.Location = new System.Drawing.Point(64, 232);
this.txtkwdate.Name = "txtkwdate";
this.txtkwdate.ReadOnly = true;
this.txtkwdate.Size = new System.Drawing.Size(128, 21);
this.txtkwdate.TabIndex = 47;
this.txtkwdate.Text = "";
//
// txtkwname
//
this.txtkwname.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.txtkwname.Location = new System.Drawing.Point(64, 208);
this.txtkwname.Name = "txtkwname";
this.txtkwname.ReadOnly = true;
this.txtkwname.Size = new System.Drawing.Size(128, 21);
this.txtkwname.TabIndex = 46;
this.txtkwname.Text = "";
//
// txtkwid
//
this.txtkwid.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.txtkwid.Location = new System.Drawing.Point(216, 240);
this.txtkwid.Name = "txtkwid";
this.txtkwid.ReadOnly = true;
this.txtkwid.Size = new System.Drawing.Size(128, 21);
this.txtkwid.TabIndex = 45;
this.txtkwid.Text = "";
//
// label12
//
this.label12.Location = new System.Drawing.Point(408, 232);
this.label12.Name = "label12";
this.label12.Size = new System.Drawing.Size(72, 23);
this.label12.TabIndex = 41;
this.label12.Text = "坐席訪問量";
this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// label11
//
this.label11.Location = new System.Drawing.Point(408, 208);
this.label11.Name = "label11";
this.label11.Size = new System.Drawing.Size(64, 23);
this.label11.TabIndex = 40;
this.label11.Text = "IVR訪問量";
this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// label10
//
this.label10.Location = new System.Drawing.Point(408, 184);
this.label10.Name = "label10";
this.label10.Size = new System.Drawing.Size(72, 23);
this.label10.TabIndex = 39;
this.label10.Text = "外網訪問量";
this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// label9
//
this.label9.Location = new System.Drawing.Point(192, 232);
this.label9.Name = "label9";
this.label9.Size = new System.Drawing.Size(72, 23);
this.label9.TabIndex = 38;
this.label9.Text = "審核人姓名";
this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// label8
//
this.label8.Location = new System.Drawing.Point(192, 208);
this.label8.Name = "label8";
this.label8.Size = new System.Drawing.Size(80, 23);
this.label8.TabIndex = 37;
this.label8.Text = "審核人編號";
this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// label6
//
this.label6.Location = new System.Drawing.Point(0, 232);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(64, 23);
this.label6.TabIndex = 35;
this.label6.Text = "錄入時間";
this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// label5
//
this.label5.Location = new System.Drawing.Point(0, 208);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(72, 23);
this.label5.TabIndex = 34;
this.label5.Text = "錄入人姓名";
this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// txtkaname
//
this.txtkaname.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.txtkaname.Location = new System.Drawing.Point(283, 140);
this.txtkaname.Name = "txtkaname";
this.txtkaname.ReadOnly = true;
this.txtkaname.Size = new System.Drawing.Size(128, 21);
this.txtkaname.TabIndex = 49;
this.txtkaname.Text = "";
//
// label4
//
this.label4.Location = new System.Drawing.Point(184, 144);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(72, 23);
this.label4.TabIndex = 33;
this.label4.Text = "錄入人編號";
this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// hRichTextBox1
//
this.hRichTextBox1.BackColor = System.Drawing.SystemColors.Control;
this.hRichTextBox1.Dock = System.Windows.Forms.DockStyle.Fill;
this.hRichTextBox1.Location = new System.Drawing.Point(3, 3);
this.hRichTextBox1.Name = "hRichTextBox1";
this.hRichTextBox1.RtfText = "{\\rtf1\\ansi\\ansicpg936\\deff0\\deflang1033\\deflangfe2052{\\fonttbl{\\f0\\fnil\\fcharset" +
"134 \\\'cb\\\'ce\\\'cc\\\'e5;}}\r\n{\\*\\generator Riched20 5.40.11.2210;}\\viewkind4\\uc1\\par" +
"d\\lang2052\\f0\\fs18\\par\r\n}\r\n\0";
this.hRichTextBox1.Size = new System.Drawing.Size(662, 415);
this.hRichTextBox1.TabIndex = 7;
//
// panelControl1
//
this.panelControl1.Controls.Add(this.hRichTextBox1);
this.panelControl1.Dock = System.Windows.Forms.DockStyle.Fill;
this.panelControl1.Location = new System.Drawing.Point(184, 128);
this.panelControl1.Name = "panelControl1";
this.panelControl1.Size = new System.Drawing.Size(668, 421);
this.panelControl1.TabIndex = 8;
this.panelControl1.Text = "panelControl1";
//
// KnowledgeManage
//
this.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(141)), ((System.Byte)(193)), ((System.Byte)(230)));
this.Controls.Add(this.panelControl1);
this.Controls.Add(this.panel2);
this.Controls.Add(this.panel1);
this.Name = "KnowledgeManage";
this.Size = new System.Drawing.Size(852, 549);
this.Load += new System.EventHandler(this.KnowledgeManage_Load);
this.panel1.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.treeList1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.panel2)).EndInit();
this.panel2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.cboamark.Properties)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.txtkkeywords.Properties)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.txtktype.Properties)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.txtktitle.Properties)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.panelControl1)).EndInit();
this.panelControl1.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
private void KnowledgeManage_Load(object sender, System.EventArgs e)
{
this.hRichTextBox1.BackColor=Color.FromArgb(ShareClass.Rcolor,ShareClass.Gcolor,ShareClass.Bcolor);
initTreeList();
paintTreeList();
this.txtktitle.Focus();
}
private void initTreeList()
{
this.colTNAME = new DevExpress.XtraTreeList.Columns.TreeListColumn();
this.colOAMARK = new DevExpress.XtraTreeList.Columns.TreeListColumn();
this.colID = new DevExpress.XtraTreeList.Columns.TreeListColumn();
this.colPARENTID = new DevExpress.XtraTreeList.Columns.TreeListColumn();
//
// treeList1
//
this.treeList1.Columns.AddRange(new DevExpress.XtraTreeList.Columns.TreeListColumn[] {
this.colTNAME,
this.colOAMARK,
this.colID,
this.colPARENTID});
this.treeList1.Location = new System.Drawing.Point(16, 48);
this.treeList1.Name = "treeList1";
this.treeList1.Size = new System.Drawing.Size(280, 464);
this.treeList1.TabIndex = 0;
this.treeList1.FocusedNodeChanged += new DevExpress.XtraTreeList.FocusedNodeChangedEventHandler(this.treeList1_FocusedNodeChanged);
//
// colTNAME
//
this.colTNAME.Caption = "分類名稱";
this.colTNAME.FieldName = "TNAME";
this.colTNAME.Name = "colTNAME";
this.colTNAME.OptionsColumn.AllowEdit = false;
this.colTNAME.OptionsColumn.FixedWidth = true;
this.colTNAME.VisibleIndex = 0;
this.colTNAME.Width = 160;
//
// colOAMARK
//
this.colOAMARK.FieldName = "OAMARK";
this.colOAMARK.Name = "colOAMARK";
this.colOAMARK.OptionsColumn.AllowEdit = false;
this.colOAMARK.Width = 20;
//
// colID
//
this.colID.Caption = "ID";
this.colID.FieldName = "ID";
this.colID.Name = "colID";
this.colID.OptionsColumn.AllowEdit = false;
//
// colPARENTID
//
this.colPARENTID.Caption = "PARENTID";
this.colPARENTID.FieldName = "PARENTID";
this.colPARENTID.Name = "colPARENTID";
this.colPARENTID.OptionsColumn.AllowEdit = false;
}
private void treeList1_FocusedNodeChanged(object sender, FocusedNodeChangedEventArgs e)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -