• λ我爱Aspx >> Asp.Net >> 用C#.NET实现拖放操作
  • 用C#.NET实现拖放操作

  • :aspxer  Դ:5iaspx  :2007-8-1 13:15:14  ؼ:c#,.net
  • //

    this.listBox1.ItemHeight = 12;

    this.listBox1.Location = new System.Drawing.Point(32, 24);

    this.listBox1.Name = "listBox1";

    this.listBox1.Size = new System.Drawing.Size(120, 280);

    this.listBox1.TabIndex = 0;

    this.listBox1.MouseDown += new System.Windows.Forms.MouseEventHandler(this.listBox1_MouseDown);

    //

    // listBox2

    //

    this.listBox2.ItemHeight = 12;

    this.listBox2.Location = new System.Drawing.Point(248, 24);

    this.listBox2.Name = "listBox2";

    this.listBox2.Size = new System.Drawing.Size(120, 280);

    this.listBox2.TabIndex = 0;

    this.listBox2.DragDrop += new System.Windows.Forms.DragEventHandler(this.listBox2_DragDrop);

    this.listBox2.DragEnter += new System.Windows.Forms.DragEventHandler(this.listBox2_DragEnter);

    //

    // Form1

    //

    this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);

    Ҷƪл˵?
  • һƪ用iframe解决下拉框与层之冲突
    һƪ一個Ajax.NET的查詢實例