コード例 #1
0
 public SettingsPanel(SettingsComponent parent, object SettingParameters, string panelName)
 {
     _panelName      = panelName;
     _parent         = parent;
     this.IsVisible  = true;
     this.IsRendable = false;
     //initialize the graphical component of the pannel
     InitializeComponent(SettingParameters);
 }
コード例 #2
0
        public KeyBindingSettingsPanel(SettingsComponent parent, D3DEngine engine, UniRectangle bound)
        {
            _engine = engine;
            _engine.ScreenSize_Updated += engine_ScreenSize_Updated;
            _panelName      = "Key Bindings";
            _parent         = parent;
            this.Bounds     = bound;
            this.IsRendable = false;

            InitializeComponent();
        }