Inheritance: System.Windows.Forms.Form
Beispiel #1
0
        public string ShowOptionsDialog(IntPtr hParentWnd, string parameters)
        {
            OptionsForm form = new OptionsForm( );

            if (form.ShowDialog( ) != DialogResult.OK)
            {
                return("");
            }

            string options = form.checkBox1.Checked ? "option1" : "";

            options += form.checkBox2.Checked ? "option2" : "";
            return(options);
        }
Beispiel #2
0
        public string ShowOptionsDialog( IntPtr hParentWnd, string parameters )
        {
            OptionsForm form = new OptionsForm( );
            if ( form.ShowDialog( ) != DialogResult.OK )
                return "";

            string options = form.checkBox1.Checked ? "option1" : "";
            options += form.checkBox2.Checked ? "option2" : "";
            return options;
        }