Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all 18858 articles
Browse latest View live

upload multiple image and video files at once with Good UI in WPF desktop application.

$
0
0
  Dear All,                 

   Upload multiple image and video files at once in my wpf desktop application and  i need this kind of look and  feel in my desktop WPF application at the same time i need touch screen functionality  in my UI . Give some advice for me. Its urgent.

This is my requirement:

To develop WPF desktop application its looks like  with this below URL Functionality and Look and feel.

http://hayageek.com/examples/jquery/jquery-multiple-file-upload/index.php

http://blueimp.github.io/jQuery-File-Upload/



Need to disable window size changes in xaml file with only user control in it.

$
0
0

Hi

we want to restrict the window size of user control.

In our application we are using a user control as below. we are not able to disable size changes of window.

We cann't use window tag in this page. Though we are setting height and width for user control does are not working.

Is there any alternative.

<UserControlx:Class="WpfApplication18.UserControl1"xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"xmlns:d="http://schemas.microsoft.com/expression/blend/2008"mc:Ignorable="d"d:DesignHeight="300"d:DesignWidth="300"Width="100"Height="100">

Out of Memmory exception when rendering Bitmap under Windows 8.1

$
0
0

Dear all,

In an application used with 46" touch screen I am using pictures in my application as follow :

<Image RenderOptions.BitmapScalingMode="HighQuality" Source="../Resources/key.png" Width="40" Height="40" Stretch="Fill" VerticalAlignment="Center"/>

By doing so when starting my app, I get an Out of memory exception.

If I remove the RenderOptions property then it works ok but image appears in bad quality in big screen.

This Render option works fine under Window 7

Environement :

Windows 8.1 64 bits
Application targeting Framework 4.0
I5 Intel with 4 GB ram

Any idea for such issue ?

regards

serge


Your knowledge is enhanced by that of others.


XBAP to JavaScript communication

How do I shrink the margin around the DataGridColumnHeader in the DataGrid

$
0
0

I am trying to shrink the margin between headers in a DataGrid. I tried styling the DataGridColumnHeader and setting margin/padding/min height to 0 with no success. I think that the DataGridColumnHeader is being contained in another object, and that I need to set the relevant properties on that, but I do not have access to Expression Blend and have not been able to find the default template online. Does anyone have the default template I am looking for and/or know a better way to do this?

Thank you,

Need help with alarm clock using WPF please...

$
0
0

hello i am working on a timer/alarm clock using WPF Visual Studio 2012 and i've gotten a little stuck. what i have so far works and i'm happy with it, the problem is i want the user to be able to adjust the time up or down using buttons to advance or decrease the time to there liking... so far it is hard coded with a set time.

here is what i have so far:

