Thursday, March 11, 2010

introduction


After that, the papers show the introduction of next generation call center with which traditional call center compares and describes the importance of gatekeeper and IVR in next generation call center system. The concern of this paper is about the improvement and implemention of gatekeeper and IVR based on H.323 protocol. In the forth chapter, it shows the structure of gatekeeper program, and then focuses on the routing module and cascade module which is improved and implemented based on the concrete application by author. In the fifth chapter, the paper introduces the architecture of IVR, and then focuses on the improvement and implement ion of call control layer and application control layer. besides, the analyses of vxml configurable file impels the whole program to generate a good business standard. And this criterion also supports the high level business development well.Finally, this paper shows a detailed description of test on improved gatekeeper and IVR in the situation of simulated call center system, and the results achieve the target. Nowadays, the tow programs has passed tests and apply in HuBei Postal Company call center which called 11185 hotline.

Wednesday, March 3, 2010

approaches

approaches which use range images: 3D object recovering in range cheap polo shirts has a longer historyand systems developed for this purpose have demonstrated a large variety of methods. Besl(1990) reviewed the difficulties in matching free form objects in range data using only points.Such matching procedures like ICP (Besl, & McKay, 1992) have exponential computationalcomplexity. ralph lauren polo shirts, most researchers have developed techniques to reduce the amount ofcomputation required. These methods often group corresponding model and scene point pairsinto sets that can be used to determine object pose in the cheap ralph lauren polo shirts.

Thursday, January 28, 2010

GameStauts.cs

using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace YYTetris
{
public enum GameStatus
{
Ready,
Play,
Pause,
Over
}
}

App.xaml.cs

using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace YYTetris
{
public partial class App : Application
{

public App()
{
this.Startup += this.Application_Startup;
this.Exit += this.Application_Exit;
this.UnhandledException += this.Application_UnhandledException;

InitializeComponent();
}

private void Application_Startup(object sender, StartupEventArgs e)
{
this.RootVisual = new Page();
}

private void Application_Exit(object sender, EventArgs e)
{

}
private void Application_UnhandledException(object sender, ApplicationUnhandledExceptionEventArgs e)
{
// 如果应用程序是在调试器外运行的,则使用浏览器的
// 异常机制报告该异常。在 IE 上,将在状态栏中用一个
// 黄色警报图标来显示该异常,而 Firefox 则会显示一个脚本错误。
if (!System.Diagnostics.Debugger.IsAttached)
{

// 注意: 这使应用程序可以在已引发异常但尚未处理该异常的情况下
// 继续运行。
// 对于生产应用程序,此错误处理应替换为向网站报告错误
// 并停止应用程序。
e.Handled = true;
Deployment.Current.Dispatcher.BeginInvoke(delegate { ReportErrorToDOM(e); });
}
}
private void ReportErrorToDOM(ApplicationUnhandledExceptionEventArgs e)
{
try
{
string errorMsg = e.ExceptionObject.Message + e.ExceptionObject.StackTrace;
errorMsg = errorMsg.Replace('"', '\'').Replace("\r\n", @"\n");

System.Windows.Browser.HtmlPage.Window.Eval("throw new Error(\"Unhandled Error in Silverlight 2 Application " + errorMsg + "\");");
}
catch (Exception)
{
}
}
}
}

Display master-detail table using GridView and add a delete, open, close functions

aspx

<%@ Page Language="C#" AutoEventWireup="true" EnableViewState="true" CodeFile="Default2.aspx.cs" Inherits="Default2" %>




利用GridView显示主细表并添加打开、关闭功能







BorderWidth="1" OnRowDataBound="MasterGridView_RowDataBound" DataKeyNames="id"
ShowHeader="false">




栏目名称:<%#Eval("Title") %>',event)">隐藏

">
HorizontalAlign="left" DataKeyNames="id" AutoGenerateDeleteButton="true" OnRowCommand="DetailGridView_RowCommand"
OnRowDeleting="DetailGridView_RowDeleting" Width="720px">




