コード例 #1
0
        private void navHelpAbout_Click(object sender, EventArgs e)
        {
            HelpAbout curForm = new HelpAbout();

            mdiStatusMsg.Text = curForm.Name + " opening";

            // Set the Parent Form and display requested form
            curForm.MdiParent = this;
            curForm.Show();
            mdiStatusMsg.Text = curForm.Name + " open";
        }
コード例 #2
0
        public void LoadClientPlugins()
        {
            LoadGlobalPlugins();

            UIEntityPropertiesDialog.GetInstance();
            Editing3d.GetInstance();
            SelectionController.GetInstance();
            AssignTextureHandler.GetInstance();
            AssignColorHandler.GetInstance();
            WorldPersistToXml.GetInstance();

            ImportExportPrimBlender.GetInstance();

            EntityDelete.GetInstance();


            //SimpleCube.Register();  // SimpleCube and SimpleCone are for testing primarily
            //SimpleCone.Register();

            FractalSplineBox.Register();
            FractalSplinePrism.Register();
            FractalSplineCylinder.Register();
            FractalSplineTube.Register();
            FractalSplineRing.Register();
            FractalSplineTorus.Register();

            //WorldView.GetInstance();

            //plugins.Add(new DrawAxes());
            FrustrumCulling.GetInstance();

            ServerInfo.GetInstance();
            ConnectToServerDialog.GetInstance();

            MainTerrainWindow.GetInstance();
            BrushEffectController.GetInstance().Register(new RaiseLower());
            BrushEffectController.GetInstance().Register(new FixedHeight());
            BrushEffectController.GetInstance().Register(new Flatten());
            BrushEffectController.GetInstance().Register(new PaintTexture());
            BrushShapeController.GetInstance().Register(new RoundBrush());
            BrushShapeController.GetInstance().Register(new SquareBrush());
            EditController.GetInstance();
            plugins.Add(new CurrentEditSpot());

            // add allowed serialization/deserialization types (security measure)
            OsmpXmlSerializer.GetInstance().RegisterType(typeof(Prim));
            OsmpXmlSerializer.GetInstance().RegisterType(typeof(Vector3));
            OsmpXmlSerializer.GetInstance().RegisterType(typeof(Rot));
            OsmpXmlSerializer.GetInstance().RegisterType(typeof(Vector2));
            OsmpXmlSerializer.GetInstance().RegisterType(typeof(TerrainModel));
            OsmpXmlSerializer.GetInstance().RegisterType(typeof(Color));
            OsmpXmlSerializer.GetInstance().RegisterType(typeof(MapTextureStageModel));
            OsmpXmlSerializer.GetInstance().RegisterType(typeof(FractalSplineBox));
            OsmpXmlSerializer.GetInstance().RegisterType(typeof(FractalSplineCylinder));
            OsmpXmlSerializer.GetInstance().RegisterType(typeof(FractalSplinePrim));
            OsmpXmlSerializer.GetInstance().RegisterType(typeof(FractalSplinePrism));
            OsmpXmlSerializer.GetInstance().RegisterType(typeof(FractalSplineRing));
            OsmpXmlSerializer.GetInstance().RegisterType(typeof(FractalSplineTorus));
            OsmpXmlSerializer.GetInstance().RegisterType(typeof(FractalSplineTube));
            OsmpXmlSerializer.GetInstance().RegisterType(typeof(Avatar));
            OsmpXmlSerializer.GetInstance().RegisterType(typeof(EntityGroup));
            OsmpXmlSerializer.GetInstance().RegisterType(typeof(Entity));

            MetaverseClient.GetInstance().worldstorage.terrainmodel.NewMap();

            DumpLogfile.GetInstance();
            HelpAbout.GetInstance();
            KeyHandlerQuit.GetInstance();
        }
コード例 #3
0
        private void About_Click(object sender, EventArgs e)
        {
            HelpAbout about = new HelpAbout();

            about.ShowDialog();
        }
コード例 #4
0
ファイル: Interactivity.cs プロジェクト: avijit1258/UVA-Arena
 /// <summary>
 /// Show Help and About form
 /// </summary>
 public static void ShowHelpAbout()
 {
     if (helpaboutForm == null || helpaboutForm.IsDisposed)
         helpaboutForm = new HelpAbout();
     OpenForm(helpaboutForm);
 }
コード例 #5
0
        private void aboutToolStripMenuItem_Click(object sender, EventArgs e)
        {
            HelpAbout f = new HelpAbout();

            f.ShowDialog();
        }