Пример #1
0
        private void propertiesCmd()
        {
            int headerOffset         = (int)fsctrl.getFileHeaderOffset(selection.FileHeader.NamePlusExtensionWithoutZeros, fsctrl.CurrDirCluster, false);
            FilePropertiesWindow fpw = new FilePropertiesWindow(selection.FileHeader);

            if (fpw.ShowDialog().Value)
            {
                fsctrl.writeBytes(headerOffset, selection.FileHeader.toByteArray());
                selection.refresh();
            }
        }