Example #1
0
        private void clearZonesButton_Click(object sender, EventArgs e)
        {
            if (MessageBox.Show("Are you sure you want to clear all sections?", "Are you sure?", MessageBoxButtons.YesNo, MessageBoxIcon.Warning)
                != DialogResult.Yes)
            {
                return;
            }

            cuts.Clear();
            updateListView();
        }
Example #2
0
        public void UpdateCutList()
        {
            Cuts.Clear();

            Cut c = FirstCut;

            while (c != null)
            {
                Cuts.Add(c);
                c = c.NextCut;
            }
        }