示例#1
0
        private void button5_Click(object sender, EventArgs e)
        {
            this.Hide();
            var pathForm = new OpenRW.Path(10, this.StartPosition);
            pathForm.Closed += (s, args) => Application.Exit();

        }
示例#2
0
        private void button3_Click(object sender, EventArgs e)
        {
            this.Hide();
            var pathForm = new OpenRW.Path(2, this.StartPosition);

            pathForm.Closed += (s, args) => Application.Exit();
        }
示例#3
0
        //Some buttons
        private void button1_Click(object sender, EventArgs e)
        {
            //Hides the current form, DOES NOT close it.
            this.Hide();
            //Opens the Path form with an argument
            var pathForm = new OpenRW.Path(0, this.StartPosition);
            //When the new form closes, it quits the app

            
            pathForm.Closed += (s, args) => Application.Exit();
            
        }
示例#4
0
        //Some buttons
        private void button1_Click(object sender, EventArgs e)
        {
            //Hides the current form, DOES NOT close it.
            this.Hide();
            //Opens the Path form with an argument
            var pathForm = new OpenRW.Path(0, this.StartPosition);

            //When the new form closes, it quits the app


            pathForm.Closed += (s, args) => Application.Exit();
        }