예제 #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
파일: Selector.cs 프로젝트: OpenRW/Download
        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
파일: Selector.cs 프로젝트: OpenRW/Download
        //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();
        }