Пример #1
0
 public CBImageFile(string directory, string fileName)
 {
     m_DirectoryName = directory;
     m_FileName      = fileName;
     m_FullName      = directory + fileName;
     m_SourceImage   = CBImageManager.LoadImage(m_FullName);
 }
Пример #2
0
        public CBImageFile(string fullName)
        {
            FileInfo file = new FileInfo(fullName);

            m_FileName      = file.Name;
            m_DirectoryName = file.DirectoryName + "\\";
            m_FullName      = fullName;
            m_SourceImage   = CBImageManager.LoadImage(m_FullName);
        }