コード例 #1
0
        public void InitializeComponent()
        {
            if (_contentLoaded)
            {
                return;
            }

            _contentLoaded = true;
            global::Windows.UI.Xaml.Application.LoadComponent(this, new global::System.Uri("ms-appx:///View/MaintainRoom.xaml"), global::Windows.UI.Xaml.Controls.Primitives.ComponentResourceLocation.Application);

            txtMessageBar     = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("txtMessageBar");
            btnSave           = (global::Windows.UI.Xaml.Controls.Button) this.FindName("btnSave");
            btnCancel         = (global::Windows.UI.Xaml.Controls.Button) this.FindName("btnCancel");
            comboBoxRooms     = (global::Windows.UI.Xaml.Controls.ComboBox) this.FindName("comboBoxRooms");
            txtRoomNo         = (global::Callisto.Controls.WatermarkTextBox) this.FindName("txtRoomNo");
            txtIpAddress      = (global::Callisto.Controls.WatermarkTextBox) this.FindName("txtIpAddress");
            txtComputerDesc   = (global::Callisto.Controls.WatermarkTextBox) this.FindName("txtComputerDesc");
            txtRemarks        = (global::Callisto.Controls.WatermarkTextBox) this.FindName("txtRemarks");
            chkActive         = (global::Windows.UI.Xaml.Controls.CheckBox) this.FindName("chkActive");
            chkCardReader     = (global::Windows.UI.Xaml.Controls.CheckBox) this.FindName("chkCardReader");
            txtModDate        = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("txtModDate");
            backButton        = (global::Windows.UI.Xaml.Controls.Button) this.FindName("backButton");
            pageTitle         = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("pageTitle");
            txtTotalRoomCount = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("txtTotalRoomCount");
            bottomAppBar      = (global::Windows.UI.Xaml.Controls.AppBar) this.FindName("bottomAppBar");
            btnRefresh        = (global::Windows.UI.Xaml.Controls.Button) this.FindName("btnRefresh");
            btnHelp           = (global::Windows.UI.Xaml.Controls.Button) this.FindName("btnHelp");
            btnEdit           = (global::Windows.UI.Xaml.Controls.Button) this.FindName("btnEdit");
            btnRemove         = (global::Windows.UI.Xaml.Controls.Button) this.FindName("btnRemove");
            btnAdd            = (global::Windows.UI.Xaml.Controls.Button) this.FindName("btnAdd");
        }
コード例 #2
0
        public void InitializeComponent()
        {
            if (_contentLoaded)
            {
                return;
            }

            _contentLoaded = true;
            global::Windows.UI.Xaml.Application.LoadComponent(this, new global::System.Uri("ms-appx:///View/AddPayment.xaml"), global::Windows.UI.Xaml.Controls.Primitives.ComponentResourceLocation.Application);

            txtMessageBar     = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("txtMessageBar");
            btnSave           = (global::Windows.UI.Xaml.Controls.Button) this.FindName("btnSave");
            btnCancel         = (global::Windows.UI.Xaml.Controls.Button) this.FindName("btnCancel");
            comboBoxRooms     = (global::Windows.UI.Xaml.Controls.ComboBox) this.FindName("comboBoxRooms");
            txtName           = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("txtName");
            tgGender          = (global::Windows.UI.Xaml.Controls.ToggleSwitch) this.FindName("tgGender");
            txtCheckIn        = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("txtCheckIn");
            txtCheckOut       = (global::Callisto.Controls.WatermarkTextBox) this.FindName("txtCheckOut");
            txtTotalTime      = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("txtTotalTime");
            txtTotalAmount    = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("txtTotalAmount");
            txtRecievedAmount = (global::Callisto.Controls.WatermarkTextBox) this.FindName("txtRecievedAmount");
            rchkCardReader    = (global::Windows.UI.Xaml.Controls.CheckBox) this.FindName("rchkCardReader");
            chkCardReader     = (global::Windows.UI.Xaml.Controls.CheckBox) this.FindName("chkCardReader");
            chkWebCam         = (global::Windows.UI.Xaml.Controls.CheckBox) this.FindName("chkWebCam");
            rchkWebCam        = (global::Windows.UI.Xaml.Controls.CheckBox) this.FindName("rchkWebCam");
            backButton        = (global::Windows.UI.Xaml.Controls.Button) this.FindName("backButton");
            pageTitle         = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("pageTitle");
            txtTotalRoomCount = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("txtTotalRoomCount");
        }
