Пример #1
0
        public TabStages(FrmMission parent, ListView stageTable)
        {
            InitializeComponent();
            m_parent         = parent;
            m_stageTable     = stageTable;
            m_mission        = null;
            m_stage          = null;
            m_dlgRewards     = new DlgRewards();
            m_dlgCompletions = new DlgCompletions();
            m_frmTalkTree    = new TalkTreeEditor.FrmTalkTree();

            new CommonTools.Gui.TableButtonHandler(guiCompletionsTbl, guiCompletionsAddBtn, guiCompletionsRemoveBtn, guiCompletionsEditBtn, guiCompletionUpBtn, guiCompletionDownBtn);
            guiCompletionUpBtn.Click   += new EventHandler(onCompletionReordered);
            guiCompletionDownBtn.Click += new EventHandler(onCompletionReordered);

            new CommonTools.Gui.TableButtonHandler(guiRewardsTbl, guiRewardsAddBtn, guiRewardsRemoveBtn, guiRewardsEditBtn, guiRewardUpBtn, guiRewardDownBtn);
            guiRewardUpBtn.Click   += new EventHandler(onRewardReordered);
            guiRewardDownBtn.Click += new EventHandler(onRewardReordered);
        }
Пример #2
0
        public TabStages(FrmMission parent, ListView stageTable)
        {
            InitializeComponent();
            m_parent = parent;
            m_stageTable = stageTable;
            m_mission = null;
            m_stage = null;
            m_dlgRewards = new DlgRewards();
            m_dlgCompletions = new DlgCompletions();
            m_frmTalkTree = new TalkTreeEditor.FrmTalkTree();

            new CommonTools.Gui.TableButtonHandler(guiCompletionsTbl, guiCompletionsAddBtn, guiCompletionsRemoveBtn, guiCompletionsEditBtn, guiCompletionUpBtn, guiCompletionDownBtn);
            guiCompletionUpBtn.Click += new EventHandler(onCompletionReordered);
            guiCompletionDownBtn.Click += new EventHandler(onCompletionReordered);

            new CommonTools.Gui.TableButtonHandler(guiRewardsTbl, guiRewardsAddBtn, guiRewardsRemoveBtn, guiRewardsEditBtn, guiRewardUpBtn, guiRewardDownBtn);
            guiRewardUpBtn.Click += new EventHandler(onRewardReordered);
            guiRewardDownBtn.Click += new EventHandler(onRewardReordered);
        }