コード例 #1
0
ファイル: RenameWindow.g.i.cs プロジェクト: HappyGis520/ETOOL
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.grid = ((System.Windows.Controls.Grid)(target));
                return;

            case 2:

            #line 20 "..\..\RenameWindow.xaml"
                ((System.Windows.Controls.DockPanel)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.DockPanel_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 3:
                this.FilenameBox = ((Ay.Framework.WPF.Controls.AyTextBox)(target));

            #line 33 "..\..\RenameWindow.xaml"
                this.FilenameBox.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.FilenameBox_MouseLeftButtonUp);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
コード例 #2
0
ファイル: AyTextBox.cs プロジェクト: zhouhao09250925/AYOAUI
        static void TextPropertyChanged(DependencyObject sender, DependencyPropertyChangedEventArgs args)
        {
            AyTextBox itb = (AyTextBox)sender;

            bool actuallyHasText = itb.Text.Length > 0;

            if (actuallyHasText != itb.HasText)
            {
                itb.SetValue(HasTextPropertyKey, actuallyHasText);
            }
        }
コード例 #3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.btnMinWindow = ((Ay.Framework.WPF.Controls.AyImageButton)(target));
                return;

            case 2:
                this.btnCloseWindow = ((Ay.Framework.WPF.Controls.AyImageButton)(target));
                return;

            case 3:
                this.wrongTip = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 4:
                this.tb_EmpName = ((Ay.Framework.WPF.Controls.AyTextBox)(target));
                return;

            case 5:
                this.pb = ((System.Windows.Controls.PasswordBox)(target));
                return;

            case 6:
                this.btnLogin = ((System.Windows.Controls.Button)(target));

            #line 188 "..\..\..\Views\LoginWindow.xaml"
                this.btnLogin.Click += new System.Windows.RoutedEventHandler(this.btnLogin_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.btnRenShi = ((System.Windows.Controls.Button)(target));
                return;

            case 8:
                this.btnRenShi_Copy = ((System.Windows.Controls.Button)(target));
                return;

            case 9:
                this.btnRenShi_Copy1 = ((System.Windows.Controls.Button)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #4
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.grid = ((System.Windows.Controls.Grid)(target));
                return;

            case 2:

            #line 21 "..\..\LoginWindow.xaml"
                ((Ay.Framework.WPF.Controls.AyImageButton)(target)).Click += new System.Windows.RoutedEventHandler(this.FButton_Click);

            #line default
            #line hidden
                return;

            case 3:

            #line 25 "..\..\LoginWindow.xaml"
                ((Ay.Framework.WPF.Controls.AyImageButton)(target)).Click += new System.Windows.RoutedEventHandler(this.FButton_Click_1);

            #line default
            #line hidden
                return;

            case 4:
                this.textB = ((Ay.Framework.WPF.Controls.AyTextBox)(target));

            #line 44 "..\..\LoginWindow.xaml"
                this.textB.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.ExtendTextBox_MouseLeftButtonUp);

            #line default
            #line hidden
                return;

            case 5:
                this.PwdBox = ((System.Windows.Controls.PasswordBox)(target));
                return;
            }
            this._contentLoaded = true;
        }