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(); } }
private void guna2Button2_Click(object sender, EventArgs e) { Estimate_Quotation si = new Estimate_Quotation(); si.Show(); }