private void publishnotification_Clicked(object sender, EventArgs e)
 {
     sn = new SendNotification(this.esub, this.tsub, this);
     this.Hide();
     this.Close();
     sn.ShowDialog();
 }
 public NotificationManager(List <String> esub, List <string> tsub, SendNotification sn)
 {
     InitializeComponent();
     this.esub = esub;
     this.tsub = tsub;
     this.sn   = sn;
 }