public void MajRightForAppliChange() { //launch maj right (if install change) String rightFilePath = ApplicationPath.GetApplicationFolder() + @"\right"; if (!File.Exists(rightFilePath)) { this.MajRight(); File.Create(rightFilePath); } }
private AuthentificationDataManager() { this.bsm = new BinarySerialiserManager <Authentification>(); this.bsm.FilePath = ApplicationPath.GetApplicationFolder() + @"\" + this.fileConnection; Authentification auth = this.bsm.Get(); if (auth != null) { this.Authentification = auth; } else { this.Authentification = new Authentification(); } }
private void CreateMenuIcon() { this.CreateIcon(ApplicationPath.GetApplicationFolder() + @"\add.ico", EcuriesDuLoupWin.Properties.Resources.icon_add); this.CreateIcon(ApplicationPath.GetApplicationFolder() + @"\new.ico", EcuriesDuLoupWin.Properties.Resources.icon_new); this.CreateIcon(ApplicationPath.GetApplicationFolder() + @"\logo.ico", EcuriesDuLoupWin.Properties.Resources.icon_logo); }
private static string GetFolderOfIcon() { return(ApplicationPath.GetApplicationFolder() + @"\"); }