Beispiel #1
0
        private void btnAdd_Click(object sender, EventArgs e)
        {
            FRoomEdit f = new FRoomEdit("", "Add");

            f.refresh += new FRoomEdit.refreshData(ShowSearch);
            f.Show();
        }
Beispiel #2
0
        private void btnEdit_Click(object sender, EventArgs e)
        {
            string    roomid = dataGridView_RoomShow.CurrentRow.Cells["roomID"].Value.ToString();
            FRoomEdit f      = new FRoomEdit(roomid, "Edit");

            f.refresh += new FRoomEdit.refreshData(ShowSearch);
            f.Show();
        }