Exemple #1
0
        private void toolStripButton4_Click(object sender, EventArgs e)
        {
            if (openPairMultySession.ShowDialog() == DialogResult.OK)
            {
                string[] str = openPairMultySession.FileNames;

                if (str.Length > 0)
                {
                    KopsMultysession t = new KopsMultysession(str[0]);

                    /* add new tab for tournament */
                    TabPage tp = new TabPage(Path.GetFileNameWithoutExtension(str[0]));
                    tabControl1.TabPages.Add(tp);
                    SessionPrintouts control = new SessionPrintouts(t);
                    control.Parent = tp;
                    control.Dock   = DockStyle.Fill;
                }
            }
        }
Exemple #2
0
        private void toolStripButton4_Click(object sender, EventArgs e)
        {
            if (openPairMultySession.ShowDialog() == DialogResult.OK)
            {
                string[] str = openPairMultySession.FileNames;

                if (str.Length > 0)
                {
                    KopsMultysession t = new KopsMultysession(str[0]);

                    /* add new tab for tournament */
                    TabPage tp = new TabPage(Path.GetFileNameWithoutExtension(str[0]));
                    tabControl1.TabPages.Add(tp);
                    SessionPrintouts control = new SessionPrintouts(t);
                    control.Parent = tp;
                    control.Dock = DockStyle.Fill;
                }
            }
        }