Exemple #1
0
        void addFile()
        {
            FormUnitsFile FUnitsFile = new FormUnitsFile();

            FUnitsFile.MdiParent = DataForms.FClient;
            FUnitsFile.ID        = null;
            FUnitsFile.Show();
        }
Exemple #2
0
 void editFile()
 {
     if (listView1.SelectedIndices.Count > 0)
     {
         FormUnitsFile FUnitsFile = new FormUnitsFile();
         FUnitsFile.MdiParent = DataForms.FClient;
         FUnitsFile.ID        = listView1.Items[listView1.SelectedIndices[0]].SubItems[3].Text.ToString();
         FUnitsFile.Show();
     }
 }