예제 #1
0
        void LoadFile(string file)
        {
            PartList partList = PartList.LoadXML(file);

            partList.LoadParts(delegate
            {
                this.partList = partList;
                UpdateView();
            });
        }
예제 #2
0
        private void newToolStripMenuItem_Click(object sender, EventArgs e)
        {
            partList = new PartList();

            UpdateView();
        }