|
@@ -10,6 +10,7 @@ using System.Collections.Generic;
|
|
|
using System.IO;
|
|
|
using System.Linq;
|
|
|
using System.Threading.Tasks;
|
|
|
+using System.Windows;
|
|
|
|
|
|
namespace PDF_Master.ViewModels.HomePanel.ChatGPTAI
|
|
|
{
|
|
@@ -44,6 +45,31 @@ namespace PDF_Master.ViewModels.HomePanel.ChatGPTAI
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ private Visibility errorTipVisible=Visibility.Collapsed;
|
|
|
+ public Visibility ErrorTipVisible
|
|
|
+ {
|
|
|
+ get
|
|
|
+ {
|
|
|
+ return errorTipVisible;
|
|
|
+ }
|
|
|
+ set
|
|
|
+ {
|
|
|
+ SetProperty(ref errorTipVisible, value);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ private string errorTipText = "The uploaded file cannot exceed 10MB";
|
|
|
+ public string ErrorTipText
|
|
|
+ {
|
|
|
+ get
|
|
|
+ {
|
|
|
+ return errorTipText;
|
|
|
+ }
|
|
|
+ set
|
|
|
+ {
|
|
|
+ SetProperty(ref errorTipText, value);
|
|
|
+ }
|
|
|
+ }
|
|
|
public static List<string> FromlanguageFamily { set; get; } = new List<string>();
|
|
|
private void GetFromlanguageOrigin()
|
|
|
{
|