Ejemplo n.º 1
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/KNBManagement;component/Views/Slip.xaml", System.UriKind.Relative));
     this.slipViewModel         = ((KNBManagement.ViewModels.SlipViewModel)(this.FindName("slipViewModel")));
     this.LayoutRoot            = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.busyIndicator         = ((KNBManagement.Controls.BusyIndicator)(this.FindName("busyIndicator")));
     this.HeaderText            = ((System.Windows.Controls.TextBlock)(this.FindName("HeaderText")));
     this.border1               = ((System.Windows.Controls.Border)(this.FindName("border1")));
     this.grid1                 = ((System.Windows.Controls.Grid)(this.FindName("grid1")));
     this.grid3                 = ((System.Windows.Controls.Grid)(this.FindName("grid3")));
     this.tradingDateDatePicker = ((System.Windows.Controls.DatePicker)(this.FindName("tradingDateDatePicker")));
     this.journalItemIDComboBox = ((KNBManagement.Controls.CustomComboBox)(this.FindName("journalItemIDComboBox")));
     this.remarksTextBox        = ((System.Windows.Controls.TextBox)(this.FindName("remarksTextBox")));
     this.grid4                 = ((System.Windows.Controls.Grid)(this.FindName("grid4")));
     this.modeViewer1           = ((KNBManagement.Controls.ModeViewer)(this.FindName("modeViewer1")));
     this.cmbSlipType           = ((KNBManagement.Controls.CustomComboBox)(this.FindName("cmbSlipType")));
     this.grid5                 = ((System.Windows.Controls.Grid)(this.FindName("grid5")));
     this.btnAddRecord          = ((System.Windows.Controls.Button)(this.FindName("btnAddRecord")));
     this.btnDelRecord          = ((System.Windows.Controls.Button)(this.FindName("btnDelRecord")));
     this.grid7                 = ((System.Windows.Controls.Grid)(this.FindName("grid7")));
     this.slipDetailDataGrid    = ((System.Windows.Controls.DataGrid)(this.FindName("slipDetailDataGrid")));
     this.journalItemIDColumn   = ((System.Windows.Controls.DataGridTemplateColumn)(this.FindName("journalItemIDColumn")));
     this.journalMoneyColumn    = ((System.Windows.Controls.DataGridTextColumn)(this.FindName("journalMoneyColumn")));
     this.grid8                 = ((System.Windows.Controls.Grid)(this.FindName("grid8")));
     this.btnSlupDetailUp       = ((System.Windows.Controls.Button)(this.FindName("btnSlupDetailUp")));
     this.btnSlupDetailDown     = ((System.Windows.Controls.Button)(this.FindName("btnSlupDetailDown")));
     this.grid2                 = ((System.Windows.Controls.Grid)(this.FindName("grid2")));
     this.cmbCompanies          = ((KNBManagement.Controls.CustomComboBox)(this.FindName("cmbCompanies")));
     this.cmbEmployees          = ((KNBManagement.Controls.CustomComboBox)(this.FindName("cmbEmployees")));
     this.label1                = ((System.Windows.Controls.Label)(this.FindName("label1")));
     this.label2                = ((System.Windows.Controls.Label)(this.FindName("label2")));
     this.label3                = ((System.Windows.Controls.Label)(this.FindName("label3")));
     this.lblBusinessType       = ((System.Windows.Controls.Label)(this.FindName("lblBusinessType")));
     this.grid6                 = ((System.Windows.Controls.Grid)(this.FindName("grid6")));
     this.btnAdd                = ((System.Windows.Controls.Button)(this.FindName("btnAdd")));
     this.btnReg                = ((System.Windows.Controls.Button)(this.FindName("btnReg")));
     this.btnEdit               = ((System.Windows.Controls.Button)(this.FindName("btnEdit")));
     this.btnUpd                = ((System.Windows.Controls.Button)(this.FindName("btnUpd")));
     this.btnCancel             = ((System.Windows.Controls.Button)(this.FindName("btnCancel")));
     this.grid9                 = ((System.Windows.Controls.Grid)(this.FindName("grid9")));
     this.label4                = ((System.Windows.Controls.Label)(this.FindName("label4")));
     this.label5                = ((System.Windows.Controls.Label)(this.FindName("label5")));
     this.calSlipTradingDate    = ((System.Windows.Controls.Calendar)(this.FindName("calSlipTradingDate")));
     this.slipDataGrid          = ((System.Windows.Controls.DataGrid)(this.FindName("slipDataGrid")));
     this.tradingDateColumn     = ((System.Windows.Controls.DataGridTemplateColumn)(this.FindName("tradingDateColumn")));
     this.remarksColumn         = ((System.Windows.Controls.DataGridTextColumn)(this.FindName("remarksColumn")));
 }
Ejemplo n.º 2
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/KNBManagement;component/Views/Login/LoginForm.xaml", System.UriKind.Relative));
     this.busyIndicator = ((KNBManagement.Controls.BusyIndicator)(this.FindName("busyIndicator")));
     this.loginForm     = ((KNBManagement.Controls.CustomDataForm)(this.FindName("loginForm")));
     this.loginButton   = ((System.Windows.Controls.Button)(this.FindName("loginButton")));
     this.loginCancel   = ((System.Windows.Controls.Button)(this.FindName("loginCancel")));
     this.registerNow   = ((System.Windows.Controls.HyperlinkButton)(this.FindName("registerNow")));
 }