コード例 #1
0
        void addUser()
        {
            FormUsersEdit FUserEdit = new FormUsersEdit();

            FUserEdit.MdiParent = DataForms.FClient;
            FUserEdit.ID        = null;
            FUserEdit.Show();
        }
コード例 #2
0
 void editUser()
 {
     if (listView1.SelectedIndices.Count > 0)
     {
         FormUsersEdit FUserEdit = new FormUsersEdit();
         FUserEdit.MdiParent = DataForms.FClient;
         FUserEdit.ID        = listView1.Items[listView1.SelectedIndices[0]].SubItems[3].Text.ToString();
         FUserEdit.Show();
     }
 }