/// <summary> /// データベース(LIVE) データ入力シート作成 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void LiveInitDataCreateButton_Click(object sender, EventArgs e) { try { string[] selectedSheets = null; using (SheetSelectForm form = new SheetSelectForm()) { form.Title = "データベース(LIVE)テーブル一覧を選択する"; form.ExcelFileName = Config.GetTransferSettingFile(true); if (form.ShowDialog(this) == System.Windows.Forms.DialogResult.Cancel) { return; } selectedSheets = form.SelectedSheets; } Run(new CommandArg(CommandKind.LiveDataSheetCreate, selectedSheets)); } catch (Exception ex) { Logging.Exception("", ex); base.ShowException(ex); } }
private void btnDenshow_Click(object sender, EventArgs e) { try { string[] selectedSheets = null; using (SheetSelectForm form = new SheetSelectForm()) { form.Title = "伝匠 テーブル一覧を選択する"; form.ExcelFileName = Config.GetDenshowSettingFile(); if (form.ShowDialog(this) == System.Windows.Forms.DialogResult.Cancel) { return; } selectedSheets = form.SelectedSheets; } Run(new CommandArg(CommandKind.DenshowDataSheetCreate, selectedSheets)); } catch (Exception ex) { Logging.Exception("", ex); base.ShowException(ex); } }