public void ToolTopBtnClick(object sender, RoutedEventArgs e)
        {
            TopImage topImage = new TopImage(SetClipboard(), HightLightRect.Left, HightLightRect.Top);

            topImage.Show();
            this.Close();
        }
Exemple #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.window = ((LoveScreen.Windows.TopImage)(target));
                return;

            case 2:

            #line 58 "..\..\..\Windows\TopImage.xaml"
                ((System.Windows.Controls.Image)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Image_MouseDown);

            #line default
            #line hidden
                return;

            case 3:
                this.border = ((System.Windows.Controls.Border)(target));
                return;

            case 4:
                this.solidColorBrush = ((System.Windows.Media.SolidColorBrush)(target));
                return;
            }
            this._contentLoaded = true;
        }