예제 #1
0
        private void lv_xm1_MouseDoubleClick(object sender, MouseEventArgs e)
        {
            if (str_flbh == "" || str_jcjylx == "")
            {
                return;
            }
            MyListViewItem item = (MyListViewItem)lv_xm1.GetItemAt(e.X, e.Y);

            if (object.Equals(null, item))
            {
                return;
            }

            string         str_xh = ywszbiz.Get_MaxXh_tj_sqdlx_dt(str_flbh);
            MyListViewItem item1  = new MyListViewItem();

            item1.Tag  = item.Tag;
            item1.Text = item.Text;
            item1.Str1 = str_flbh;
            item1.Str2 = str_xh;
            item1.Str3 = item.Str1;
            ywszbiz.Insert_tj_sqdlx_dt(str_flbh, item.Tag.ToString().Trim(), str_xh, item.Str1.ToString().Trim());

            lv_xm2.Items.Add(item1);
            lv_xm1.Items.Remove(item);
        }