private void btnprint_Click(object sender, EventArgs e)
        {
            Printing_Masterlist pm = new Printing_Masterlist();

            pm.ifpresident = 1;
            pm.ShowDialog();
        }
        private void btntreasurer_Click(object sender, EventArgs e)
        {
            Printing_Masterlist pm = new Printing_Masterlist();

            pm.ShowInTaskbar = false;
            pm.ShowIcon      = false;
            pm.ifpresident   = 1;
            pm.tabcontrolprint.SelectedTab = pm.tbtreasurer;
            pm.ShowDialog();
        }
        private void btnprint_Click(object sender, EventArgs e)
        {
            Printing_Masterlist pm = new Printing_Masterlist();

            pm.tabcontrolprint.SelectedTab = pm.tbattendance;
            pm.pnlhiding2.Size             = pm.tabcontrolprint.Size;
            if (ifpresident == 1)
            {
                pm.ifpresident = 1;
            }
            else
            {
                pm.ifpresident = 0;
            }
            pm.ShowDialog();
        }