private void mnuImportWFItems_Click(object sender, System.EventArgs e) { Cursor.Current = Cursors.WaitCursor; WFItemsAdapter adapter = new WFItemsAdapter(); DesignData design = adapter.ImportDesign(); if (design != null) { design.Save(); } Cursor.Current = Cursors.Default; }
private void mnuExportMultiMul_Click(object sender, System.EventArgs e) { Cursor.Current = Cursors.WaitCursor; if (designsPanel1.SelectedDesign != null) { WFItemsAdapter adapter = new WFItemsAdapter(); adapter.Export(designsPanel1.SelectedDesign); designsPanel1.SelectedDesign.Unload(); } else { MessageBox.Show("Export failed, no design selected"); } Cursor.Current = Cursors.Default; }