Beispiel #1
0
        void addTest()
        {
            PracticeFileEditForm pfeForm = new PracticeFileEditForm();

            pfeForm.ParentListView = listView1;
            pfeForm.MdiParent      = Forms.FClient;
            pfeForm.ThisIsNew      = true;
            pfeForm.Show();
        }
Beispiel #2
0
        void editTest()
        {
            PracticeFileEditForm pfeForm = new PracticeFileEditForm();

            pfeForm.ParentListView = listView1;
            pfeForm.MdiParent      = Forms.FClient;
            pfeForm.ThisIsNew      = false;
            pfeForm.SelectIndex    = listView1.SelectedIndices[0];
            pfeForm.Show();
        }