You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- //using BPASmartClient.CustomResource.Pages.Model;
- using BPASmartClient.MorkS.Model;
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using System.Windows;
- using System.Windows.Controls;
- using System.Windows.Controls.Primitives;
- using System.Windows.Data;
- using System.Windows.Documents;
- using System.Windows.Input;
- using System.Windows.Media;
- using System.Windows.Media.Imaging;
- using System.Windows.Navigation;
- using System.Windows.Shapes;
-
- namespace BPASmartClient.MorkS.View
- {
- /// <summary>
- /// GoodsMakeView.xaml 的交互逻辑
- /// </summary>
- public partial class GoodsMakeView : UserControl
- {
- public GoodsMakeView()
- {
- InitializeComponent();
- }
-
- private void togFire_Click(object sender, RoutedEventArgs e)
- {
- if (sender is ToggleButton btn)
- {
- if (btn.IsChecked!=null)
- {
- btn.Content=(bool)btn.IsChecked ? "本地" : "小程序";
- if ((bool)btn.IsChecked)
- {
- btn.HorizontalContentAlignment = HorizontalAlignment.Left;
- }
- else
- {
- btn.HorizontalContentAlignment = HorizontalAlignment.Right;
- }
- Global.LocalOrderModel =(bool)btn.IsChecked;
- }
-
- }
- }
- }
- }
|