private void ToolBarItem_SaveLoad_Click(object sender, RoutedEventArgs e) { IODialog dlg = new IODialog(cmd, tabControlVector); dlg.ShowDialog(); if (dlg.DialogResult == true) { dlg.CreateTabPage(statusBar); ActionLoad.Draw(ActionLoad.elems, cmd); } }