/read.aspx">
<%#Eval("Title") %>
[<%# Eval("HitCount") %>]


HeaderStyle-Width="100px" ItemStyle-HorizontalAlign="Center" />











C#

using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data.OleDb;
using System.Web.UI.HtmlControls;

public partial class Default2 : System.Web.UI.Page
{
string ConnectionString = @"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=|DataDirectory|\aspxWeb.mdb;Persist Security Info=True";
OleDbConnection cn1;


protected void Page_Load( object sender, EventArgs e )
{
if (!Page.IsPostBack)
{
OleDbConnection cn = new OleDbConnection(ConnectionString);
cn.Open();
cn1 = new OleDbConnection(ConnectionString);
cn1.Open();
OleDbCommand cmd = new OleDbCommand("select * from [Subject]", cn);
OleDbDataReader dr = cmd.ExecuteReader(CommandBehavior.CloseConnection);
MasterGridView.DataSource = dr;
MasterGridView.DataBind();
dr.Close();
cmd.Dispose();
cn.Dispose();
cn1.Dispose();
cn = cn1 = null;
}
}
protected void MasterGridView_RowDataBound( object sender, GridViewRowEventArgs e )
{
if (e.Row.RowType == DataControlRowType.DataRow)
{

GridView oGridView = (GridView)e.Row.FindControl("DetailGridView");
if (oGridView != null)
{
OleDbCommand cmd = new OleDbCommand("select top 10 * from Document Where pid = " + MasterGridView.DataKeys[e.Row.RowIndex].Value, cn1);
OleDbDataReader dr1 = cmd.ExecuteReader();
oGridView.DataSource = dr1;
oGridView.DataBind();
dr1.Close();
cmd.Dispose();
}
}
}

protected void DetailGridView_RowDeleting( object sender, GridViewDeleteEventArgs e )
{
GridView a = (GridView)sender;
Response.Write("您要删除的记录是:" + a.DataKeys[e.RowIndex].Value.ToString() + "    TODO:执行删除动作");
// TODO:执行删除动作
}
protected void DetailGridView_RowCommand( object sender, GridViewCommandEventArgs e )
{

}
}


Note: EnableViewState = "true" is a must.

FrmMain.Designer.cs

namespace PowerTalkClient
{
using AgentObjects;
partial class FrmMain
{
///
/// 必需的设计器变量。
///

private System.ComponentModel.IContainer components = null;
private AxAgentObjects.AxAgent axAgent1;
private IAgentCtlCharacterEx Character;
///
/// 清理所有正在使用的资源。
///

/// 如果应释放托管资源,为 true;否则为 false。
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}

#region Windows 窗体设计器生成的代码

///
/// 设计器支持所需的方法 - 不要
/// 使用代码编辑器修改此方法的内容。
///

private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmMain));
this.axAgent1 = new AxAgentObjects.AxAgent();
this.menuStrip1 = new System.Windows.Forms.MenuStrip();
this.系统ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.修改密码ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.我的状态ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.退出ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.工具ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.服务器ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.飞信服务器ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.帮助ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.statusStrip1 = new System.Windows.Forms.StatusStrip();
this.toolStrip1 = new System.Windows.Forms.ToolStrip();
this.toolStripButton1 = new System.Windows.Forms.ToolStripButton();
this.toolStripButton2 = new System.Windows.Forms.ToolStripButton();
this.toolStripButton4 = new System.Windows.Forms.ToolStripButton();
this.toolStripButton3 = new System.Windows.Forms.ToolStripButton();
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
this.splitContainer2 = new System.Windows.Forms.SplitContainer();
this.dataGridView1 = new System.Windows.Forms.DataGridView();
this.状态 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.访客ID = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.次数 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.IP地址 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.地理位置 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.进入时刻 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.离开时刻 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.最后消息时间 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.客服 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.最近访问页面 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.xingmingtxt = new System.Windows.Forms.TextBox();
this.xingbingcombox = new System.Windows.Forms.ComboBox();
this.fenleicombox = new System.Windows.Forms.ComboBox();
this.qqtxt = new System.Windows.Forms.TextBox();
this.shoujihaomatxt = new System.Windows.Forms.TextBox();
this.msntxt = new System.Windows.Forms.TextBox();
this.fangweniptxt = new System.Windows.Forms.TextBox();
this.gudingdianhuatxt = new System.Windows.Forms.TextBox();
this.emailtxt = new System.Windows.Forms.TextBox();
this.nichengtxt = new System.Windows.Forms.TextBox();
this.label13 = new System.Windows.Forms.Label();
this.label12 = new System.Windows.Forms.Label();
this.label11 = new System.Windows.Forms.Label();
this.label10 = new System.Windows.Forms.Label();
this.label9 = new System.Windows.Forms.Label();
this.label8 = new System.Windows.Forms.Label();
this.label7 = new System.Windows.Forms.Label();
this.label5 = new System.Windows.Forms.Label();
this.label4 = new System.Windows.Forms.Label();
this.label3 = new System.Windows.Forms.Label();
this.button3 = new System.Windows.Forms.Button();
this.button2 = new System.Windows.Forms.Button();
this.button1 = new System.Windows.Forms.Button();
this.dataGridView2 = new System.Windows.Forms.DataGridView();
this.ID = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.姓名 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.昵称 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.性别 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.固定电话 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.手机号码 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Email = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.QQ = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.MSN = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.公司 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.地址 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.网址 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.分类 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.详细地址 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.登录IP = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.订阅与否 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.备注 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.splitContainer3 = new System.Windows.Forms.SplitContainer();
this.richTextBox1 = new System.Windows.Forms.RichTextBox();
this.ClearRecordBtn = new System.Windows.Forms.Button();
this.label2 = new System.Windows.Forms.Label();
this.amniationchk = new System.Windows.Forms.CheckBox();
this.UserTo = new System.Windows.Forms.Label();
this.axAgent2 = new AxAgentObjects.AxAgent();
this.label6 = new System.Windows.Forms.Label();
this.textBox5 = new System.Windows.Forms.TextBox();
this.PTB_Runner = new System.Windows.Forms.Button();
this.label1 = new System.Windows.Forms.Label();
this.PTB_Send = new System.Windows.Forms.Button();
this.richTextBox2 = new System.Windows.Forms.RichTextBox();
this.timer1 = new System.Windows.Forms.Timer(this.components);
this.notifyIcon1 = new System.Windows.Forms.NotifyIcon(this.components);
this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components);
this.退出ToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
this.RiChangYongYu = new System.Windows.Forms.ListBox();
this.Addbutton = new System.Windows.Forms.Button();
this.Delbutton = new System.Windows.Forms.Button();
this.DuanYuTxt = new System.Windows.Forms.TextBox();
((System.ComponentModel.ISupportInitialize)(this.axAgent1)).BeginInit();
this.menuStrip1.SuspendLayout();
this.toolStrip1.SuspendLayout();
this.splitContainer1.Panel1.SuspendLayout();
this.splitContainer1.Panel2.SuspendLayout();
this.splitContainer1.SuspendLayout();
this.splitContainer2.Panel1.SuspendLayout();
this.splitContainer2.Panel2.SuspendLayout();
this.splitContainer2.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.dataGridView2)).BeginInit();
this.splitContainer3.Panel1.SuspendLayout();
this.splitContainer3.Panel2.SuspendLayout();
this.splitContainer3.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.axAgent2)).BeginInit();
this.contextMenuStrip1.SuspendLayout();
this.SuspendLayout();
//
// axAgent1
//
this.axAgent1.Enabled = true;
this.axAgent1.Location = new System.Drawing.Point(56, 176);
this.axAgent1.Name = "axAgent1";
this.axAgent1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axAgent1.OcxState")));
this.axAgent1.Size = new System.Drawing.Size(32, 32);
this.axAgent1.TabIndex = 5;
//
// menuStrip1
//
this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.系统ToolStripMenuItem,
this.工具ToolStripMenuItem,
this.服务器ToolStripMenuItem,
this.帮助ToolStripMenuItem});
this.menuStrip1.Location = new System.Drawing.Point(0, 0);
this.menuStrip1.Name = "menuStrip1";
this.menuStrip1.Size = new System.Drawing.Size(803, 24);
this.menuStrip1.TabIndex = 0;
this.menuStrip1.Text = "menuStrip1";
//
// 系统ToolStripMenuItem
//
this.系统ToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.修改密码ToolStripMenuItem,
this.我的状态ToolStripMenuItem,
this.退出ToolStripMenuItem});
this.系统ToolStripMenuItem.Name = "系统ToolStripMenuItem";
this.系统ToolStripMenuItem.Size = new System.Drawing.Size(41, 20);
this.系统ToolStripMenuItem.Text = "系统";
//
// 修改密码ToolStripMenuItem
//
this.修改密码ToolStripMenuItem.Name = "修改密码ToolStripMenuItem";
this.修改密码ToolStripMenuItem.Size = new System.Drawing.Size(118, 22);
this.修改密码ToolStripMenuItem.Text = "修改密码";
//
// 我的状态ToolStripMenuItem
//
this.我的状态ToolStripMenuItem.Name = "我的状态ToolStripMenuItem";
this.我的状态ToolStripMenuItem.Size = new System.Drawing.Size(118, 22);
this.我的状态ToolStripMenuItem.Text = "我的状态";
//
// 退出ToolStripMenuItem
//
this.退出ToolStripMenuItem.Name = "退出ToolStripMenuItem";
this.退出ToolStripMenuItem.Size = new System.Drawing.Size(118, 22);
this.退出ToolStripMenuItem.Text = "退出";
this.退出ToolStripMenuItem.Click += new System.EventHandler(this.退出ToolStripMenuItem_Click);
//
// 工具ToolStripMenuItem
//
this.工具ToolStripMenuItem.Name = "工具ToolStripMenuItem";
this.工具ToolStripMenuItem.Size = new System.Drawing.Size(41, 20);
this.工具ToolStripMenuItem.Text = "工具";
//
// 服务器ToolStripMenuItem
//
this.服务器ToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.飞信服务器ToolStripMenuItem});
this.服务器ToolStripMenuItem.Name = "服务器ToolStripMenuItem";
this.服务器ToolStripMenuItem.Size = new System.Drawing.Size(77, 20);
this.服务器ToolStripMenuItem.Text = "外出服务器";
//
// 飞信服务器ToolStripMenuItem
//
this.飞信服务器ToolStripMenuItem.Name = "飞信服务器ToolStripMenuItem";
this.飞信服务器ToolStripMenuItem.Size = new System.Drawing.Size(130, 22);
this.飞信服务器ToolStripMenuItem.Text = "飞信服务器";
this.飞信服务器ToolStripMenuItem.Click += new System.EventHandler(this.飞信服务器ToolStripMenuItem_Click);
//
// 帮助ToolStripMenuItem
//
this.帮助ToolStripMenuItem.Name = "帮助ToolStripMenuItem";
this.帮助ToolStripMenuItem.Size = new System.Drawing.Size(41, 20);
this.帮助ToolStripMenuItem.Text = "帮助";
//
// statusStrip1
//
this.statusStrip1.Location = new System.Drawing.Point(0, 521);
this.statusStrip1.Name = "statusStrip1";
this.statusStrip1.Size = new System.Drawing.Size(803, 22);
this.statusStrip1.TabIndex = 1;
this.statusStrip1.Text = "statusStrip1";
//
// toolStrip1
//
this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.toolStripButton1,
this.toolStripButton2,
this.toolStripButton4,
this.toolStripButton3});
this.toolStrip1.Location = new System.Drawing.Point(0, 24);
this.toolStrip1.Name = "toolStrip1";
this.toolStrip1.Size = new System.Drawing.Size(803, 25);
this.toolStrip1.TabIndex = 2;
this.toolStrip1.Text = "toolStrip1";
//
// toolStripButton1
//
this.toolStripButton1.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton1.Image")));
this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta;
this.toolStripButton1.Name = "toolStripButton1";
this.toolStripButton1.Size = new System.Drawing.Size(61, 22);
this.toolStripButton1.Text = "踢下线";
this.toolStripButton1.Click += new System.EventHandler(this.toolStripButton1_Click);
//
// toolStripButton2
//
this.toolStripButton2.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton2.Image")));
this.toolStripButton2.ImageTransparentColor = System.Drawing.Color.Magenta;
this.toolStripButton2.Name = "toolStripButton2";
this.toolStripButton2.Size = new System.Drawing.Size(73, 22);
this.toolStripButton2.Text = "客户添加";
this.toolStripButton2.Click += new System.EventHandler(this.toolStripButton2_Click);
//
// toolStripButton4
//
this.toolStripButton4.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton4.Image")));
this.toolStripButton4.ImageTransparentColor = System.Drawing.Color.Magenta;
this.toolStripButton4.Name = "toolStripButton4";
this.toolStripButton4.Size = new System.Drawing.Size(73, 22);
this.toolStripButton4.Text = "删除客户";
this.toolStripButton4.Click += new System.EventHandler(this.toolStripButton4_Click);
//
// toolStripButton3
//
this.toolStripButton3.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton3.Image")));
this.toolStripButton3.ImageTransparentColor = System.Drawing.Color.Magenta;
this.toolStripButton3.Name = "toolStripButton3";
this.toolStripButton3.Size = new System.Drawing.Size(73, 22);
this.toolStripButton3.Text = "客户修改";
this.toolStripButton3.Click += new System.EventHandler(this.toolStripButton3_Click);
//
// splitContainer1
//
this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
this.splitContainer1.Location = new System.Drawing.Point(0, 49);
this.splitContainer1.Name = "splitContainer1";
//
// splitContainer1.Panel1
//
this.splitContainer1.Panel1.Controls.Add(this.splitContainer2);
//
// splitContainer1.Panel2
//
this.splitContainer1.Panel2.Controls.Add(this.splitContainer3);
this.splitContainer1.Size = new System.Drawing.Size(803, 472);
this.splitContainer1.SplitterDistance = 459;
this.splitContainer1.TabIndex = 3;
//
// splitContainer2
//
this.splitContainer2.Dock = System.Windows.Forms.DockStyle.Fill;
this.splitContainer2.Location = new System.Drawing.Point(0, 0);
this.splitContainer2.Name = "splitContainer2";
this.splitContainer2.Orientation = System.Windows.Forms.Orientation.Horizontal;
//
// splitContainer2.Panel1
//
this.splitContainer2.Panel1.Controls.Add(this.dataGridView1);
//
// splitContainer2.Panel2
//
this.splitContainer2.Panel2.Controls.Add(this.xingmingtxt);
this.splitContainer2.Panel2.Controls.Add(this.xingbingcombox);
this.splitContainer2.Panel2.Controls.Add(this.fenleicombox);
this.splitContainer2.Panel2.Controls.Add(this.qqtxt);
this.splitContainer2.Panel2.Controls.Add(this.shoujihaomatxt);
this.splitContainer2.Panel2.Controls.Add(this.msntxt);
this.splitContainer2.Panel2.Controls.Add(this.fangweniptxt);
this.splitContainer2.Panel2.Controls.Add(this.gudingdianhuatxt);
this.splitContainer2.Panel2.Controls.Add(this.emailtxt);
this.splitContainer2.Panel2.Controls.Add(this.nichengtxt);
this.splitContainer2.Panel2.Controls.Add(this.label13);
this.splitContainer2.Panel2.Controls.Add(this.label12);
this.splitContainer2.Panel2.Controls.Add(this.label11);
this.splitContainer2.Panel2.Controls.Add(this.label10);
this.splitContainer2.Panel2.Controls.Add(this.label9);
this.splitContainer2.Panel2.Controls.Add(this.label8);
this.splitContainer2.Panel2.Controls.Add(this.label7);
this.splitContainer2.Panel2.Controls.Add(this.label5);
this.splitContainer2.Panel2.Controls.Add(this.label4);
this.splitContainer2.Panel2.Controls.Add(this.label3);
this.splitContainer2.Panel2.Controls.Add(this.button3);
this.splitContainer2.Panel2.Controls.Add(this.button2);
this.splitContainer2.Panel2.Controls.Add(this.button1);
this.splitContainer2.Panel2.Controls.Add(this.dataGridView2);
this.splitContainer2.Panel2.Paint += new System.Windows.Forms.PaintEventHandler(this.splitContainer2_Panel2_Paint);
this.splitContainer2.Size = new System.Drawing.Size(459, 472);
this.splitContainer2.SplitterDistance = 187;
this.splitContainer2.TabIndex = 0;
//
// dataGridView1
//
this.dataGridView1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.状态,
this.访客ID,
this.次数,
this.IP地址,
this.地理位置,
this.进入时刻,
this.离开时刻,
this.最后消息时间,
this.客服,
this.最近访问页面});
this.dataGridView1.Location = new System.Drawing.Point(3, 3);
this.dataGridView1.Name = "dataGridView1";
this.dataGridView1.RowHeadersVisible = false;
this.dataGridView1.RowTemplate.Height = 23;
this.dataGridView1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
this.dataGridView1.Size = new System.Drawing.Size(453, 181);
this.dataGridView1.TabIndex = 0;
this.dataGridView1.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView1_CellClick);
//
// 状态
//
this.状态.HeaderText = "状态";
this.状态.Name = "状态";
//
// 访客ID
//
this.访客ID.HeaderText = "访客ID";
this.访客ID.Name = "访客ID";
//
// 次数
//
this.次数.HeaderText = "次数";
this.次数.Name = "次数";
//
// IP地址
//
this.IP地址.HeaderText = "IP地址";
this.IP地址.Name = "IP地址";
//
// 地理位置
//
this.地理位置.HeaderText = "地理位置";
this.地理位置.Name = "地理位置";
//
// 进入时刻
//
this.进入时刻.HeaderText = "进入时刻";
this.进入时刻.Name = "进入时刻";
//
// 离开时刻
//
this.离开时刻.HeaderText = "离开时刻";
this.离开时刻.Name = "离开时刻";
//
// 最后消息时间
//
this.最后消息时间.HeaderText = "最后消息时间";
this.最后消息时间.Name = "最后消息时间";
this.最后消息时间.Width = 200;
//
// 客服
//
this.客服.HeaderText = "客服";
this.客服.Name = "客服";
//
// 最近访问页面
//
this.最近访问页面.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
this.最近访问页面.HeaderText = "最近访问页面";
this.最近访问页面.MinimumWidth = 100;
this.最近访问页面.Name = "最近访问页面";
//
// xingmingtxt
//
this.xingmingtxt.Location = new System.Drawing.Point(56, 7);
this.xingmingtxt.Name = "xingmingtxt";
this.xingmingtxt.Size = new System.Drawing.Size(62, 21);
this.xingmingtxt.TabIndex = 4;
//
// xingbingcombox
//
this.xingbingcombox.FormattingEnabled = true;
this.xingbingcombox.Items.AddRange(new object[] {
"不确定",
"男",
"女"});
this.xingbingcombox.Location = new System.Drawing.Point(185, 4);
this.xingbingcombox.Name = "xingbingcombox";
this.xingbingcombox.Size = new System.Drawing.Size(73, 20);
this.xingbingcombox.TabIndex = 24;
//
// fenleicombox
//
this.fenleicombox.FormattingEnabled = true;
this.fenleicombox.Items.AddRange(new object[] {
"不确定",
"意向",
"跟进",
"已经成交",
"后续服务",
"投诉建议",
"淘汰"});
this.fenleicombox.Location = new System.Drawing.Point(56, 81);
this.fenleicombox.Name = "fenleicombox";
this.fenleicombox.Size = new System.Drawing.Size(94, 20);
this.fenleicombox.TabIndex = 23;
//
// qqtxt
//
this.qqtxt.Location = new System.Drawing.Point(327, 3);
this.qqtxt.Name = "qqtxt";
this.qqtxt.Size = new System.Drawing.Size(102, 21);
this.qqtxt.TabIndex = 22;
//
// shoujihaomatxt
//
this.shoujihaomatxt.Location = new System.Drawing.Point(326, 54);
this.shoujihaomatxt.Name = "shoujihaomatxt";
this.shoujihaomatxt.Size = new System.Drawing.Size(103, 21);
this.shoujihaomatxt.TabIndex = 21;
//
// msntxt
//
this.msntxt.Location = new System.Drawing.Point(326, 29);
this.msntxt.Name = "msntxt";
this.msntxt.Size = new System.Drawing.Size(103, 21);
this.msntxt.TabIndex = 20;
//
// fangweniptxt
//
this.fangweniptxt.Location = new System.Drawing.Point(186, 53);
this.fangweniptxt.Name = "fangweniptxt";
this.fangweniptxt.Size = new System.Drawing.Size(72, 21);
this.fangweniptxt.TabIndex = 19;
//
// gudingdianhuatxt
//
this.gudingdianhuatxt.Location = new System.Drawing.Point(186, 28);
this.gudingdianhuatxt.Name = "gudingdianhuatxt";
this.gudingdianhuatxt.Size = new System.Drawing.Size(93, 21);
this.gudingdianhuatxt.TabIndex = 18;
//
// emailtxt
//
this.emailtxt.Location = new System.Drawing.Point(57, 55);
this.emailtxt.Name = "emailtxt";
this.emailtxt.Size = new System.Drawing.Size(72, 21);
this.emailtxt.TabIndex = 17;
//
// nichengtxt
//
this.nichengtxt.Location = new System.Drawing.Point(56, 31);
this.nichengtxt.Name = "nichengtxt";
this.nichengtxt.Size = new System.Drawing.Size(63, 21);
this.nichengtxt.TabIndex = 16;
//
// label13
//
this.label13.AutoSize = true;
this.label13.Location = new System.Drawing.Point(135, 57);
this.label13.Name = "label13";
this.label13.Size = new System.Drawing.Size(53, 12);
this.label13.TabIndex = 15;
this.label13.Text = "访问IP:";
//
// label12
//
this.label12.AutoSize = true;
this.label12.Location = new System.Drawing.Point(8, 56);
this.label12.Name = "label12";
this.label12.Size = new System.Drawing.Size(53, 12);
this.label12.TabIndex = 14;
this.label12.Text = "E-mail:";
//
// label11
//
this.label11.AutoSize = true;
this.label11.Location = new System.Drawing.Point(291, 32);
this.label11.Name = "label11";
this.label11.Size = new System.Drawing.Size(35, 12);
this.label11.TabIndex = 13;
this.label11.Text = "MSN:";
//
// label10
//
this.label10.AutoSize = true;
this.label10.Location = new System.Drawing.Point(298, 8);
this.label10.Name = "label10";
this.label10.Size = new System.Drawing.Size(29, 12);
this.label10.TabIndex = 12;
this.label10.Text = "QQ:";
//
// label9
//
this.label9.AutoSize = true;
this.label9.Location = new System.Drawing.Point(264, 56);
this.label9.Name = "label9";
this.label9.Size = new System.Drawing.Size(65, 12);
this.label9.TabIndex = 11;
this.label9.Text = "手机号码:";
//
// label8
//
this.label8.AutoSize = true;
this.label8.Location = new System.Drawing.Point(123, 32);
this.label8.Name = "label8";
this.label8.Size = new System.Drawing.Size(65, 12);
this.label8.TabIndex = 10;
this.label8.Text = "固定电话:";
//
// label7
//
this.label7.AutoSize = true;
this.label7.Location = new System.Drawing.Point(20, 32);
this.label7.Name = "label7";
this.label7.Size = new System.Drawing.Size(41, 12);
this.label7.TabIndex = 9;
this.label7.Text = "昵称:";
//
// label5
//
this.label5.AutoSize = true;
this.label5.Location = new System.Drawing.Point(146, 8);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(41, 12);
this.label5.TabIndex = 8;
this.label5.Text = "性别:";
//
// label4
//
this.label4.AutoSize = true;
this.label4.Location = new System.Drawing.Point(21, 10);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(41, 12);
this.label4.TabIndex = 7;
this.label4.Text = "姓名:";
//
// label3
//
this.label3.AutoSize = true;
this.label3.Location = new System.Drawing.Point(20, 85);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(41, 12);
this.label3.TabIndex = 6;
this.label3.Text = "分类:";
//
// button3
//
this.button3.Location = new System.Drawing.Point(166, 80);
this.button3.Name = "button3";
this.button3.Size = new System.Drawing.Size(45, 23);
this.button3.TabIndex = 5;
this.button3.Text = "查询";
this.button3.UseVisualStyleBackColor = true;
this.button3.Click += new System.EventHandler(this.button3_Click);
//
// button2
//
this.button2.Location = new System.Drawing.Point(217, 80);
this.button2.Name = "button2";
this.button2.Size = new System.Drawing.Size(102, 23);
this.button2.TabIndex = 3;
this.button2.Text = "列出所有的客户";
this.button2.UseVisualStyleBackColor = true;
this.button2.Click += new System.EventHandler(this.button2_Click);
//
// button1
//
this.button1.Location = new System.Drawing.Point(324, 79);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(112, 23);
this.button1.TabIndex = 2;
this.button1.Text = "查找相同IP的客户";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.button1_Click_1);
//
// dataGridView2
//
this.dataGridView2.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.dataGridView2.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dataGridView2.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.ID,
this.姓名,
this.昵称,
this.性别,
this.固定电话,
this.手机号码,
this.Email,
this.QQ,
this.MSN,
this.公司,
this.地址,
this.网址,
this.分类,
this.详细地址,
this.登录IP,
this.订阅与否,
this.备注});
this.dataGridView2.Location = new System.Drawing.Point(3, 108);
this.dataGridView2.Name = "dataGridView2";
this.dataGridView2.RowHeadersVisible = false;
this.dataGridView2.RowTemplate.Height = 23;
this.dataGridView2.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
this.dataGridView2.Size = new System.Drawing.Size(453, 170);
this.dataGridView2.TabIndex = 1;
//
// ID
//
this.ID.DataPropertyName = "ID";
this.ID.HeaderText = "ID";
this.ID.Name = "ID";
//
// 姓名
//
this.姓名.DataPropertyName = "姓名";
this.姓名.HeaderText = "姓名";
this.姓名.Name = "姓名";
//
// 昵称
//
this.昵称.DataPropertyName = "昵称";
this.昵称.HeaderText = "昵称";
this.昵称.Name = "昵称";
//
// 性别
//
this.性别.DataPropertyName = "性别";
this.性别.HeaderText = "性别";
this.性别.Name = "性别";
//
// 固定电话
//
this.固定电话.DataPropertyName = "固定电话";
this.固定电话.HeaderText = "固定电话";
this.固定电话.Name = "固定电话";
//
// 手机号码
//
this.手机号码.DataPropertyName = "手机号码";
this.手机号码.HeaderText = "手机号码";
this.手机号码.Name = "手机号码";
//
// Email
//
this.Email.DataPropertyName = "Email";
this.Email.HeaderText = "Email";
this.Email.Name = "Email";
//
// QQ
//
this.QQ.DataPropertyName = "QQ";
this.QQ.HeaderText = "QQ";
this.QQ.Name = "QQ";
//
// MSN
//
this.MSN.DataPropertyName = "MSN";
this.MSN.HeaderText = "MSN";
this.MSN.Name = "MSN";
//
// 公司
//
this.公司.DataPropertyName = "公司";
this.公司.HeaderText = "公司";
this.公司.Name = "公司";
//
// 地址
//
this.地址.DataPropertyName = "地址";
this.地址.HeaderText = "地址";
this.地址.Name = "地址";
//
// 网址
//
this.网址.DataPropertyName = "网址";
this.网址.HeaderText = "网址";
this.网址.Name = "网址";
//
// 分类
//
this.分类.DataPropertyName = "分类";
this.分类.HeaderText = "分类";
this.分类.Name = "分类";
//
// 详细地址
//
this.详细地址.DataPropertyName = "详细地址";
this.详细地址.HeaderText = "详细地址";
this.详细地址.Name = "详细地址";
//
// 登录IP
//
this.登录IP.DataPropertyName = "登录IP";
this.登录IP.HeaderText = "登录IP";
this.登录IP.Name = "登录IP";
//
// 订阅与否
//
this.订阅与否.DataPropertyName = "订阅与否";
this.订阅与否.HeaderText = "订阅与否";
this.订阅与否.Name = "订阅与否";
//
// 备注
//
this.备注.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
this.备注.DataPropertyName = "备注";
this.备注.HeaderText = "备注";
this.备注.MinimumWidth = 300;
this.备注.Name = "备注";
//
// splitContainer3
//
this.splitContainer3.Dock = System.Windows.Forms.DockStyle.Fill;
this.splitContainer3.Location = new System.Drawing.Point(0, 0);
this.splitContainer3.Name = "splitContainer3";
this.splitContainer3.Orientation = System.Windows.Forms.Orientation.Horizontal;
//
// splitContainer3.Panel1
//
this.splitContainer3.Panel1.Controls.Add(this.richTextBox1);
//
// splitContainer3.Panel2
//
this.splitContainer3.Panel2.Controls.Add(this.DuanYuTxt);
this.splitContainer3.Panel2.Controls.Add(this.Delbutton);
this.splitContainer3.Panel2.Controls.Add(this.Addbutton);
this.splitContainer3.Panel2.Controls.Add(this.RiChangYongYu);
this.splitContainer3.Panel2.Controls.Add(this.ClearRecordBtn);
this.splitContainer3.Panel2.Controls.Add(this.label2);
this.splitContainer3.Panel2.Controls.Add(this.amniationchk);
this.splitContainer3.Panel2.Controls.Add(this.UserTo);
this.splitContainer3.Panel2.Controls.Add(this.axAgent2);
this.splitContainer3.Panel2.Controls.Add(this.label6);
this.splitContainer3.Panel2.Controls.Add(this.textBox5);
this.splitContainer3.Panel2.Controls.Add(this.PTB_Runner);
this.splitContainer3.Panel2.Controls.Add(this.label1);
this.splitContainer3.Panel2.Controls.Add(this.PTB_Send);
this.splitContainer3.Panel2.Controls.Add(this.richTextBox2);
this.splitContainer3.Size = new System.Drawing.Size(340, 472);
this.splitContainer3.SplitterDistance = 198;
this.splitContainer3.TabIndex = 0;
//
// richTextBox1
//
this.richTextBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.richTextBox1.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.richTextBox1.ForeColor = System.Drawing.SystemColors.Desktop;
this.richTextBox1.Location = new System.Drawing.Point(3, 3);
this.richTextBox1.Name = "richTextBox1";
this.richTextBox1.Size = new System.Drawing.Size(334, 192);
this.richTextBox1.TabIndex = 22;
this.richTextBox1.Text = "";
this.richTextBox1.TextChanged += new System.EventHandler(this.richTextBox1_TextChanged);
//
// ClearRecordBtn
//
this.ClearRecordBtn.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.ClearRecordBtn.Location = new System.Drawing.Point(298, 1);
this.ClearRecordBtn.Name = "ClearRecordBtn";
this.ClearRecordBtn.Size = new System.Drawing.Size(39, 21);
this.ClearRecordBtn.TabIndex = 43;
this.ClearRecordBtn.Text = "清屏";
this.ClearRecordBtn.UseVisualStyleBackColor = true;
this.ClearRecordBtn.Click += new System.EventHandler(this.ClearRecordBtn_Click);
//
// label2
//
this.label2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(9, 179);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(41, 12);
this.label2.TabIndex = 42;
this.label2.Text = "常用语";
//
// amniationchk
//
this.amniationchk.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.amniationchk.AutoSize = true;
this.amniationchk.Checked = true;
this.amniationchk.CheckState = System.Windows.Forms.CheckState.Checked;
this.amniationchk.Location = new System.Drawing.Point(246, 179);
this.amniationchk.Name = "amniationchk";
this.amniationchk.Size = new System.Drawing.Size(72, 16);
this.amniationchk.TabIndex = 40;
this.amniationchk.Text = "动画说话";
this.amniationchk.UseVisualStyleBackColor = true;
//
// UserTo
//
this.UserTo.AutoSize = true;
this.UserTo.ForeColor = System.Drawing.Color.Red;
this.UserTo.Location = new System.Drawing.Point(5, 5);
this.UserTo.Name = "UserTo";
this.UserTo.Size = new System.Drawing.Size(29, 12);
this.UserTo.TabIndex = 39;
this.UserTo.Text = "游客";
//
// axAgent2
//
this.axAgent2.Enabled = true;
this.axAgent2.Location = new System.Drawing.Point(305, 46);
this.axAgent2.Name = "axAgent2";
this.axAgent2.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axAgent2.OcxState")));
this.axAgent2.Size = new System.Drawing.Size(32, 32);
this.axAgent2.TabIndex = 38;
//
// label6
//
this.label6.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.label6.AutoSize = true;
this.label6.Location = new System.Drawing.Point(244, 204);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(35, 12);
this.label6.TabIndex = 37;
this.label6.Text = "间隔:";
//
// textBox5
//
this.textBox5.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.textBox5.Location = new System.Drawing.Point(279, 201);
this.textBox5.Name = "textBox5";
this.textBox5.Size = new System.Drawing.Size(52, 21);
this.textBox5.TabIndex = 36;
this.textBox5.Text = "1000";
//
// PTB_Runner
//
this.PTB_Runner.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.PTB_Runner.Font = new System.Drawing.Font("隶书", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.PTB_Runner.ForeColor = System.Drawing.Color.Red;
this.PTB_Runner.Location = new System.Drawing.Point(246, 226);
this.PTB_Runner.Name = "PTB_Runner";
this.PTB_Runner.Size = new System.Drawing.Size(83, 39);
this.PTB_Runner.TabIndex = 35;
this.PTB_Runner.Text = "运行";
this.PTB_Runner.UseVisualStyleBackColor = true;
this.PTB_Runner.Click += new System.EventHandler(this.button1_Click);
//
// label1
//
this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(248, 85);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(83, 12);
this.label1.TabIndex = 34;
this.label1.Text = "Enter直接发送";
//
// PTB_Send
//
this.PTB_Send.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.PTB_Send.Font = new System.Drawing.Font("隶书", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.PTB_Send.Location = new System.Drawing.Point(246, 107);
this.PTB_Send.Name = "PTB_Send";
this.PTB_Send.Size = new System.Drawing.Size(83, 66);
this.PTB_Send.TabIndex = 33;
this.PTB_Send.Text = "发送";
this.PTB_Send.UseVisualStyleBackColor = true;
this.PTB_Send.Click += new System.EventHandler(this.PTB_Send_Click);
//
// richTextBox2
//
this.richTextBox2.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.richTextBox2.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.richTextBox2.ForeColor = System.Drawing.SystemColors.MenuHighlight;
this.richTextBox2.Location = new System.Drawing.Point(3, 21);
this.richTextBox2.Name = "richTextBox2";
this.richTextBox2.Size = new System.Drawing.Size(236, 152);
this.richTextBox2.TabIndex = 32;
this.richTextBox2.Text = "";
this.richTextBox2.KeyUp += new System.Windows.Forms.KeyEventHandler(this.richTextBox2_KeyUp);
//
// timer1
//
this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
//
// notifyIcon1
//
this.notifyIcon1.ContextMenuStrip = this.contextMenuStrip1;
this.notifyIcon1.Icon = ((System.Drawing.Icon)(resources.GetObject("notifyIcon1.Icon")));
this.notifyIcon1.Text = "PowerTalk沟通";
this.notifyIcon1.Visible = true;
this.notifyIcon1.DoubleClick += new System.EventHandler(this.notifyIcon1_DoubleClick);
//
// contextMenuStrip1
//
this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.退出ToolStripMenuItem1});
this.contextMenuStrip1.Name = "contextMenuStrip1";
this.contextMenuStrip1.Size = new System.Drawing.Size(95, 26);
//
// 退出ToolStripMenuItem1
//
this.退出ToolStripMenuItem1.Name = "退出ToolStripMenuItem1";
this.退出ToolStripMenuItem1.Size = new System.Drawing.Size(94, 22);
this.退出ToolStripMenuItem1.Text = "退出";
this.退出ToolStripMenuItem1.Click += new System.EventHandler(this.退出ToolStripMenuItem1_Click);
//
// RiChangYongYu
//
this.RiChangYongYu.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.RiChangYongYu.FormattingEnabled = true;
this.RiChangYongYu.ItemHeight = 12;
this.RiChangYongYu.Location = new System.Drawing.Point(4, 201);
this.RiChangYongYu.Name = "RiChangYongYu";
this.RiChangYongYu.Size = new System.Drawing.Size(236, 64);
this.RiChangYongYu.TabIndex = 44;
this.RiChangYongYu.SelectedIndexChanged += new System.EventHandler(this.RiChangYongYu_SelectedIndexChanged);
//
// Addbutton
//
this.Addbutton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.Addbutton.Location = new System.Drawing.Point(135, 176);
this.Addbutton.Name = "Addbutton";
this.Addbutton.Size = new System.Drawing.Size(49, 22);
this.Addbutton.TabIndex = 45;
this.Addbutton.Text = "添加";
this.Addbutton.UseVisualStyleBackColor = true;
this.Addbutton.Click += new System.EventHandler(this.Addbutton_Click);
//
// Delbutton
//
this.Delbutton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.Delbutton.Location = new System.Drawing.Point(190, 176);
this.Delbutton.Name = "Delbutton";
this.Delbutton.Size = new System.Drawing.Size(49, 22);
this.Delbutton.TabIndex = 46;
this.Delbutton.Text = "删除";
this.Delbutton.UseVisualStyleBackColor = true;
this.Delbutton.Click += new System.EventHandler(this.Delbutton_Click);
//
// DuanYuTxt
//
this.DuanYuTxt.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.DuanYuTxt.Location = new System.Drawing.Point(58, 176);
this.DuanYuTxt.Name = "DuanYuTxt";
this.DuanYuTxt.Size = new System.Drawing.Size(73, 21);
this.DuanYuTxt.TabIndex = 47;
//
// FrmMain
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(803, 543);
this.Controls.Add(this.splitContainer1);
this.Controls.Add(this.toolStrip1);
this.Controls.Add(this.statusStrip1);
this.Controls.Add(this.menuStrip1);
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.MainMenuStrip = this.menuStrip1;
this.Name = "FrmMain";
this.Text = "PowerTalk沟通系统智能平台";
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.FrmMain_FormClosing);
this.Load += new System.EventHandler(this.FrmMain_Load);
((System.ComponentModel.ISupportInitialize)(this.axAgent1)).EndInit();
this.menuStrip1.ResumeLayout(false);
this.menuStrip1.PerformLayout();
this.toolStrip1.ResumeLayout(false);
this.toolStrip1.PerformLayout();
this.splitContainer1.Panel1.ResumeLayout(false);
this.splitContainer1.Panel2.ResumeLayout(false);
this.splitContainer1.ResumeLayout(false);
this.splitContainer2.Panel1.ResumeLayout(false);
this.splitContainer2.Panel2.ResumeLayout(false);
this.splitContainer2.Panel2.PerformLayout();
this.splitContainer2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.dataGridView2)).EndInit();
this.splitContainer3.Panel1.ResumeLayout(false);
this.splitContainer3.Panel2.ResumeLayout(false);
this.splitContainer3.Panel2.PerformLayout();
this.splitContainer3.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.axAgent2)).EndInit();
this.contextMenuStrip1.ResumeLayout(false);
this.ResumeLayout(false);
this.PerformLayout();

}

