Ejemplo n.º 1
0
        private void LogEntryButton_Click(object sender, RoutedEventArgs e)     // Обработка кнопки "Записать в журнал"
        {
            LogEntryWindow lew = new LogEntryWindow();

            lew.Show();
        }
Ejemplo n.º 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.LogEntryWindows = ((LoggingAtTheCheckpoint.LogEntryWindow)(target));
                return;

            case 2:
                this.Logging = ((System.Windows.Controls.Button)(target));

            #line 13 "..\..\LogEntryWindow.xaml"
                this.Logging.Click += new System.Windows.RoutedEventHandler(this.LogginingButton_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.TextDate = ((System.Windows.Controls.TextBox)(target));
                return;

            case 4:
                this.EntryDate = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 5:
                this.RecordNumbertext = ((System.Windows.Controls.TextBox)(target));
                return;

            case 6:
                this.NameText = ((System.Windows.Controls.TextBox)(target));
                return;

            case 7:
                this.SurnameText = ((System.Windows.Controls.TextBox)(target));
                return;

            case 8:
                this.PatronymicText = ((System.Windows.Controls.TextBox)(target));
                return;

            case 9:
                this.DocumentText = ((System.Windows.Controls.TextBox)(target));
                return;

            case 10:
                this.WorkshopText = ((System.Windows.Controls.TextBox)(target));
                return;

            case 11:
                this.RecordNumber = ((System.Windows.Controls.TextBox)(target));
                return;

            case 12:
                this.Name = ((System.Windows.Controls.TextBox)(target));
                return;

            case 13:
                this.Surname = ((System.Windows.Controls.TextBox)(target));
                return;

            case 14:
                this.Patronymic = ((System.Windows.Controls.TextBox)(target));
                return;

            case 15:
                this.Document = ((System.Windows.Controls.TextBox)(target));
                return;

            case 16:
                this.Workshop = ((System.Windows.Controls.TextBox)(target));
                return;

            case 17:
                this.Save = ((System.Windows.Controls.Button)(target));

            #line 28 "..\..\LogEntryWindow.xaml"
                this.Save.Click += new System.Windows.RoutedEventHandler(this.SaveButton_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }