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); } }
public static void PictureCompanySet(byte[] p_bitmapImage) { String mPath = Path.Combine(C_Variables.Path_.dir_setting, "company.png"); F_File.FileWrite(p_bitmapImage, mPath); }