public void LoadListItemNavigate() { StringResources.ApplyLanguage(Enums.ALL_ENUM.Language.VN); ListItemNavigate = new ObservableCollection <ItemNavigate>() { new ItemNavigate() { DisplayName = StringResources.Find("HOME"), Type = Enums.ALL_ENUM.ViewType.HOME, Icon = MaterialDesignThemes.Wpf.PackIconKind.HomeOutline, IsSelected = true }, new ItemNavigate() { DisplayName = StringResources.Find("PRODUCT"), Type = Enums.ALL_ENUM.ViewType.PRODUCT, Icon = MaterialDesignThemes.Wpf.PackIconKind.PackageVariantClosed }, new ItemNavigate() { DisplayName = StringResources.Find("CATEGORYS"), Type = Enums.ALL_ENUM.ViewType.CATEGORY, Icon = MaterialDesignThemes.Wpf.PackIconKind.Buffer }, new ItemNavigate() { DisplayName = StringResources.Find("UNITS"), Type = Enums.ALL_ENUM.ViewType.UNIT, Icon = MaterialDesignThemes.Wpf.PackIconKind.Blur }, new ItemNavigate() { DisplayName = StringResources.Find("SUPPLIER"), Type = Enums.ALL_ENUM.ViewType.SUPPLIER, Icon = MaterialDesignThemes.Wpf.PackIconKind.HumanHandsup }, new ItemNavigate() { DisplayName = StringResources.Find("ACCOUNTS"), Type = Enums.ALL_ENUM.ViewType.ACCOUNT, Icon = MaterialDesignThemes.Wpf.PackIconKind.AccountBoxOutline }, }; }
public InitViewmodel() { StringResources.ApplyLanguage(ALL_ENUM.LANGUAGE.VN); new DisconnectedDatabaseWindow(); Loaded(); }
public void ChangeLanguageToVietNamese() { StringResources.ApplyLanguage(Enums.ALL_ENUM.LANGUAGE.VN); }
public void ChangeLanguageToVietEnglish() { StringResources.ApplyLanguage(Enums.ALL_ENUM.LANGUAGE.EN); }
public DisconnectedDatabaseViewmodel() { StringResources.ApplyLanguage(Enums.ALL_ENUM.LANGUAGE.VN); StateWindow = WindowState.Normal; GetListServerName(); }