コード例 #1
0
        private void pauseSong(int pos)
        {
            int i = 0;

            foreach (Control control in flowLayoutPanel1.Controls)
            {
                if (control.GetType() == typeof(Song_Form))
                {
                    if (i == pos)
                    {
                        Song_Form sf = (Song_Form)control;
                        sf.makeButt_visible();
                        return;
                    }

                    i++;
                }
            }
        }