public string SendText() { GetExecutingAssembly getAssembly = new GetExecutingAssembly(); string dirPath = getAssembly.GetApplicationDirectory(); return(getValueString(dirPath)); }
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); } }