Ejemplo n.º 1
0
        public static void ShowAt(IPlace place, Point pnt)
        {
            HideProperties();

            props        = new ObjectProperties();
            props.Target = place;

            props.Owner = Earth3d.MainWindow;
            props.Show();
            pnt.Offset(-300, -88);
            props.Location = pnt;
        }
Ejemplo n.º 2
0
        public static void ShowAt(Point pnt)
        {
            HideProperties();

            props        = new ObjectProperties();
            props.Target = null;

            props.Owner = Earth3d.MainWindow;
            props.Show();
            pnt.Offset(-300, -88);
            props.Location = pnt;
            props.FindCurrentObject();
        }
Ejemplo n.º 3
0
        public static void ShowNofinder(IPlace place, Point pnt)
        {
            HideProperties();


            props            = new ObjectProperties();
            props.Target     = place;
            props.showFinder = false;

            props.Owner            = Earth3d.MainWindow;
            props.TileBarText.Text = Language.GetLocalizedText(20, "Properties");
            props.closeBox.Left    = 270;
            props.Width            = 292;
            props.Height           = 315;
            props.BackgroundImage  = Properties.Resources.PropertiesBackgroundNoFinder;
            props.Show();
            props.Location = pnt;
            props.EnsureVisble();
            props.Focus();
        }
        public static void ShowNofinder(IPlace place, Point pnt)
        {
            HideProperties();

            props = new ObjectProperties();
            props.Target = place;
            props.showFinder = false;

            props.Owner = Earth3d.MainWindow;
            props.TileBarText.Text = Language.GetLocalizedText(20, "Properties");
            props.closeBox.Left = 270;
            props.Width = 292;
            props.Height = 315;
            props.BackgroundImage = Resources.PropertiesBackgroundNoFinder;
            props.Show();
            props.Location = pnt;
            props.EnsureVisble();
            props.Focus();
        }
        public static void ShowAt(Point pnt)
        {
            HideProperties();

            props = new ObjectProperties();
            props.Target = null;

            props.Owner = Earth3d.MainWindow;
            props.Show();
            pnt.Offset(-300,-88);
            props.Location = pnt;
            props.FindCurrentObject();
        }
        public static void ShowAt(IPlace place, Point pnt)
        {
            HideProperties();

            props = new ObjectProperties();
            props.Target = place;

            props.Owner = Earth3d.MainWindow;
            props.Show();
            pnt.Offset(-300,-88);
            props.Location = pnt;
        }