Exemple #1
0
        public GCP_ModelPanel(Point aLocation)
        {
            myLocation = aLocation;

            myModelPathComponent  = new PathBrowseComponent(new Point(myLocation.X, myLocation.Y + 10), new Size(300, 10), "Model");
            myEffectPathComponent = new PathBrowseComponent(new Point(myLocation.X, myLocation.Y + 35), new Size(300, 10), "Effect");
        }
        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();
        }