Exemplo n.º 1
0
        private void Details_DoubleClick(object sender, EventArgs e)
        {
            Forms.RespawnsDetailForm RespawnDetail = new Forms.RespawnsDetailForm();

            RespawnDetail.X.Text         = X.ToString();
            RespawnDetail.Y.Text         = Y.ToString();
            RespawnDetail.Spread.Text    = Range.ToString();
            RespawnDetail.Count.Text     = Count.Text;
            RespawnDetail.Delay.Text     = Delay.Text;
            RespawnDetail.RoutePath.Text = RoutePath;
            RespawnDetail.Direction.Text = Direction.ToString();
            RespawnDetail.RDelay.Text    = RandomDelay.ToString();

            RespawnDetail.ShowDialog();

            X           = Convert.ToInt16(RespawnDetail.X.Text);
            Y           = Convert.ToInt16(RespawnDetail.Y.Text);
            Range       = Convert.ToUInt16(RespawnDetail.Spread.Text);
            Count.Text  = RespawnDetail.Count.Text;
            Delay.Text  = RespawnDetail.Delay.Text;
            RoutePath   = RespawnDetail.RoutePath.Text;
            Direction   = byte.Parse(RespawnDetail.Direction.Text);
            RandomDelay = ushort.Parse(RespawnDetail.RDelay.Text);

            RespawnDetail.Dispose();
        }
Exemplo n.º 2
0
        private void Details_DoubleClick(object sender, EventArgs e)
        {
            Forms.RespawnsDetailForm RespawnDetail = new Forms.RespawnsDetailForm();

            RespawnDetail.X.Text      = X.ToString();
            RespawnDetail.Y.Text      = Y.ToString();
            RespawnDetail.Spread.Text = Range.ToString();
            RespawnDetail.Count.Text  = Count.Text;
            RespawnDetail.Delay.Text  = Delay.Text;

            RespawnDetail.ShowDialog();

            X          = Convert.ToInt16(RespawnDetail.X.Text);
            Y          = Convert.ToInt16(RespawnDetail.Y.Text);
            Range      = Convert.ToUInt16(RespawnDetail.Spread.Text);
            Count.Text = RespawnDetail.Count.Text;
            Delay.Text = RespawnDetail.Delay.Text;

            RespawnDetail.Dispose();
        }
Exemplo n.º 3
0
        private void Details_DoubleClick(object sender, EventArgs e)
        {
            Forms.RespawnsDetailForm RespawnDetail = new Forms.RespawnsDetailForm();

            RespawnDetail.X.Text = X.ToString();
            RespawnDetail.Y.Text = Y.ToString();
            RespawnDetail.Spread.Text = Range.ToString();
            RespawnDetail.Count.Text = Count.Text;
            RespawnDetail.Delay.Text = Delay.Text;
            RespawnDetail.RoutePath.Text = RoutePath;

            RespawnDetail.ShowDialog();

            X = Convert.ToInt16(RespawnDetail.X.Text);
            Y = Convert.ToInt16(RespawnDetail.Y.Text);
            Range = Convert.ToUInt16(RespawnDetail.Spread.Text);
            Count.Text = RespawnDetail.Count.Text;
            Delay.Text = RespawnDetail.Delay.Text;
            RoutePath = RespawnDetail.RoutePath.Text;

            RespawnDetail.Dispose();
        }