Beispiel #1
0
        private void launchListComparerToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (listMaker.Count > 0 && MessageBox.Show("Would you like to copy your current Article List to the ListComparer?", "Copy Article List?", MessageBoxButtons.YesNo) == DialogResult.Yes)
                Comparer = new ListComparer(listMaker.GetArticleList());
            else
                Comparer = new ListComparer();

            Comparer.Show(this);
        }
Beispiel #2
0
        private void launchListComparerToolStripMenuItem_Click(object sender, EventArgs e)
        {
            switch (_listComparerUseCurrentArticleList)
            {
                case 0: //Ask
                    if (listMaker.Count > 0 &&
                        MessageBox.Show("Would you like to copy your current Article List to the ListComparer?",
                                        "Copy Article List?", MessageBoxButtons.YesNo) == DialogResult.Yes)
                    {
                        goto case 1;
                    }

                    goto case 2;

                case 1: //Always
                    Comparer = new ListComparer(listMaker, listMaker.GetArticleList());
                    break;
                case 2: //Never
                    Comparer = new ListComparer(listMaker);
                    break;
            }

            Comparer.Show(this);
        }
 private void listComparerToolStripMenuItem_Click(object sender, EventArgs e)
 {
     ListComparer lc = new ListComparer();
     lc.Show();
 }