public void ClosePod()
 {
     try
     {
         if (render != null)
         {
             render.ClosePod();
             render = null;
         }
     }
     catch (Exception ex)
     {
         VMuktiAPI.VMuktiHelper.ExceptionHandler(ex, "PopUpDispo_MouseLeave()", "BtnDispositionRender.xaml.cs");
     }
 }
 public void ClosePod()
 {
    try
    {
        if (render != null)
        {
            render.ClosePod();
            render = null;
        }
     }
     catch (Exception ex)
     {
         VMuktiAPI.VMuktiHelper.ExceptionHandler(ex, "PopUpDispo_MouseLeave()", "BtnDispositionRender.xaml.cs");
     }
 }
 public BtnAutoDispositionRender(ModulePermissions[] MyPermissions)
 {
     try
     {
         this.DispotionRender = new UserControl();
         InitializeComponent();
         VMuktiAPI.VMuktiHelper.RegisterEvent("SignOut").VMuktiEvent += new VMuktiAPI.VMuktiEvents.VMuktiEventHandler(BtnAutoDispositionRender_VMuktiEvent);
         render = new CtlDispositionRender(MyPermissions);
         this.DispotionRender.Content = render;
     }
     catch (Exception ex)
     {
         VMuktiAPI.VMuktiHelper.ExceptionHandler(ex, "BtnDispositionRender()", "BtnDispositionRender.xaml.cs");
     }
 }
 public BtnAutoDispositionRender(ModulePermissions[] MyPermissions)
 {
     try
     {
         this.DispotionRender = new UserControl();
         InitializeComponent();
         VMuktiAPI.VMuktiHelper.RegisterEvent("SignOut").VMuktiEvent += new VMuktiAPI.VMuktiEvents.VMuktiEventHandler(BtnAutoDispositionRender_VMuktiEvent);
         render = new CtlDispositionRender(MyPermissions);
         this.DispotionRender.Content = render;
     }
     catch (Exception ex)
     {
         VMuktiAPI.VMuktiHelper.ExceptionHandler(ex, "BtnDispositionRender()", "BtnDispositionRender.xaml.cs");
     }
 }