Example #1
0
        private void btn2_click(object sender, EventArgs e)
        {
            Button button = (Button)sender;

            switch (button.Name)
            {
            case "btn_feedback":    //피드백 버튼
                //;
                break;

            case "btn_setting":    //설정 버튼
                //Form_bookmark bookmark = new Form_bookmark();
                //bookmark.FormBorderStyle = FormBorderStyle.None;
                //bookmark.WindowState = FormWindowState.Normal;
                //bookmark.Size = new Size(400,200);
                //bookmark.ShowDialog();

                Form_config config = new Form_config();
                //config.Location=this.Location;
                config.ShowDialog();
                break;

            default:
                break;
            }
        }
Example #2
0
        private void btn4_Click(Object o, EventArgs e)
        {
            Form_config config = new Form_config();

            config.StartPosition = FormStartPosition.CenterParent;
            config.ShowDialog();
            //MessageBox.Show("설정");
        }