protected override void IntitalizeControls()
        {
            myPropertyTitle.Text += "Particle Emitter Component";

            myEmitterXml = new PathBrowseComponent(new Point(Location.X, Location.Y + 10), new Size(275, 13), "Emitter XML");
            myEmitterXml.GetButton().Click        += new EventHandler(this.BroweseEmitterButton_Click);
            myEmitterXml.GetTextBox().TextChanged += new EventHandler(this.PanelDataChanged);
            myEmitterXml.BindToPanel(this);
            myEmitterXml.Show();
        }
예제 #2
0
 public void BindToPanel(Panel aPanel)
 {
     myModelPathComponent.BindToPanel(aPanel);
     myEffectPathComponent.BindToPanel(aPanel);
 }