public partial class myTimerControl : UserControl
    {
        private int time = 20;   ///This is my hard coded set time.
        private DispatcherTimer timer;

        public myTimerControl()
        {
            InitializeComponent();
        }

        private void UserControl_Loaded(object sender, RoutedEventArgs e)
        {
            btnAddHour.Visibility = System.Windows.Visibility.Hidden;
            btnAddMin.Visibility = System.Windows.Visibility.Hidden;
            btnAddSec.Visibility = System.Windows.Visibility.Hidden;
            btnSubMin.Visibility = System.Windows.Visibility.Hidden;
            btnSubSec.Visibility = System.Windows.Visibility.Hidden;
            btnSubHour.Visibility = System.Windows.Visibility.Hidden;
        }

        private void btnStart_Click(object sender, RoutedEventArgs e)
        {
            timer = new DispatcherTimer();
            timer.Interval = new TimeSpan(0, 0, 1);
            timer.Tick += timer_Tick;
            timer.IsEnabled = true;
            btnSetTime.IsEnabled = false;
            timer.Start();   
        }

        void timer_Tick(object sender, EventArgs e)
        {
            if (time > 10)
            {
                time--;
                tbCountdown.Text = string.Format("00:0{0}:{1}", time / 60, time % 60);
            }
            else
            {
                if (time > 0)
                {
                    time--;
                    tbCountdown.Foreground = Brushes.Crimson;
                    tbCountdown.Text = string.Format("00:0{0}:0{1}", time / 60, time % 60);
                }
                else
                {
                    timer.Stop();
                    MessageBox.Show("Boom");
                    return;
                }
            }
        }

        private void btnPause_Click(object sender, RoutedEventArgs e)
        {
            try
            {
                if (timer.IsEnabled == true)
                {
                    timer.IsEnabled = false;
                    timer.Stop();

                }
                else
                {
                    timer.IsEnabled = true;
                    timer.Start();
                }
            }
            catch
            {
                MessageBox.Show("There is nothing to pause.");
                return;
            }
        }

        private void btnStop_Click(object sender, RoutedEventArgs e)
        {
            try
            {
                timer.IsEnabled = false;
                timer.Stop();
                timer = null;
                btnSetTime.IsEnabled = true;
            }
            catch
            {
                MessageBox.Show("Time is already stopped.");
                return;
            }
        }

        private void btnSetTime_Click(object sender, RoutedEventArgs e)
        {
            btnAddHour.Visibility = System.Windows.Visibility.Visible;
            btnAddMin.Visibility = System.Windows.Visibility.Visible;
            btnAddSec.Visibility = System.Windows.Visibility.Visible;
            btnSubMin.Visibility = System.Windows.Visibility.Visible;
            btnSubSec.Visibility = System.Windows.Visibility.Visible;
            btnSubHour.Visibility = System.Windows.Visibility.Visible;
        }

        private void btnAddHour_Click(object sender, RoutedEventArgs e)
        {
            ///Here i would like the user to be able to increase the time they want by 1 hour each time they press this button
        }

        private void btnAddMin_Click(object sender, RoutedEventArgs e)
        {
            ///Here i would like the user to be able to increase the minutes by 1 minutes each time they press this button
        }

        private void btnAddSec_Click(object sender, RoutedEventArgs e)
        {
            ///Same concept with the seconds
        }

        private void btnSubHour_Click(object sender, RoutedEventArgs e)
        {
            ///Here i would like the user to be able tosubtract an hour from the time they select, in case they go over or something...
        }

        private void btnSubMin_Click(object sender, RoutedEventArgs e)
        {
           ///Same thing with minutes... subtract....
        }

        private void btnSubSec_Click(object sender, RoutedEventArgs e)
        {
          ///Same thing with the seconds....subtract...
        }
    }
}

So this is where i'm stuck. i hope someone can show/ guide me in the right direction. thanks for any help i appreciate it.


Adam


Draw parabola using PathFigure and ArcSegment

$
0
0

Hey all,

I've been searching for some time now how to draw a parabola using ArcSegment. I've looked at all of the MSDN tutorials, but I cannot understand what parameters of ArcSegment mean. If I put an ArcSegment into PathFigure which has start point, why do I need both another point and width/height ? I need to make a program which takes one click for start position, second click for end position, and then move the mouse to adjust height of parabola. Simple as that. I used this code:

PathFigure f = new PathFigure();
            f.StartPoint = new Point(100,100);
            f.Segments.Add(new ArcSegment(new Point(200, 100),new Size( 100, 160),0,false,SweepDirection.Clockwise,true));

I hoped that I would get a parabola with Height = 160, Width = (distance between start and end point) 100. But no. I got a small curve that is about 20 pix height.

Please help me !


Knowledge: C, C++, C#, Java, Pawn

Capturing events when WPF contains WindowsFormsHost

$
0
0

I have a WPF program that includes a StackPanel that contains multiple WindowsFormsHost controls. The WindowsFormsHost controls sit on top of the WPF when running. I want to capture Stylus events in WPF so that I can pan through the different panels. These events never seem to fire. How do I capture these actions?

I have a similar app without the WindowsFormsHost controls that works great.


Dave Frey


MediaElement interrface, where is it?

$
0
0

Hi there,

LoadedBehaviour is put on "Play" value, why don't appear in my view when I run my app??

XAML:

