Esempio n. 1
0
        //修改房子按钮
        private void tsbtnUpdate_Click(object sender, EventArgs e)
        {
            if (lvHouse.SelectedItems.Count <= 0)
            {
                return;
            }

            AddHouseForm ahf = new AddHouseForm(lvHouse.SelectedItems[0].SubItems[0].Text);

            ahf.ShowDialog();
        }
Esempio n. 2
0
        //添加房子按钮
        private void tsbtnAddHouse_Click(object sender, EventArgs e)
        {
            AddHouseForm ahf = new AddHouseForm("");

            ahf.ShowDialog();
        }