コード例 #1
0
        private void Button_CopyDelegate_Click(object sender, EventArgs e)
        {
            RegisterParticipant participant = new RegisterParticipant(mainWindow, mainWindow.events, this.participant, participantEvent);

            participant.Show();
            participant.BringToFront();
            this.Dispose();
        }
コード例 #2
0
        public RegisterParticipationString(RegisterParticipant registerParticipant)
        {
            this.registerParticipant = registerParticipant;
            participationForm        = "register";
            InitializeComponent();
            bool toMaximize = WindowHelper.checkIfMaximizeWindow(this.Width, this.Height);

            if (toMaximize)
            {
                this.WindowState = FormWindowState.Maximized;
            }
            BringToFront();
        }