示例#1
0
文件: MenuMain.cs 项目: qioixiy/proj
 private void chatListBox1_MouseLeaveHead(object sender, ChatListEventArgs e)
 {
     this.Text = "Null";
 }
示例#2
0
文件: MenuMain.cs 项目: qioixiy/proj
 private void chatListBox1_MouseEnterHead(object sender, ChatListEventArgs e)
 {
     this.Text = e.MouseOnSubItem.DisplayName;
 }
示例#3
0
 protected virtual void OnMouseLeaveHead(ChatListEventArgs e)
 {
     if (this.MouseLeaveHead != null)
         MouseLeaveHead(this, e);
 }
示例#4
0
文件: MenuMain.cs 项目: qioixiy/proj
        private void chatListBox1_DoubleClickSubItem(object sender, ChatListEventArgs e)
        {
            //MessageBox.Show(e.SelectSubItem.DisplayName);
            WindowsFormsTemplete.ViewTemplete from = new WindowsFormsTemplete.ViewTemplete(e.SelectSubItem.DisplayName);
            from.Hide();
            from.WindowState = FormWindowState.Normal;
            from.Show();

            //Form form = get_class(e.SelectSubItem.DisplayName);
            //form.Show();
        }
示例#5
0
 protected virtual void OnDoubleClickSubItem(ChatListEventArgs e)
 {
     if (this.DoubleClickSubItem != null)
         DoubleClickSubItem(this, e);
 }