コード例 #1
0
        private void FLUTable_DoubleClick(object sender, EventArgs e)
        {
            FLUTItem frm = new FLUTItem(this, itemIndex);

            frm.Text = "Modify Translation Item";
            frm.ShowDialog(this);

            lstvTable.Items[itemIndex].Selected = true;
        }
コード例 #2
0
        private void btnAdd_Click(object sender, EventArgs e)
        {
            int count = LUItemList.Count;

            FLUTItem frm = new FLUTItem(this);

            frm.Text = "Add Translation Item";
            frm.ShowDialog(this);

            this.lblNo.Text = LUItemList.Count + " item(s)";
            if (LUItemList.Count > count)
            {
                itemIndex = count;
                lstvTable.Items[itemIndex].Selected = true;
            }
        }