コード例 #1
0
 public WFDictionaryStringControl()
 {
     InitializeComponent();
     m_manager = new WFStringDictionaryEditorManager(ctlListEditor);
     m_manager.Dirty += m_manager_Dirty;
     m_manager.RequestParentElementEditorSave += m_manager_RequestParentElementEditorSave;
 }
コード例 #2
0
ファイル: WFGamebookOptions.cs プロジェクト: JatinR/quest
 public WFGamebookOptions()
 {
     InitializeComponent();
     m_manager = new WFStringDictionaryEditorManager(ctlListEditor);
     m_manager.Dirty += m_manager_Dirty;
     m_manager.RequestParentElementEditorSave += m_manager_RequestParentElementEditorSave;
     m_manager.ExtraToolbarItemClicked += m_manager_ExtraToolbarItemClicked;
     ctlListEditor.ShowExtraToolstripItems(new[] { "addpage", "link", "goto" });
     ctlListEditor.HideAddButton();
     ctlListEditor.SetEditButtonText("Edit Link Text");
 }