//システム一覧を取得する private void getsystem(systemDS systemdt) { this.m_systemno.Text = systemdt.systemno; this.m_userno.Text = systemdt.userno; this.m_cutomername.Text = systemdt.username; this.m_systemname.Text = systemdt.systemname; this.m_systemname_kana.Text = systemdt.systemkana; this.m_statusCombo.Text = systemdt.status; this.m_biko.Text = systemdt.biko; this.m_statusCombo.Text = systemdt.status; this.m_update.Text = systemdt.chk_date; this.m_updateOpe.Text = systemdt.chk_name_id; }
//システム一覧がダブルクリックされたとき private void m_Ststem_List_MouseDoubleClick(object sender, MouseEventArgs e) { ListView.SelectedIndexCollection item = m_System_List.SelectedIndices; systemDS systemdt = new systemDS(); systemdt.systemno = this.m_System_List.Items[item[0]].SubItems[0].Text; systemdt.systemname = this.m_System_List.Items[item[0]].SubItems[1].Text; systemdt.systemkana = this.m_System_List.Items[item[0]].SubItems[2].Text; systemdt.userno = this.m_System_List.Items[item[0]].SubItems[3].Text; systemdt.username = this.m_System_List.Items[item[0]].SubItems[4].Text; systemdt.status = this.m_System_List.Items[item[0]].SubItems[5].Text; systemdt.biko = this.m_System_List.Items[item[0]].SubItems[6].Text; systemdt.chk_date = this.m_System_List.Items[item[0]].SubItems[7].Text; systemdt.chk_name_id = this.m_System_List.Items[item[0]].SubItems[8].Text; getsystem(systemdt); }