예제 #1
0
        public static byte[] PictureCompanyGet()
        {
            String mPath = Path.Combine(C_Variables.Path_.dir_setting, "company.png");

            if (File.Exists(mPath))
            {
                return(F_File.FileRead_Bytes(mPath));
            }
            else
            {
                var mImage = F_Image.Image2Bytes(Properties.Resources.DefaultCompany);
                F_File.FileWrite(mImage, mPath);
                return(mImage);
            }
        }
예제 #2
0
        public static void PictureCompanySet(byte[] p_bitmapImage)
        {
            String mPath = Path.Combine(C_Variables.Path_.dir_setting, "company.png");

            F_File.FileWrite(p_bitmapImage, mPath);
        }