<MediaElement HorizontalAlignment="Left" Height="100" Margin="311,276,0,0" LoadedBehavior="Play" VerticalAlignment="Top" Width="100"/>

As a result, I don't see anything.. what am I missing here???

Design time:

Runtime:

Thanks in advance for any hint/input,


Primary platform is Windows 7 Ultimate 64 bit along with VS 2012/Sql2k8 for WPF/SilverLight projects.

How to animate a view on UserControl.Visibility becoming Visible/Hidden?

$
0
0

How can this visual effect be accomplished? UserControls that are to become Visible appear to approach from far away until they reach the display. UserControls that are to become Hidden approach the user and pass out of view behind the user.

I was thinking that there should be a Transform that could run along a storyboard that would, in the case of becoming visible, start with the UserControl being very small, increasing its size steadily until its full size was achieved. Likewise, a UserControl becoming Hidden would start with at full size and grow from there until it was multiple times its original size, at which point it would quickly fade and then become Hidden, thus emulating the effect of leaping off the display and moving behind the user. However, I don't know how to accomplish this effect in a XAML storyboard. Any help on this would be appreciated.


Richard Lewis Haggard

[WPF C#] Fill space between two PathFigure-s

$
0
0

Hey everyone,

I have a problem that I cannot solve on my own, so I need your help. I have two PathFigure-s and they are added to a PathGeometry and that is added to a Path. Then I add that Path to Canvas. I need to fill space between two PathFigures with color. Here's my code: 

	    PathFigure fig1 = new PathFigure();
            fig1.StartPoint = new Point(100, 100);
            fig1.Segments.Add(new LineSegment(new Point(200, 200), true));

            PathFigure fig2 = new PathFigure();
            fig2.StartPoint = new Point(200, 200);
            fig2.Segments.Add(new LineSegment(new Point(100, 200), true));

            PathGeometry pathGeometry = new PathGeometry();
            pathGeometry.Figures.Add(fig1);
            pathGeometry.Figures.Add(fig2);

            Path path = new Path();
            path.Data = pathGeometry;
         
            path.Fill = Brushes.Green;
            path.Stroke = Brushes.Black;
            
            Can.Children.Add(path); // Can is a Canvas object

I can do this if two lines are segments inside one PathFigure. But I need to draw lines with mouse, so I need separate PathFigures. Can two PathFigures be merged somehow?

If that's not possible, please tell me how to dynamically add lines and fill space with color.

Please help me with some C# code. Thank you all.


Knowledge: C, C++, C#, Java, Pawn



Getting a System.Windows.Markup.XamlParseException error, with event ID 1026

$
0
0

We've got a new WPF app we've written, using .NET 4.5, VS 2012. It's working fine on several machines, but isn't working on one. We're getting errors like this:

Log Name:      Application
Source:        .NET Runtime
Date:          1/8/2014 2:13:45 PM
Event ID:      1026
Task Category: None
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      AMCI-DCH701D1
Description:
Application: ASI-R.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.Windows.Markup.XamlParseException
Stack:
   at System.Windows.FrameworkTemplate.LoadTemplateXaml(System.Xaml.XamlReader, System.Xaml.XamlObjectWriter)
   at System.Windows.FrameworkTemplate.LoadTemplateXaml(System.Xaml.XamlObjectWriter)
   at System.Windows.FrameworkTemplate.LoadOptimizedTemplateContent(System.Windows.DependencyObject, System.Windows.Markup.IComponentConnector, System.Windows.Markup.IStyleConnector, System.Collections.Generic.List`1<System.Windows.DependencyObject>, System.Windows.UncommonField`1<System.Collections.Hashtable>)
   at System.Windows.FrameworkTemplate.LoadContent(System.Windows.DependencyObject, System.Collections.Generic.List`1<System.Windows.DependencyObject>)

I don't know what could be wrong. The .NET Framework 4.5 is installed on that machine - I did it myself. All machines are running Windows 7 Pro or Enterprise, with SP1. The only difference I can think of is the machine it's failing on is a 32-bit machine, whereas all of the others are 64-bit, but I've just double checked the project and it's set to x86 Processor, so that shouldn't be an issue. What could be causing this?


Rod

Label MouseClick?

$
0
0

Hi,

I'm taking another stab at WPF. I would like to get the equivalent behavior of a Click event from a Label. The only way I can currently see how to achieve that (kind of) is to register for both MouseDown and MouseUp, storing information about the MouseDown event and checking it on MouseUp, but that will fail in a scenario like this:

1. MouseDown on label

2. move mouse outside and release button

3. MouseDown outside

4. move mouse inside label and release (= false positive)

 

Either way, having to handle both MouseDown and MouseUp for something as simple as a MouseClick seems strange.

 

What to do? Thanks.

Enabling horizontal scrollbars for a ComboBox WPF

$
0
0

Hi ya, is there any trick? I've read some old Framework 2.0 articles but I have not idea how to do the same in WPF.

Thanks in advance for any input or advice,


Primary platform is Windows 7 Ultimate 64 bit along with VS 2012/Sql2k8 for WPF/SilverLight projects.

Calling Focus method from TextBox to another Controls (TextBox, ComboBox or DatePicker) not work at all

$
0
0

I try many things but I'm always stuck on this, that's why I'm calling for help.

I have many controls on a UserControl in this order DatePicker named datDateRemplissage, 3 TextBox named respectivelyq6a, q6b and q6c (to enter an age), then a ComboBox namedq7.

<Label x:Name="labDateRemplissage" Content="Date De Remplissage: " Margin="0,10,0,0" Style="{StaticResource LabelOnTab}"/><DatePicker x:Name="datDateRemplissage" Width="177" Margin="0,10,0,0" Style="{StaticResource InputOnTab}" SelectedDateChanged="datDateRemplissage_SelectedDateChanged"/><Label x:Name="labQ6a" Grid.Row="0" Grid.Column="0" Style="{StaticResource LabelOnTab}" Foreground="AliceBlue" Content="Q6A. Age:" Height="28" Margin="10,176,292,17"/><TextBox x:Name="q6a" Grid.Row="0" Grid.Column="0" MaxLength="2" Style="{StaticResource InputOnTab}" HorizontalAlignment="Left" Height="23" Margin="89,178,0,0" VerticalAlignment="Top" Width="42" PreviewTextInput="TextBox_PreviewTextInput" DataObject.Pasting="TextBox_Pasting" LostFocus="q6a_LostFocus"/><Label x:Name="labQ6b" Grid.Row="0" Grid.Column="0" Foreground="AliceBlue" Style="{StaticResource LabelOnTab}"  Content="Q6B. Age:" Height="28" Margin="145,176,160,14"/><TextBox x:Name="q6b" Grid.Row="0" Grid.Column="0" MaxLength="2" Style="{StaticResource InputOnTab}" HorizontalAlignment="Left" Height="23" Margin="214,178,0,0" VerticalAlignment="Top" Width="42" PreviewTextInput="TextBox_PreviewTextInput" DataObject.Pasting="TextBox_Pasting" LostFocus="q6b_LostFocus"/><Label x:Name="labQ6c" Grid.Row="0" Grid.Column="0" Foreground="AliceBlue" Style="{StaticResource LabelOnTab}"  Content="Q6c. Age:" Height="28" Margin="256,176,50,14"/><TextBox x:Name="q6c" Grid.Row="0" Grid.Column="0" MaxLength="2" Style="{StaticResource InputOnTab}" HorizontalAlignment="Left" Height="23" Margin="319,178,0,0" VerticalAlignment="Top" Width="42" PreviewTextInput="TextBox_PreviewTextInput" DataObject.Pasting="TextBox_Pasting" LostFocus="q6c_LostFocus"/><Label x:Name="labQ7" Grid.Row="0" Grid.Column="1" Foreground="AliceBlue" Style="{StaticResource LabelOnTab}"  Content="Q7. Département:" Height="28" Margin="10,0,246,191"/><ComboBox x:Name="q7" Grid.Row="0" Grid.Column="1" Style="{StaticResource InputOnTab}" HorizontalAlignment="Left" Height="23" Margin="160,0,0,0" VerticalAlignment="Top" Width="202" IsReadOnly="True" DisplayMemberPath="Libelle" SelectionChanged="q7_SelectionChanged"><ComboBox.Resources><SolidColorBrush x:Key="{x:Static SystemColors.WindowBrushKey}" Color="orange" Opacity="0.6"/></ComboBox.Resources><ComboBox.ItemsSource><Binding Source="{StaticResource DepartementViewSource}"/></ComboBox.ItemsSource></ComboBox>


now when user select a date from the DatePicker, in code behind, I make some check and set Focus onq7. and It's worked

But When on q6a_LostFocus Event Handler, I check if age = 0 year then to force user input it in month, so I callq6c.Focus() Else (if age is not 0) I set focus on q7 (comboBox)q7.Focus()

and when after inter 0 in q6a TextBox and press Tab key, the focus is always set on the next TextBox, which is in this casq6b even though I enter an age above 0 the focus is not set to q7 but to q6b again as if the order of Controls in the UserControl has priority on the code behind setting.

'Code of controls : q6a : Age in year
Private Sub q6a_LostFocus(ByVal sender As Object, ByVal e As System.Windows.RoutedEventArgs)
        q6a.Text = q6a.Text.Replace(" ", "") 'Delete all spaces
        If Not String.IsNullOrEmpty(q6a.Text) Then
            q6a.Text = CInt(q6a.Text) 
            q6b.Text = ""
            q6c.Text = ""

            Dim age As Integer = q6a.Text

            'if age is 0 year, user must enter it in month in q6c TextBox
            If age = 0 Then
                Dim Erreur As String = "If age of the Item is less than 1 year" & Chr(13) & _"Specify it in months please."
                Select Case MessageBox.Show(Erreur, "Incorrect Informations", MessageBoxButton.OK, MessageBoxImage.Error)
                    Case MessageBoxResult.OK
                        q6c.Focus()
                        q6a.Text = ""
                End Select

            Else  'set focus on q7
                'Keyboard.Focus(q7)
                q7.Focus()
            End If
        End If
End Sub

What else can I try?

your helps are welcome. 



WPF events in Child windows from DROP event are not propogating

$
0
0

I have a WPF application  having drag and drop functionality. On Drop event I am popping up a child window with a button. It will work normally in mouse driven environment but in case of multi touch monitor it won’t . The events say Touch down or mouse down or preview mouse down wont fire in child window.

Please refer the attached sample project. Thank you very much in advance.

 private void Button_PreviewMouseDown(object sender, MouseButtonEventArgs e)
    {
      DragDrop.DoDragDrop(this, "DropData", DragDropEffects.Copy);
    }   

private void Button_Drop(object sender, DragEventArgs e)
    {
      MessageBox.Show("I got dropped data on event");
      Window1 kk = new Window1();
      kk.Owner = this;
      kk.ShowDialog();
    }

In Window1.cs 


   <Grid><Button Margin="64,97,92,117" Click="Button_PreviewMouseDown"
                Content="Click me!"
                Focusable="True"   /></Grid>


    private void Button_PreviewMouseDown(object sender, MouseButtonEventArgs e)
    {
      MessageBox.Show("I preview got click!");
      Close();
    }

}




XBAP application went sometimes blank, after clear cache it works fine.

$
0
0

I hosted the XBAP application in windows server 2003 with 32bit environment

Development Environment :Visual Studio 2010 (windows 7 32 bit)

Its working fine. sometimes went blank screen that time refreshed several time no effect.

After clear cache it will working fine. I am not ask to clear cache each and every one user. What is the cause of issue. It will occurred randomly, it is not depends specific machine.

Please help me. Very urgent.

Note:

1.I kept "full trust mode" while publishing

2.Checked the option automatically increment the build version.




WPF: UI Converter using IValue Converter

$
0
0

Hi Guys, I need help with the IValue converter. Error Message: Invalid Resource Type & Expected type is IValueConverter

<Window.Resources><UI_Converters:DeviceStatusToTextConverter x:Key="statusConverter"/><UI_Converters:MediaTypeToTextConverter x:Key="mediaTypeConverter"/></Window.Resources>

XAML Property:

<TextBlock x:Name="tbStatusValue" TextWrapping="Wrap" Text="{Binding Status, Converter={StaticResource statusConverter}}" Grid.ColumnSpan="1" Grid.Row="1" Grid.Column="1" HorizontalAlignment="Left"/><TextBlock x:Name="tbMediaTypeValue" TextWrapping="Wrap" Text="{Binding PaperType, Converter={StaticResource mediaTypeConverter}}" Grid.ColumnSpan="1" Grid.Row="6" Grid.Column="1" HorizontalAlignment="Left"/>


I am  using the below conversion but still it's not working. Please help me to fix this problem. Thank you.

 [ValueConversion(typeof(int), typeof(String))]
        public class UIStatuses : IValueConverter
        {
            public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
            {
                UIStatuses status = (UIStatuses)value;
                return UIConverter.Instance.GetString("Status", status.ToString(), SupportedLangList.Instance.CurrentCulture);
            }

            public object ConvertBack(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
            {
                
                return null;
            }
        }

Thank you very much

Showing/Hiding/Closing the Winform hosted inside a WPF WindowsFormHost?

$
0
0

So I've inherited an application that had ~10 winforms that control program flow. That program now must reside "within" a WPF application using the WindowsFormHost control. 

//MainWindow.xaml

<Grid Name="GrdMainGrid">
        <WindowsFormsHost Name="FormsHost" Margin="0,100,0,0"></WindowsFormsHost>

</Grid>

I then load the welcome form via codebehind:

//MainWindow.xaml  

      private void button2_Click(object sender, RoutedEventArgs e)
        {
            var welcomeForm = new frmWelcome();
            welcomeForm.Show();
            KioskFormHost.Child = welcomeForm;
        }

When I hit this code:

//frmWelcome.cs

button_click() {

            frmCategory form1 = new frmCategory();
            form1.Show();
            form1.Mode = "New";
            this.Close();

}

Then I lose the inside form and the other form never displays.

Is there a way to do this?


WPF Ribbon Error? (VS-2010)

$
0
0

Hi!

I will use the WPF Ribbon a second Time but i become an error...

 

<Window x:Class="FlyerPro.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:ribbon="clr-namespace:Microsoft.Windows.Controls.Ribbon;assembly=RibbonControlsLibrary"        
        Title="Flyer Pro"  Height="766" Width="984" WindowState="Maximized" ShowInTaskbar="True" PreviewKeyDown="Window_PreviewKeyDown" Name="WinHauptfenster" Icon="/FlyerPro;component/Images/logo2.jpg" Loaded="WinHauptfenster_Loaded" Closed="WinHauptfenster_Closed" Closing="WinHauptfenster_Closing"><Viewbox Stretch="Fill" StretchDirection="Both"><Grid Background="#FFDADADA" Width="992"><Menu Height="23" HorizontalContentAlignment="Stretch" Name="menuKopf" VerticalAlignment="Top" ><MenuItem Name="MenuItemStammdaten"  Header="Stammdaten" ToolTip="Auskunft" Click="MenuItem_VTLTBearbeiten"><MenuItem.Icon><Image Source="/FlyerPro;component/Images/accessories_dictionary.png" Height="11" Width="11"/></MenuItem.Icon></MenuItem></Menu><ribbon:Ribbon x:Name="_ribbon" Width="984" SelectedIndex="2" FontFamily="Arial" FontWeight="Bold" FontSize="12"><!-- Kein Application Menue!!! --><ribbon:Ribbon.ApplicationMenu><ribbon:RibbonApplicationMenu AllowDrop="False" Visibility="Collapsed" /></ribbon:Ribbon.ApplicationMenu><!-- Tourenverwaltung --><ribbon:RibbonTab x:Name="Tourenverwaltung" 
                                  Header="Tourenverwaltung" FontWeight="Normal"><ribbon:RibbonGroup x:Name="VerteilTouren" ><ribbon:RibbonButton x:Name="ButtonVTLTBearbeiten"
                                         LargeImageSource="/FlyerPro;component/Images/accessories_dictionary.png"
                                         Label="Verteil-Touren Bearbeiten" 
                                         Click="MenuItem_VTLTBearbeiten" 
                                         VerticalContentAlignment="Center"/></ribbon:RibbonGroup><ribbon:RibbonGroup x:Name="TourenLieferscheine" ><ribbon:RibbonButton x:Name="ButtonTourenLieferscheine"
                                         LargeImageSource="/FlyerPro;component/Images/lorrygreen.png"
                                         Label="Touren-Lieferscheine" 
                                         Click="MenuItem_TourenLieferscheine" 
                                         VerticalContentAlignment="Center" /></ribbon:RibbonGroup><ribbon:RibbonGroup x:Name="EinzelLieferscheine" ><ribbon:RibbonButton x:Name="ButtonEZLieferscheine"
                                         LargeImageSource="/FlyerPro;component/Images/home_door_32px_16px.png"
                                         Label="Einzel Lieferscheine" 
                                         Click="MenuItem_EZLieferscheine" 
                                         VerticalContentAlignment="Center" /></ribbon:RibbonGroup><ribbon:RibbonGroup x:Name="InfoPostPlanung" ><ribbon:RibbonButton x:Name="ButtonInfoPostPlanung"
                                         LargeImageSource="/FlyerPro;component/Images/users_2.png"
                                         Label="Info-Post Planung" 
                                         Click="MenuItem_InfoPostPlanung" 
                                         VerticalContentAlignment="Center" /></ribbon:RibbonGroup></ribbon:RibbonTab></ribbon:Ribbon><!--Ribbons Ende --><Image Height="614" HorizontalAlignment="Left" Margin="0,75,0,0" Name="image1" Stretch="Fill" VerticalAlignment="Top" Width="992" Source="/FlyerPro;component/Images/Logo2.jpg" /><TextBlock Height="36" HorizontalAlignment="Left" Margin="0,690,0,0" Name="textBlockEF00STZ1A" Text="" VerticalAlignment="Top" Width="992" Background="White" FontFamily="Arial" FontWeight="Bold" /><TreeView Height="553" HorizontalAlignment="Left" Margin="0,137,0,0" Name="treeView1" VerticalAlignment="Top" Width="188" Padding="0" Background="#F3F3F0F0" BorderBrush="White"><TreeViewItem Name="TreeviewTourenPlanung"  Header="Tourenplanung"><TreeViewItem Name="TreeviewVerteilTourenbearbeiten"  Header="Verteil-Touren bearbeiten" MouseLeftButtonUp="MenuItem_VTLTBearbeiten" MouseRightButtonUp="MenuItem_VTLTBearbeitenRe"/><TreeViewItem Name="TreeviewTourenLieferscheine" Header="Touren-Lieferscheine" MouseLeftButtonUp="MenuItem_TourenLieferscheine" MouseRightButtonUp="MenuItem_TourenLieferscheineRe"/><TreeViewItem Name="TreeviewEZLieferscheine" Header="Einzel Lieferscheine" MouseLeftButtonUp="MenuItem_EZLieferscheine" MouseRightButtonUp="MenuItem_EZLieferscheineRe"/><TreeViewItem Name="TreeviewInfoPostPlanung" Header="Info-Post Planung" MouseLeftButtonUp="MenuItem_InfoPostPlanung" MouseRightButtonUp="MenuItem_InfoPostPlanungRe"/></TreeViewItem></TreeView></Grid></Viewbox></Window>


The error is:

Fehler 2 Die Datei oder Assembly "Microsoft.Windows.Shell, PublicKeyToken=31bf3856ad364e35" oder eine Abhängigkeit davon wurde nicht gefunden. Das System kann die angegebene Datei nicht finden. D:\FlyerProWPF\WPF\Masken\FlyerPro\MainWindow.xaml ...

What is the Problem?

Best Regards

Bernd Riemke


Viewing all 18858 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>