Пример #1
0
 private void btnaddPaymennt_Click(object sender, EventArgs e)
 {
     if (DateTime.Now > Program.expdate)
     {
         Trialform tf = new Trialform();
         tf.Show();
     }
     else
     {
         PaymentOut BA = new PaymentOut();
         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();
     }
 }
Пример #2
0
        private void guna2Button8_Click(object sender, EventArgs e)
        {
            PaymentOut si = new PaymentOut();

            si.Show();
        }