コード例 #1
0
        void TabPage7Click(object sender, EventArgs e)
        {
            SelectRace frm = new SelectRace();

            frm.TopLevel        = false;
            frm.Visible         = true;
            frm.FormBorderStyle = FormBorderStyle.None;
            frm.Dock            = DockStyle.Fill;
            tabControl1.TabPages[5].Controls.Add(frm);
        }
コード例 #2
0
        void OpenRaceClick(object sender, System.EventArgs e)
        {
            if (startracewindow == null)

            {
                startracewindow              = new SelectRace();
                startracewindow.FormClosing += fmanageracewindowclosing;

                //	RaceWindow.Parent = this;
            }


            startracewindow.Show();

            startracewindow.Focus();
        }
コード例 #3
0
        public void fmanageracewindowclosing(object sender, FormClosingEventArgs e)

        {
            startracewindow = null;
        }