private void ShowLicenseScreen(string LicenseMessage, string WarningMessage, string Params)
 {
     if (!_lincenseScreenRequired)
     {
         MessageBox.ShowBox(WarningMessage, BMC_Icon.Warning, BMC_Button.OK, Params);
         return;
     }
     objLicenseActivation        = new LicenseActivation(LicenseMessage);
     objLicenseActivation.Owner  = CurrentWindow;
     CurrentWindow.ShowInTaskbar = false;
     objLicenseActivation.ShowDialog();
     CurrentWindow.ShowInTaskbar = true;
 }
 private void ShowLicenseScreen(string LicenseMessage, string WarningMessage, string Params)
 {
     if (!_lincenseScreenRequired)
     {
         MessageBox.ShowBox(WarningMessage, BMC_Icon.Warning, BMC_Button.OK, Params);
         return;
     }
     objLicenseActivation = new LicenseActivation(LicenseMessage); 
     objLicenseActivation.Owner = CurrentWindow;
     CurrentWindow.ShowInTaskbar = false;
     objLicenseActivation.ShowDialog();
     CurrentWindow.ShowInTaskbar = true;
 }
 private void btnLicenseActivation_PreviewMouseLeftButtonUp(object sender, System.Windows.Input.MouseButtonEventArgs e)
 {
     LicenseActivation objLicenseActivation = new LicenseActivation();
     objLicenseActivation.ShowDialogEx(this);
 }