Beispiel #1
0
        public void MajRightForAppliChange()
        {
            //launch maj right (if install change)
            String rightFilePath = ApplicationPath.GetApplicationFolder() + @"\right";

            if (!File.Exists(rightFilePath))
            {
                this.MajRight();
                File.Create(rightFilePath);
            }
        }
Beispiel #2
0
        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();
            }
        }
Beispiel #3
0
 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);
 }
Beispiel #4
0
 private static string GetFolderOfIcon()
 {
     return(ApplicationPath.GetApplicationFolder() + @"\");
 }