public void OnDialog_TextChanged() { if (m_tbDialog.Tag != null) { SHQuestRewards rewards = (SHQuestRewards)m_tbDialog.Tag; int nDialogText = 0; try { nDialogText = Convert.ToInt32(m_tbDialog.Text); } catch (Exception e) { return; } rewards.dialog = nDialogText; Global._VelixianForms.FindForm("QUEST").Touch(); } }
public void OnRewarder_TextChanged() { if (m_tbRewarder.Tag != null) { SHQuestRewards rewards = (SHQuestRewards)m_tbRewarder.Tag; String[] tmp = m_tbRewarder.Text.Split(new Char[] { ',' }); if (tmp.Length != 2) { return; } rewards.rewarder = m_tbRewarder.Text; Global._VelixianForms.FindForm("QUEST").Touch(); } }