public InsertLinkForm(VisualEditLibEx parent, SqlConnection Conn, string Root, int nDefFont) { InitializeComponent(); m_Parent = parent; m_Conn = Conn; m_Root = Root; m_nDefFont = nDefFont; int nPosCount = m_Parent.LinkArray.Count; for (int i = -1; i < nPosCount; i++) { comboBox_InsertPos.Items.Add(i + 2); } for (int i = 0; i < m_Parent.FontBox.Items.Count; i++) { comboBox_Font.Items.Add(m_Parent.FontBox.Items[i]); } comboBox_Model.Items.Add("等级提示"); comboBox_Model.Items.Add("剑三知道"); comboBox_Model.Items.Add("活动"); comboBox_Model.Items.Add("秘境"); comboBox_Model.Items.Add("日常任务"); listBoxItemTag = new ArrayList(); LinkArray = new ArrayList(); //listBoxItemTagBak = new ArrayList(); //listBoxItemTextBak = new ArrayList(); for (int i = 0; i < m_Parent.LinkArray.Count; i++) { LinkArray.Add(m_Parent.LinkArray[i]); listBox2.Items.Add((m_Parent.LinkArray[i] as Object[])[0].ToString() + "<" + (m_Parent.LinkArray[i] as Object[])[2].ToString() + ">"); } comboBox_Font.SelectedIndex = comboBox_Font.Items.Count - 1; }
public Control GetTabControl(string RootDir, string tabName, int nFont) { m_EditLibEx = new VisualEditLibEx(m_Conn, this, tabName, RootDir, true, nFont); return m_EditLibEx.Table; }
public Control GetTabControl(string RootDir, string tabName, int nFont) { m_EditLibEx = new VisualEditLibEx(m_Conn, this, tabName, RootDir, true, nFont); return(m_EditLibEx.Table); }