Burda rd ve a'yı global tanımlanmış şekilde görebilirsin. bu cs dosyasında istediğin heryerde ek tanımlamaya ihtiyaç duymadan kullanabilirsin. Static koyarsan eğer son işlem değerini alır.

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace WindowsFormsApplication7
{
    public partial class Form1 : Form
    {
        Random rd = new Random();
        int a = 0;

        public Form1()
        {
            InitializeComponent();
           
        }

        private void Form1_Load(object sender, EventArgs e)
        {
            a = rd.Next(0, 100);
            label1.Text = a.ToString();  
        }

        private void button1_Click(object sender, EventArgs e)
        {
            if ( a < Convert.ToInt32(textBox1.Text)) { 
            
            }
        }
    }
}