public void SaveAllData1(ref UserControlPhotoDownload_Hashtag obj_UserControlPhotoDownload_Hashtag)
        {
            try
            {
                if (ClGlobul.lstStoreDownloadImageKeyword.Count==0)
                {
                    ModernDialog.ShowMessage("Upload Username", "Upload Message", MessageBoxButton.OK);
                    GlobusLogHelper.log.Info("Please Enter Username");
                    return;
                }

                if (obj_UserControlPhotoDownload_Hashtag.rdo_DownloadSingle_ByHashtag.IsChecked == true)
                {
                    PhotoManager.UserphotoDownload_Single = obj_UserControlPhotoDownload_Hashtag.txt_downloadphoto_Hashtag.Text;
                }
                if (obj_UserControlPhotoDownload_Hashtag.rdo_DownloadMultiple_ByHashtag.IsChecked == true)
                {
                    PhotoManager.UserphotoDownload_Multiple = obj_UserControlPhotoDownload_Hashtag.txt_downloadphoto_Hashtag.Text;
                }
                PhotoManager.IsDownLoadImageUsingHashTag = true;
                this.Dispatcher.Invoke(new Action(delegate
                {
                    Username_Hashkey_Uploaded_count.Content = ClGlobul.lstStoreDownloadImageKeyword.Count;
                }));
                GlobusLogHelper.log.Info("Your Data Successfully Save");
            }
            catch (Exception ex)
            {
                GlobusLogHelper.log.Info("Error :" + ex.StackTrace);
            }
        }
        private void Rdo_Using_HashTag_Checked(object sender, RoutedEventArgs e)
        {
            txtblock_Activity_photoDownload.Text = "Using Hashkey Report :";
            Username_Hashkey_Uploaded.Content = "No. Of Hashkey Uploaded :";
            UserControlPhotoDownload_Hashtag obj_UserControlPhotoDownload_Hashtag = new UserControlPhotoDownload_Hashtag();
            var window = new ModernDialog
            {

                Content = obj_UserControlPhotoDownload_Hashtag
            };
            window.ShowInTaskbar = true;
            window.MinHeight = 300;
            window.MinWidth = 700;
            Button customButton = new Button() { Content = "SAVE" };
            Button customButton1 = new Button() { Content = "Close" };
            customButton1.Click += (ss, ee) => { closeEvent(); window.Close(); };
            customButton.Click += (ss, ee) => { SaveAllData1(ref obj_UserControlPhotoDownload_Hashtag); window.Close(); };
            window.Buttons = new Button[] { customButton, customButton1 };

            window.ShowDialog();

            string s1 = string.Empty;
           
        }