#endregion

private System.Windows.Forms.MenuStrip menuStrip1;
private System.Windows.Forms.ToolStripMenuItem 系统ToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem 修改密码ToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem 我的状态ToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem 工具ToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem 帮助ToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem 退出ToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem 服务器ToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem 飞信服务器ToolStripMenuItem;
private System.Windows.Forms.StatusStrip statusStrip1;
private System.Windows.Forms.ToolStrip toolStrip1;
private System.Windows.Forms.ToolStripButton toolStripButton1;
private System.Windows.Forms.ToolStripButton toolStripButton2;
private System.Windows.Forms.ToolStripButton toolStripButton3;
private System.Windows.Forms.SplitContainer splitContainer1;
private System.Windows.Forms.SplitContainer splitContainer2;
private System.Windows.Forms.DataGridView dataGridView1;
private System.Windows.Forms.DataGridView dataGridView2;
private System.Windows.Forms.ToolStripButton toolStripButton4;
public System.Windows.Forms.Timer timer1;
private System.Windows.Forms.DataGridViewTextBoxColumn 状态;
private System.Windows.Forms.DataGridViewTextBoxColumn 访客ID;
private System.Windows.Forms.DataGridViewTextBoxColumn 次数;
private System.Windows.Forms.DataGridViewTextBoxColumn IP地址;
private System.Windows.Forms.DataGridViewTextBoxColumn 地理位置;
private System.Windows.Forms.DataGridViewTextBoxColumn 进入时刻;
private System.Windows.Forms.DataGridViewTextBoxColumn 离开时刻;
private System.Windows.Forms.DataGridViewTextBoxColumn 最后消息时间;
private System.Windows.Forms.DataGridViewTextBoxColumn 客服;
private System.Windows.Forms.DataGridViewTextBoxColumn 最近访问页面;
private System.Windows.Forms.SplitContainer splitContainer3;
private System.Windows.Forms.RichTextBox richTextBox1;
private System.Windows.Forms.CheckBox amniationchk;
private System.Windows.Forms.Label UserTo;
private AxAgentObjects.AxAgent axAgent2;
private System.Windows.Forms.Label label6;
private System.Windows.Forms.TextBox textBox5;
public System.Windows.Forms.Button PTB_Runner;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Button PTB_Send;
private System.Windows.Forms.RichTextBox richTextBox2;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Button button1;
private System.Windows.Forms.Button button2;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Button button3;
private System.Windows.Forms.TextBox xingmingtxt;
private System.Windows.Forms.DataGridViewTextBoxColumn ID;
private System.Windows.Forms.DataGridViewTextBoxColumn 姓名;
private System.Windows.Forms.DataGridViewTextBoxColumn 昵称;
private System.Windows.Forms.DataGridViewTextBoxColumn 性别;
private System.Windows.Forms.DataGridViewTextBoxColumn 固定电话;
private System.Windows.Forms.DataGridViewTextBoxColumn 手机号码;
private System.Windows.Forms.DataGridViewTextBoxColumn Email;
private System.Windows.Forms.DataGridViewTextBoxColumn QQ;
private System.Windows.Forms.DataGridViewTextBoxColumn MSN;
private System.Windows.Forms.DataGridViewTextBoxColumn 公司;
private System.Windows.Forms.DataGridViewTextBoxColumn 地址;
private System.Windows.Forms.DataGridViewTextBoxColumn 网址;
private System.Windows.Forms.DataGridViewTextBoxColumn 分类;
private System.Windows.Forms.DataGridViewTextBoxColumn 详细地址;
private System.Windows.Forms.DataGridViewTextBoxColumn 登录IP;
private System.Windows.Forms.DataGridViewTextBoxColumn 订阅与否;
private System.Windows.Forms.DataGridViewTextBoxColumn 备注;
private System.Windows.Forms.NotifyIcon notifyIcon1;
private System.Windows.Forms.ContextMenuStrip contextMenuStrip1;
private System.Windows.Forms.ToolStripMenuItem 退出ToolStripMenuItem1;
private System.Windows.Forms.Label label13;
private System.Windows.Forms.Label label12;
private System.Windows.Forms.Label label11;
private System.Windows.Forms.Label label10;
private System.Windows.Forms.Label label9;
private System.Windows.Forms.Label label8;
private System.Windows.Forms.Label label7;
private System.Windows.Forms.Label label5;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.TextBox emailtxt;
private System.Windows.Forms.TextBox nichengtxt;
private System.Windows.Forms.ComboBox xingbingcombox;
private System.Windows.Forms.ComboBox fenleicombox;
private System.Windows.Forms.TextBox qqtxt;
private System.Windows.Forms.TextBox shoujihaomatxt;
private System.Windows.Forms.TextBox msntxt;
private System.Windows.Forms.TextBox fangweniptxt;
private System.Windows.Forms.TextBox gudingdianhuatxt;
private System.Windows.Forms.Button ClearRecordBtn;
private System.Windows.Forms.ListBox RiChangYongYu;
private System.Windows.Forms.Button Delbutton;
private System.Windows.Forms.Button Addbutton;
private System.Windows.Forms.TextBox DuanYuTxt;
}
}

LoginFrm.cs

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace PowerTalkClient
{
public partial class LoginFrm : Form
{
public LoginFrm()
{
InitializeComponent();
}

private void pictureBox2_Click(object sender, EventArgs e)
{
//此处逻辑可以自行解决
FrmMain FM = new FrmMain(textBox1.Text);
FM.Show();
this.Visible = false;
}
}
}