/// <summary> /// Prompts the user for selected directory to export. Grabs all the data saved in the settings and exports ot a .sic file /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void mnuFileExport_Click(object sender, EventArgs e) { using (fileManipulator fm = new fileManipulator()) { fm.export(); } }
private void btnImport_Click(object sender, EventArgs e) { using (fileManipulator fm = new fileManipulator()) { fm.import(); } this.Close(); }
/// <summary> /// Prompts the user for a selected file to import. Attempts its best at itterating through the file to find the data. /// If the version does not match, the program will still try and read the file to change the settings. /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void mnuFileImport_Click(object sender, EventArgs e) { using (fileManipulator fm = new fileManipulator()) { fm.import(); } validateSettings(); }
public labelMaker() { fm = new fileManipulator(); }