コード例 #1
0
        void addFile()
        {
            FormPurchasePlanDoc FPurchasePlanDoc = new FormPurchasePlanDoc();

            FPurchasePlanDoc.MdiParent = DataForms.FClient;
            FPurchasePlanDoc.ID        = null;
            FPurchasePlanDoc.Show();
        }
コード例 #2
0
 void editFile()
 {
     if (listView1.SelectedIndices.Count > 0)
     {
         FormPurchasePlanDoc FPurchasePlanDoc = new FormPurchasePlanDoc();
         FPurchasePlanDoc.MdiParent = DataForms.FClient;
         FPurchasePlanDoc.ID        = listView1.Items[listView1.SelectedIndices[0]].SubItems[8].Text;
         FPurchasePlanDoc.Show();
     }
 }