I want to convert EventArgs type to PaintEventArgs type, cast button_click to form_paint, how do I write code ? You see my error code

Code:
namespace DrawText_Random
{
    public partial class Form2 : Form
    {        
        public Form2()
        {
            InitializeComponent();
            //progressBar1.Visible = false;
            progressBar1.Minimum = 0;
            progressBar1.Maximum = 100;

            this.Paint += new System.Windows.Forms.PaintEventHandler(this.Form9_Paint);

        }

        int valueforShadowedTextPaint = 0;
        private void btnDrawText_Click(object sender, EventArgs e) //PaintEventArgs e
        {
            progressBar1.Value = 0;
            this.timer1.Interval = 100;
            this.timer1.Enabled = true;            
                       
        }

        private void ShadowedTextPaint(PaintEventArgs e, int num) 
        {            
            // Set up the font
            Font fnt = new Font("Calibri", 296, FontStyle.Bold | FontStyle.Italic, GraphicsUnit.Point);

            // Get the Form's Graphics object
            Graphics g = e.Graphics;

            // Draw background text
            g.DrawString(num.ToString(), fnt, Brushes.DarkGray, 244, 104);

            // Draw main text slightly offset from shadow text
            g.DrawString(num.ToString(), fnt, Brushes.Aqua, 240, 100);

        }
                

        private void timer1_Tick(object sender, EventArgs e)
        {
            if (progressBar1.Value < 100)
            {
                PaintEventArgs g = (PaintEventArgs)e;//Error here: Unable to cast object of type 'System.Windows.Forms.MouseEventArgs' to type 'System.Windows.Forms.PaintEventArgs'.
                Random rd = new Random();
                Random rd = new Random();
                int Number = rd.Next(0, 999);               
                //This place must call ShadowedTextPaint (...) function to jump continuously 
                ShadowedTextPaint(e, Number);                
                progressBar1.Value++;
            }
            else
            {
                this.Invalidate(); 
                this.timer1.Enabled = false;
            }
        }
               
    }
}