Beispiel #1
0
        private string getValueString(string dirPath)
        {
            FilePathUtils filePath = new FilePathUtils(dirPath);

            InifileUtils[] ini = filePath.IniFileNameArray(); // ファイルパス取得
            // iniFileからクリップボードに送る文字列取得
            return(ini[this.tabIndex].getValueString(this.btnNumber.ToString(), this.btnType));
        }
Beispiel #2
0
        public void CreateButton()
        {
            GetExecutingAssembly getAssembly = new GetExecutingAssembly();
            string        dirPath            = getAssembly.GetApplicationDirectory();
            FilePathUtils filePath           = new FilePathUtils(dirPath);

            InifileUtils[] ini = filePath.IniFileNameArray(); // ファイルパス取得

            for (int tabNum = 0; tabNum < 5; tabNum++)
            {
                addButton(tabNum, ini);
            }
        }