/// <summary> /// fomat chart for a file /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void buttonFomatChart_Click(object sender, EventArgs e) { string path = FileUtils.GetFullPath(textBoxFomatChart.Text); Battery.CreateChartForFile(path); }