Example #1
0
        /// <summary>
        /// Creates the user interface control and connects all event handlers.
        /// </summary>
        /// <returns></returns>
        public object CreateControl()
        {
            Control = new X86ArchitecturePanel();
            Control.Emulate8087Checkbox.Checked         = arch.Options.Emulate8087;
            Control.Emulate8087Checkbox.CheckedChanged += Emulate8087Checkbox_CheckedChanged;

            return(Control);
        }
        /// <summary>
        /// Creates the user interface control and connects all event handlers.
        /// </summary>
        /// <returns></returns>
        public Control CreateControl()
        {
            Control = new X86ArchitecturePanel();
            Control.Emulate8087Checkbox.Checked = arch.Options.Emulate8087;
            Control.Emulate8087Checkbox.CheckedChanged += Emulate8087Checkbox_CheckedChanged;

            return Control;
        }
        /// <summary>
        /// Creates the user interface control and connects all event handlers.
        /// </summary>
        /// <returns></returns>
        public object CreateControl()
        {
            Control = new X86ArchitecturePanel();
            Control.Emulate8087Checkbox.Checked = !arch.Options.ContainsKey("Emulate8087") ||
                                                  arch.Options["Emulate8087"].ToString() == "true";
            Control.Emulate8087Checkbox.CheckedChanged += Emulate8087Checkbox_CheckedChanged;

            return(Control);
        }