Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
S

schiebel t

@schiebel t
About
Posts
17
Topics
7
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • IE automation
    S schiebel t

    Hello, here is a libary you searching for. I foud this some time ago. With this libary you have full control of the internet explorer here is the link: http://watin.sourceforge.net/[^] i hope this helps you

    C# javascript testing tools

  • PropertyChanged Notofication
    S schiebel t

    Hello, Currently im hanging on one Problem. I wrote a class inherting from grid. Each grid has the property children. How can i get an notification when a new children added to the grid. I need somethink like a event which occours when the children-cout changed. I hope you understand what i mean. Thanks in advanced

    C# css help question

  • PropertyChanged Nofification
    S schiebel t

    Hello, Currently im hanging on one Problem. I wrote a class inherting from grid. Each grid has the property children. How can i get an notification when a new children added to the grid. I need somethink like a event which occours when the children-cout changed. I hope you understand what i mean. Thanks in advanced

    WPF css help question

  • How to detect invalid image in a ImageBrush
    S schiebel t

    hi, try this:

            FileInfo fileInf = new FileInfo(ImagePath);
            if (fileInf.Exists)
            {
                ImageBrush ib = new ImageBrush(
                        new BitmapImage(
                            new Uri(invalidImagePath, UriKind.RelativeOrAbsolute)));
                DockPanel.Background = ib;
            }
            else
            {
                MessageBox.Show("Invalid image path!");
            }
    
    WCF and WF help tutorial question

  • Is there any native WPF Multiselect combobox available ?
    S schiebel t

    i dont know, but you can easyly create it by your own. create a usercontrol with a grid. add a textbox, a button and a listbox. listbox height = 0. on button click listbox height = yourvalue. if you want i can wirte it for you. tell me best regards tobias schiebel

    WPF csharp c++ wpf question

  • HypreLink in WPF User control.
    S schiebel t

    hi you can try this: make an click event on you textblok. and in you click event call: System.Diagnostics.Process.Start("http://www.google.de");

    WPF csharp wpf question

  • GridSplitter Cursor
    S schiebel t

    hi, try to set the cursor directly to the gridspliter. you can do this in you constructor mygridSpliter.Cursor = Cursors.SizeWE;

    WPF csharp wpf help question

  • How to pass parameters to WPF ?
    S schiebel t

    Hi, if your squar is any UIElement or a rectangle try this

    Rectangle myrect = new Rectangle;
    myrect.width = 10;
    myrect.height = 10;
    myrect.Margin = new Thickness(100,100,0,0);

    WPF csharp wpf help tutorial question

  • How to get the Actual Width of a Grid Column whose width is Auto.
    S schiebel t

    Hi, try to add an SizeChanged event to you grid. The SizeChangedEventArgs have a property NewSize. And with this you can easy calculate the grid column width GridColumnWidth = (windowWidth / 100) * GridColumnProcent

    public partial class Window1 : Window
    {
    double windowWidth;

        public Window1()
        {
            InitializeComponent();
            this.SizeChanged += new SizeChangedEventHandler(Window1\_SizeChanged);
        }
    
        void Window1\_SizeChanged(object sender, SizeChangedEventArgs e)
        {
            windowWidth = e.NewSize.Width;
        }
    }
    
    WCF and WF css tutorial

  • DependencyProperty problem
    S schiebel t

    Hello all, Im working on an ColorPicker user control and have problems registering DependencyPropertys. I try to register a new DependencyProperty in Visual Studio 2008 and all is working fine so far. Now i open Expression blend, add an reference to the ColorPicker.dll, and add a new instance to the window. When i now build the solution i get an exeption: "the property IsCurrentColor has allready been registerd from _ColorPicker" and the usercontrol cant anymore viewed in expression blend. Im a little confused because the application anyway started and all is working. Here is a little code of mine.

    public partial class _ColorPicker
    {
    private readonly DependencyProperty IsCurrentColorProperty;

        public \_ColorPicker()
    {
            this.InitializeComponent();            
    
                IsCurrentColorProperty = DependencyProperty.Register(
                "IsCurrentColor", typeof(Color), typeof(\_ColorPicker),
                new FrameworkPropertyMetadata(Color.FromRgb(255, 255, 255),
                new PropertyChangedCallback(OnIsCurrentColorChanged)));
        }
        private void OnIsCurrentColorChanged(DependencyObject o, DependencyPropertyChangedEventArgs e)
        {
            SetColorInfos((Color)e.NewValue);
            \_currentColor.Background = new SolidColorBrush((Color)e.NewValue);
            //RaiseEvent(new RoutedEventArgs(this.iCurrentColorChangedEvent, (Color)e.NewValue));
        }
    

    }

    WPF csharp visual-studio help

  • MediaElement Will Not Play
    S schiebel t

    Hi, try this

    class myclass
    {
    MediaElement me;

     public myclass()
     {
          MediaElement me = new MediaElement();
          LoadedBehavior = MediaState.Manual;
          me.Source = new Uri(@"Path");
          me.Loaded += new RoutedEventHandler(me\_Loaded);
     }
     void me\_Loaded(object sender, RoutedEventArgs e)
     {
          me.Play(); 
     }
    

    }

    WCF and WF csharp debugging help question

  • VisualBrush
    S schiebel t

    Hello i trying to draw a raster on a rectangle. Im using the VisualBrush as the VisualBrush.Visual um using a TextBox (onely for testing) I setted the TileMode to tile, and the ViewPort. All is working fine. But when i scale the ractangle, the VisualBrush.Visual also gets scaled. How can i fix this? here is my code:

    	<Rectangle Stroke="#FF000000" Margin="80,136,224,46">
    		<Rectangle.Fill>
    			<VisualBrush TileMode="FlipX" Viewport="0,0,0.1,0.1" Stretch="Uniform">
    				<VisualBrush.Visual>																				
    					<TextBox Text="test"/>				
    				</VisualBrush.Visual>
    			</VisualBrush>
    		</Rectangle.Fill>
    	</Rectangle>
    

    sorry for my bad english! i hope you understand my problem

    WCF and WF help question testing beta-testing

  • How to add text to richtextbox from different thread with wcf?
    S schiebel t

    Hello Daniel, Check this out: http://msdn.microsoft.com/en-us/library/system.componentmodel.backgroundworker.aspx[BackgroundWorker] The BackgroundWorker enables you to stop the current Thread, and report the status. Hope this helps!

    WPF csharp question wpf wcf tutorial

  • UserControl problem!
    S schiebel t

    Hello, My Problem: I created a usercontrol (slider) with expression blend. I have also an codebehind file written in c# with some events. When i compile the usercontrol to a dll, and reference on an other project to this dll, the events dont work. But Why? But when i create an usercontrol in an executabel project, and create an instance of the usercontrol it works. Thanks for your questions

    WCF and WF csharp help question

  • Environment.GetCommandLineArgs(); [modified]
    S schiebel t

    hello, my problem: i like to select multible mp3 files in the windows explorer, open and process them with my application. I think it works with the GetCommandLineArgs() Methode (bsp. string[] args = Environment.GetCommandLineArgs()). This Method returns a string array. But when i select more than 1 mp3 file in the windows explorer, and show the Length of the args array, it alwas says 2. Index 0 is always the url of my programm. Index 1 is the url of the first selectet mp3 in the windows explorer, and the rest is emty. But why, i like to get each url of each mp3. I hope you understand me

    modified on Wednesday, October 22, 2008 3:08 AM

    C# database data-structures json help workspace

  • Get FileInfo of an Audio [modified]
    S schiebel t

    problem was to search somethink i dont know. now i know that its called id3 tag thank you verry much

    C# c++ com tutorial question

  • Get FileInfo of an Audio [modified]
    S schiebel t

    Hello, (first im sorry for my english ist verry bad ( :) since 3 days i try to get the FileInfo like Author, Album, Tracknumber, Genre ect. of an audio file, but i faild. i found an article shows exactly what i want but its in c++ http://www.codeproject.com/KB/audio-video/cmp3info.aspx[^] Has anyone an idea how to get this informations? thanks a lot

    modified on Tuesday, September 30, 2008 1:30 PM

    C# c++ com tutorial question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups