private void button8_Click(object sender, EventArgs e) { try { buyerid = buyeridtbox.Text; emailid = emailidtbox.Text; date = shippingdatetbox.Text; saddress = shippingaddresstbox.Text; sfee = int.Parse(shippingfeestbox.Text); total = int.Parse(totaltbox.Text); name = customernametbox.Text; paisapayidglobal = long.Parse(paisapayidtbox.Text); lsp = shippingpatnertbox.Text; awbno = awbnotbox.Text; sendmail open = new sendmail(); open.Show(); } catch (Exception e1) { MessageBox.Show("Missing Some Important Fields"); } }
private void button4_Click(object sender, EventArgs e) { sendmail obj = new sendmail(); obj.Show(); }