예제 #1
0
        private void addACF2ListToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Manual_Entry form = new Manual_Entry();

            form.ShowDialog();
            String list = form.get();

            //Console.WriteLine(list);

            if (list != null)
            {
                ACF2s1 = list.Split(" .,/\\;:!\n\t\r".ToCharArray());
                int           index = 0;
                List <String> acf2s = ACF2s1.ToList <String>();
                while (index < (acf2s.Count() - 1))
                {
                    if (acf2s[index] == "")
                    {
                        acf2s.RemoveAt(index);
                    }
                    else
                    {
                        index++;
                    }
                }
                totalACF2s = acf2s.Count();

                if (acf2s.Count() > 1)
                {
                    divideACF2_Work(acf2s);
                }
                else
                {
                    ACF2s1 = acf2s.ToArray();
                    ACF2s2 = null;
                }
                LoadList();
            }
            form.Dispose();
        }
예제 #2
0
        private void addACF2ListToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Manual_Entry form = new Manual_Entry();
            form.ShowDialog();
            String list = form.get();
            //Console.WriteLine(list);

            if (list != null)
            {
                ACF2s1 = list.Split(" .,/\\;:!\n\t\r".ToCharArray());
                int index = 0;
                List<String> acf2s = ACF2s1.ToList<String>();
                while (index < (acf2s.Count() - 1))
                {
                    if (acf2s[index] == "")
                        acf2s.RemoveAt(index);
                    else
                        index++;
                }
                totalACF2s = acf2s.Count();

                if (acf2s.Count() > 1)
                {
                    divideACF2_Work(acf2s);
                }
                else
                {
                    ACF2s1 = acf2s.ToArray();
                    ACF2s2 = null;
                }
                LoadList();
            }
            form.Dispose();
        }