Click here to Skip to main content
15,917,455 members
Home / Discussions / WPF
   

WPF

 
AnswerRe: Separator in WPF's TreeView Pin
Aviad P.21-Dec-09 0:32
Aviad P.21-Dec-09 0:32 
GeneralRe: Separator in WPF's TreeView Pin
Mohammad Dayyan21-Dec-09 2:14
Mohammad Dayyan21-Dec-09 2:14 
GeneralRe: Separator in WPF's TreeView Pin
Aviad P.21-Dec-09 2:42
Aviad P.21-Dec-09 2:42 
QuestionHow can i Impliment WPF programing in C# Dialog? Pin
pallaka20-Dec-09 20:33
pallaka20-Dec-09 20:33 
QuestionWPF, Serial Port, MutliThreading Pin
cppwxwidgetsss18-Dec-09 18:37
cppwxwidgetsss18-Dec-09 18:37 
AnswerRe: WPF, Serial Port, MutliThreading Pin
Garth J Lancaster18-Dec-09 19:27
professionalGarth J Lancaster18-Dec-09 19:27 
GeneralRe: WPF, Serial Port, MutliThreading Pin
cppwxwidgetsss22-Dec-09 18:32
cppwxwidgetsss22-Dec-09 18:32 
GeneralRe: WPF, Serial Port, MutliThreading Pin
C_Johnson28-Mar-11 9:37
C_Johnson28-Mar-11 9:37 
QuestionHow to connect MySql DataBase with ODBC connectivity to WPF display Pin
pallaka18-Dec-09 3:10
pallaka18-Dec-09 3:10 
QuestionCreating TreeViewItem dynamically ? Pin
Mohammad Dayyan17-Dec-09 20:28
Mohammad Dayyan17-Dec-09 20:28 
AnswerRe: Creating TreeViewItem dynamically ? Pin
Aviad P.18-Dec-09 0:51
Aviad P.18-Dec-09 0:51 
GeneralRe: Creating TreeViewItem dynamically ? Pin
Mohammad Dayyan18-Dec-09 1:01
Mohammad Dayyan18-Dec-09 1:01 
GeneralRe: Creating TreeViewItem dynamically ? Pin
Pete O'Hanlon18-Dec-09 2:18
mvePete O'Hanlon18-Dec-09 2:18 
NewsFree Silverlight 4 Developer Training Now Available on Channel 9 Pin
brucedkyle17-Dec-09 11:10
brucedkyle17-Dec-09 11:10 
GeneralRe: Free Silverlight 4 Developer Training Now Available on Channel 9 Pin
Abhinav S17-Dec-09 16:55
Abhinav S17-Dec-09 16:55 
QuestionGetting WPF in VC++ Pin
Anu_Bala16-Dec-09 18:29
Anu_Bala16-Dec-09 18:29 
Questionunable to understand concurrencymode Pin
Mogamboo_Khush_Hua16-Dec-09 7:15
Mogamboo_Khush_Hua16-Dec-09 7:15 
AnswerRe: unable to understand concurrencymode Pin
Ian Shlasko16-Dec-09 7:26
Ian Shlasko16-Dec-09 7:26 
GeneralRe: unable to understand concurrencymode Pin
Mogamboo_Khush_Hua16-Dec-09 7:50
Mogamboo_Khush_Hua16-Dec-09 7:50 
GeneralWrite code in client to check concurrency Pin
Mogamboo_Khush_Hua16-Dec-09 9:01
Mogamboo_Khush_Hua16-Dec-09 9:01 
GeneralRe: Write code in client to check concurrency Pin
Ian Shlasko16-Dec-09 9:09
Ian Shlasko16-Dec-09 9:09 
GeneralRe: unable to understand concurrencymode Pin
Ian Shlasko16-Dec-09 9:08
Ian Shlasko16-Dec-09 9:08 
GeneralRe: unable to understand concurrencymode Pin
Mogamboo_Khush_Hua16-Dec-09 18:12
Mogamboo_Khush_Hua16-Dec-09 18:12 
I knew about thread safety, but i don't have any clear examples to understand concurrency modes , i run this code as client but it always goes sequentially.


<br />
using System;<br />
using System.Collections.Generic;<br />
using System.Linq;<br />
using System.Text;<br />
<br />
<br />
namespace ConsoleApplication1<br />
{<br />
    class Program<br />
    {<br />
        static void Main(string[] args)<br />
        {<br />
            ServiceReference2.Service1Client c1 = new ConsoleApplication1.ServiceReference2.Service1Client();<br />
<br />
            for (int i = 0; i < 5; i++)<br />
            {<br />
                //Console.WriteLine("Call {0} started at {1}", i, DateTime.Now);<br />
<br />
<br />
                Console.WriteLine(String.Format("Call {0} Start: {1}",<br />
i.ToString(), DateTime.Now.ToLongTimeString()));<br />
                Console.WriteLine(String.Format("Call {0} : {1}",<br />
                i.ToString(), c1.GetData(i)));<br />
                Console.WriteLine(String.Format("Call {0} End: {1}",<br />
                i.ToString(), DateTime.Now.ToLongTimeString()));<br />
            }<br />
           <br />
           <br />
          //  Console.WriteLine(c.GetMessage("chanu"));<br />
<br />
          //  ServiceReference2.Service1Client c2 = new ConsoleApplication1.ServiceReference2.Service1Client();<br />
          //  Console.WriteLine(c2.GetData(20).ToString());<br />
          ////  Console.WriteLine(c1.GetMessage("rahul"));<br />
<br />
<br />
          //  ServiceReference2.Service1Client c3 = new ConsoleApplication1.ServiceReference2.Service1Client();<br />
          //  Console.WriteLine(c3.GetData(30).ToString());<br />
          // // Console.WriteLine(c2.GetMessage("vijay"));<br />
<br />
            c1.Close();<br />
            //c2.Close();<br />
            //c3.Close();<br />
            <br />
            Console.ReadKey();<br />
        }<br />
    }<br />
}<br />
<br />

GeneralRe: unable to understand concurrencymode Pin
Pete O'Hanlon16-Dec-09 22:02
mvePete O'Hanlon16-Dec-09 22:02 
GeneralRe: unable to understand concurrencymode Pin
Mogamboo_Khush_Hua16-Dec-09 22:51
Mogamboo_Khush_Hua16-Dec-09 22:51 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.