private void btnSave_Click(object sender, EventArgs e) { try { ExportCM.Save(); MainText = "Saved."; } catch (Exception ex) { ErrorText = ex.Message; } }
private void btnExport_Click(object sender, EventArgs e) { Init(); try { ExportCM.Load(); } catch (Exception ex) { ErrorText = ex.Message; ExportCM.New(); } }