示例#1
0
        private void editItemToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (lstPrograms.SelectedItems.Count == 0)
            {
                return;
            }
            frmItemProperty frm = new frmItemProperty((IcoListData)lstPrograms.SelectedItems[0].Tag);

            frm.ShowDialog(this);
        }
示例#2
0
        private void newItemToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmItemProperty frm = new frmItemProperty();

            frm.ShowDialog(this);
        }