예제 #1
0
        private void updateToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (treeList1.FocusedNode == null)
            {
                return;
            }
            int             id    = int.Parse(treeList1.FocusedNode.Tag.ToString());
            EquipmentInfo   info  = EquipmentData.GetEquipmentById(id);
            UpdateEquipment write = new UpdateEquipment(info);

            write.MyRefreshEvent += new UpdateEquipment.MyDelegate(InitializeComboBox);
            write.Show();
        }