private void guna2Button1_Click(object sender, EventArgs e)
 {
     if (DateTime.Now > Program.expdate)
     {
         Trialform tf = new Trialform();
         tf.Show();
     }
     else
     {
         Estimate_Quotation BA = new Estimate_Quotation();
         BA.TopLevel = false;
         // BA.AutoScroll = true;
         this.Controls.Add(BA);
         //  BA.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
         BA.Dock    = DockStyle.Fill;
         BA.Visible = true;
         BA.BringToFront();
     }
 }
Ejemplo n.º 2
0
        private void guna2Button2_Click(object sender, EventArgs e)
        {
            Estimate_Quotation si = new Estimate_Quotation();

            si.Show();
        }