コード例 #3
0
        public void InitializeComponent()
        {
            if (_contentLoaded)
            {
                return;
            }

            _contentLoaded = true;
            global::Windows.UI.Xaml.Application.LoadComponent(this, new global::System.Uri("ms-appx:///View/AddReservation.xaml"), global::Windows.UI.Xaml.Controls.Primitives.ComponentResourceLocation.Application);

            btnSave          = (global::Windows.UI.Xaml.Controls.Button) this.FindName("btnSave");
            btnCancel        = (global::Windows.UI.Xaml.Controls.Button) this.FindName("btnCancel");
            comboxClientName = (global::Windows.UI.Xaml.Controls.ComboBox) this.FindName("comboxClientName");
            btnAddName       = (global::Windows.UI.Xaml.Controls.Button) this.FindName("btnAddName");
            txtName          = (global::Callisto.Controls.WatermarkTextBox) this.FindName("txtName");
            tgGender         = (global::Windows.UI.Xaml.Controls.ToggleSwitch) this.FindName("tgGender");
            txtCheckIn       = (global::Callisto.Controls.WatermarkTextBox) this.FindName("txtCheckIn");
            numUpDown        = (global::Callisto.Controls.NumericUpDown) this.FindName("numUpDown");
            txtCheckOut      = (global::Callisto.Controls.WatermarkTextBox) this.FindName("txtCheckOut");
            comboBoxRooms    = (global::Windows.UI.Xaml.Controls.ComboBox) this.FindName("comboBoxRooms");
            chkWebCam        = (global::Windows.UI.Xaml.Controls.CheckBox) this.FindName("chkWebCam");
            chkCardReader    = (global::Windows.UI.Xaml.Controls.CheckBox) this.FindName("chkCardReader");
            chkStatus        = (global::Windows.UI.Xaml.Controls.CheckBox) this.FindName("chkStatus");
            backButton       = (global::Windows.UI.Xaml.Controls.Button) this.FindName("backButton");
            pageTitle        = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("pageTitle");
        }
コード例 #4
0
        public void InitializeComponent()
        {
            if (_contentLoaded)
            {
                return;
            }

            _contentLoaded = true;
            global::Windows.UI.Xaml.Application.LoadComponent(this, new global::System.Uri("ms-appx:///View/Settings.xaml"), global::Windows.UI.Xaml.Controls.Primitives.ComponentResourceLocation.Application);

            txtfifteenMint        = (global::Callisto.Controls.WatermarkTextBox) this.FindName("txtfifteenMint");
            txtthirtyMint         = (global::Callisto.Controls.WatermarkTextBox) this.FindName("txtthirtyMint");
            txtsixtyMint          = (global::Callisto.Controls.WatermarkTextBox) this.FindName("txtsixtyMint");
            txtnintyMint          = (global::Callisto.Controls.WatermarkTextBox) this.FindName("txtnintyMint");
            txtonetweentyMint     = (global::Callisto.Controls.WatermarkTextBox) this.FindName("txtonetweentyMint");
            txtonetweentyplusMint = (global::Callisto.Controls.WatermarkTextBox) this.FindName("txtonetweentyplusMint");
            btnSave           = (global::Windows.UI.Xaml.Controls.Button) this.FindName("btnSave");
            btnCancel         = (global::Windows.UI.Xaml.Controls.Button) this.FindName("btnCancel");
            backButton        = (global::Windows.UI.Xaml.Controls.Button) this.FindName("backButton");
            pageTitle         = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("pageTitle");
            txtTotalRoomCount = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("txtTotalRoomCount");
        }