Interaction logic for IconButton.xaml
Inheritance: System.Windows.Controls.UserControl
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 8 "..\..\..\..\Bookmarks\AddBookmark.xaml"
                ((WebExpress.AddBookmark)(target)).IsVisibleChanged += new System.Windows.DependencyPropertyChangedEventHandler(this.UserControl_IsVisibleChanged);

            #line default
            #line hidden
                return;

            case 2:
                this.Header = ((System.Windows.Controls.Label)(target));
                return;

            case 3:
                this.Title = ((System.Windows.Controls.Label)(target));
                return;

            case 4:
                this.TitleBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 5:
                this.DoneButton = ((WebExpress.Controls.FlatButton)(target));
                return;

            case 6:
                this.CloseButton = ((WebExpress.Controls.IconButton)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.content = ((System.Windows.Controls.Grid)(target));
                return;

            case 2:
                this.label = ((System.Windows.Controls.Label)(target));
                return;

            case 3:
                this.button = ((WebExpress.Controls.IconButton)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.TabBar1 = ((System.Windows.Controls.Grid)(target));

            #line 32 "..\..\..\..\Tabs\TabBar.xaml"
                this.TabBar1.SizeChanged += new System.Windows.SizeChangedEventHandler(this.TabBar1_SizeChanged);

            #line default
            #line hidden
                return;

            case 2:
                this.canvas = ((System.Windows.Controls.Canvas)(target));
                return;

            case 3:
                this.AddButton = ((WebExpress.Controls.IconButton)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 4
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.container = ((System.Windows.Controls.Grid)(target));
                return;

            case 2:
                this.startPage = ((WebExpress.StartPage)(target));
                return;

            case 3:
                this.WebView = ((CefSharp.Wpf.ChromiumWebBrowser)(target));

            #line 44 "..\..\..\..\Applets\TabView.xaml"
                this.WebView.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.WebView_PreviewMouseDown);

            #line default
            #line hidden
                return;

            case 4:
                this.ListContainer = ((System.Windows.Controls.Grid)(target));
                return;

            case 5:
                this.MagicBox = ((WebExpress.Controls.MagicBox)(target));
                return;

            case 6:
                this.Panel = ((System.Windows.Controls.Grid)(target));

            #line 56 "..\..\..\..\Applets\TabView.xaml"
                this.Panel.MouseEnter += new System.Windows.Input.MouseEventHandler(this.Panel_MouseEnter);

            #line default
            #line hidden

            #line 56 "..\..\..\..\Applets\TabView.xaml"
                this.Panel.MouseLeave += new System.Windows.Input.MouseEventHandler(this.Panel_MouseLeave);

            #line default
            #line hidden
                return;

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

            #line 61 "..\..\..\..\Applets\TabView.xaml"
                this.textBox.KeyDown += new System.Windows.Input.KeyEventHandler(this.textBox_KeyDown);

            #line default
            #line hidden

            #line 61 "..\..\..\..\Applets\TabView.xaml"
                this.textBox.GotMouseCapture += new System.Windows.Input.MouseEventHandler(this.textBox_GotMouseCapture);

            #line default
            #line hidden
                return;

            case 8:
                this.Back = ((WebExpress.Controls.IconButton)(target));
                return;

            case 9:
                this.Forward = ((WebExpress.Controls.IconButton)(target));
                return;

            case 10:
                this.RefreshButton = ((WebExpress.Controls.IconButton)(target));
                return;

            case 11:
                this.MenuButton = ((WebExpress.Controls.IconButton)(target));
                return;

            case 12:
                this.BookmarkButton = ((WebExpress.Controls.IconButton)(target));
                return;

            case 13:
                this.SnackBar = ((WebExpress.Controls.SnackBar)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 5
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 9 "..\..\..\..\Downloads\DownloadItem.xaml"
                ((WebExpress.DownloadItem)(target)).MouseEnter += new System.Windows.Input.MouseEventHandler(this.UserControl_MouseEnter);

            #line default
            #line hidden

            #line 9 "..\..\..\..\Downloads\DownloadItem.xaml"
                ((WebExpress.DownloadItem)(target)).MouseLeave += new System.Windows.Input.MouseEventHandler(this.UserControl_MouseLeave);

            #line default
            #line hidden
                return;

            case 2:

            #line 12 "..\..\..\..\Downloads\DownloadItem.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click);

            #line default
            #line hidden
                return;

            case 3:

            #line 14 "..\..\..\..\Downloads\DownloadItem.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click_1);

            #line default
            #line hidden
                return;

            case 4:
                this.bg = ((System.Windows.Controls.Grid)(target));
                return;

            case 5:

            #line 51 "..\..\..\..\Downloads\DownloadItem.xaml"
                ((System.Windows.Controls.Grid)(target)).PreviewMouseUp += new System.Windows.Input.MouseButtonEventHandler(this.UserControl_MouseDown);

            #line default
            #line hidden
                return;

            case 6:
                this.FileName = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 7:
                this.Size = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 8:
                this.button = ((WebExpress.Controls.IconButton)(target));
                return;

            case 9:
                this.ProgressBar = ((System.Windows.Controls.Grid)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 6
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Me = ((WebExpress.Tab)(target));

            #line 8 "..\..\..\..\Tabs\Tab.xaml"
                this.Me.MouseEnter += new System.Windows.Input.MouseEventHandler(this.bg2_MouseEnter);

            #line default
            #line hidden

            #line 9 "..\..\..\..\Tabs\Tab.xaml"
                this.Me.MouseLeave += new System.Windows.Input.MouseEventHandler(this.bg2_MouseLeave);

            #line default
            #line hidden

            #line 10 "..\..\..\..\Tabs\Tab.xaml"
                this.Me.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Grid_MouseDown);

            #line default
            #line hidden

            #line 11 "..\..\..\..\Tabs\Tab.xaml"
                this.Me.SizeChanged += new System.Windows.SizeChangedEventHandler(this.Me_SizeChanged);

            #line default
            #line hidden
                return;

            case 2:
                this.bg = ((System.Windows.Controls.Grid)(target));

            #line 20 "..\..\..\..\Tabs\Tab.xaml"
                this.bg.SizeChanged += new System.Windows.SizeChangedEventHandler(this.label_TabTitle_SizeChanged);

            #line default
            #line hidden
                return;

            case 3:

            #line 21 "..\..\..\..\Tabs\Tab.xaml"
                ((System.Windows.Controls.Grid)(target)).PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Me_MouseDown);

            #line default
            #line hidden
                return;

            case 4:
                this.label_TabTitle = ((System.Windows.Controls.Label)(target));
                return;

            case 5:
                this.CloseTab = ((WebExpress.Controls.IconButton)(target));
                return;

            case 6:
                this.FavIcon = ((System.Windows.Controls.Image)(target));
                return;
            }
            this._contentLoaded = true;
        }