Error: Specified key is not a valid size for this algorithm. (TripleDES)
I built a Cryptography application by using TripleDES. But I got an error: System.Security.Cryptography.CryptographicException: Specified key is not a valid…
Read morePosts in this section.
I built a Cryptography application by using TripleDES. But I got an error: System.Security.Cryptography.CryptographicException: Specified key is not a valid…
Read moreI am running out of licenses for Visual Studio Professional. Solution 1 is asking for more budget this year in IT. Another option is using Express version. I…
Read moreI tried the icon attribute in MenuItem. It doesn't work.Actually, you need to modify the header element like this: <MenuItem Name="GridButton"…
Read moreActually, for WPF TextBlock Component, there is no click event. The best replacement is Mouse Down Event, Like this: text1.MouseDown += text1_MouseDown;
Read moreThe best way to design an interface for WPF is using xaml. However, in some situation, we need to change the layout in code. For example, we select a category…
Read moreI started to use Visual Studio 2013 for some new projects. I found there are a number of new features make our life easier, such as displaying the number of…
Read moreI built a feature to have an animation on the wide of a panel and the user click the minimize button. I wish to create a shrinking effect. The best way I found…
Read moreIn Winform, to show and hide button is easy. There is a property calls visible in Button class. You just need to set it to be True and Hide. That is a simple…
Read moreSource:Open Clip Art Using Under Public Domain Attribution I got a control in style template at one of my custom controls, Like this: <Style…
Read moreSource:Open Clip Art Using Under Public Domain Attribution I found the wpf user control cannot have any child has a name attribute, such as:…
Read moreStackpanel is a useful layout control in WPF. If you have a set of elements need to sit side by side each other, this is your best option. For example, in my…
Read moreI have some styling in my WPF opensource project, AdvGen Contact Manager. That is similar with css, just state the class name like : <Grid Grid.Column="1"…
Read more