Exemple #1
0
        private void pictureBox4_Click(object sender, EventArgs e)
        {
            GLViewerConfigForm dlg = new GLViewerConfigForm();
            Point p = HomeButton.PointToScreen(new Point(HomeButton.Width, 0));

            dlg.Location = p;
            dlg.Config   = this.ViewerConfig;
            if (dlg.ShowDialog() == DialogResult.OK)
            {
                this.ViewerConfig = dlg.Config;
                this.ViewerConfig.SaveDefault();
                Refresh();
            }
        }