Exemplo n.º 1
0
 public Carte(etude proj, int i)
 {
     InitializeComponent();
     projet = proj;
     nproj = i;
     fen = new Fenetre();
 }
Exemplo n.º 2
0
 public Carte(etude proj, int i)
 {
     InitializeComponent();
     projet = proj;
     nproj  = i;
     fen    = new Fenetre();
 }
Exemplo n.º 3
0
        private void décalageToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Affichage affichage = new Affichage(fen);

            affichage.ShowDialog();
            fen         = affichage.fenetre;
            fen.echelle = Convert.ToSingle(affichage.textBox1.Text);
            fen.xl      = fen.xc - 0.5f * this.Width * fen.echelle;
            fen.xu      = fen.xc + 0.5f * this.Width * fen.echelle;
            fen.yl      = fen.yc - 0.5f * this.Height * fen.echelle;
            fen.yu      = fen.yc + 0.5f * this.Height * fen.echelle;



            this.Invalidate();
        }
Exemplo n.º 4
0
        public Affichage(Fenetre fen)
        {
            InitializeComponent();

            fenetre = fen;
        }
Exemplo n.º 5
0
        private void decalageToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Affichage affichage = new Affichage(fen);
            affichage.ShowDialog();
            fen = affichage.fenetre;
            fen.echelle = Convert.ToSingle(affichage.textBox1.Text);
            fen.xl = fen.xc - 0.5f * this.Width * fen.echelle;
            fen.xu = fen.xc + 0.5f * this.Width * fen.echelle;
            fen.yl = fen.yc - 0.5f * this.Height * fen.echelle;
            fen.yu = fen.yc + 0.5f * this.Height * fen.echelle;

            this.Invalidate();
        }
Exemplo n.º 6
0
        public Affichage(Fenetre fen)
        {
            InitializeComponent();

            fenetre = fen;
        }