using CommonFunc; using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Text; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging; using System.Windows.Shapes; using XGL.Data; using XGL.Models; using CentralControl.BaseData; using CentralControl.DBDAO; namespace XGL.FormItem { /// /// FormBoard.xaml 的交互逻辑 /// public partial class FormBoard : Window { public FormBoard() { InitializeComponent(); } private void Window_Loaded(object sender, RoutedEventArgs e) { try { } catch (Exception ex) { MethodInfo method = (MethodInfo)MethodBase.GetCurrentMethod(); Common.Log.Error(method.DeclaringType.FullName + "-" + method.Name + "\r\n" + ex.Message + "\r\n" + ex.StackTrace); } } private void btnExit_Click(object sender, RoutedEventArgs e) { try { } catch (Exception ex) { MethodInfo method = (MethodInfo)MethodBase.GetCurrentMethod(); Common.Log.Error(method.DeclaringType.FullName + "-" + method.Name + "\r\n" + ex.Message + "\r\n" + ex.StackTrace); } } private void BindPlan() { try { using (basedata_orderplanDb orderplanDb = new basedata_orderplanDb()) { List models = orderplanDb.GetVList(""); gridPlan.ItemsSource = models; gridPlan.Items.Refresh(); } } catch (Exception ex) { MethodInfo method = (MethodInfo)MethodBase.GetCurrentMethod(); Common.Log.Error(method.DeclaringType.FullName + "-" + method.Name + "\r\n" + ex.Message + "\r\n" + ex.StackTrace); } } /// /// 绑定实时库存 /// private void BindKC() { } } }