HI I have a .xaml file which contains view box which in tearn contains some graphics using WPF.Shapes. I have handdled few events (eg Click event of Path etc). Now I want to shift this file in a resource and use in my user control. Is it possble to get the events definded in the xaml inside the user control and can I access the veiwbox form the xaml inside my user control?
ciacia
Posts
-
Resources in WPF -
WPF Animation.I have two sahpes created using Path which has Data Property. One Path is smaller and the other is Larger. I want to animate smaller Path and make it look like larger path. Please suggest me how to do this. Path 1 : path strokethickness="2.000000" stroke="#000000" fill="#000000" data="F1 M 148.692383,566.845703 L 198.179199,566.845703 L 197.963867,545.753906 L 197.757324,525.583984 L 138.201660,525.583984 C 138.201660,525.583984 139.660156,534.376953 141.660156,541.126953 C 143.660156,547.876953 148.692383,566.845703 148.692383,566.845703 Z" width="87.077" stretch="Fill" Path 2 : path strokethickness="2.000000" stroke="#000000" fill="#000000" data="F1 M 200.701172,444.335938 C 200.701172,444.335938 201.902344,454.123047 201.902344,467.187500 C 201.902344,477.767578 201.246582,481.021484 199.109375,489.334961 L 129.755859,489.334961 C 124.140625,485.524414 120.946777,474.328125 120.035156,463.418945 C 119.187988,453.281250 124.750488,444.418945 124.750488,444.418945 L 200.701172,444.335938 Z" stretch="Fill" Thanks In advance.
-
WPF Mirror ImageI have a canvas and on that I am drawing few lines on perticuler locations along with some text. Once the drawing done I want the mirror image of the same. How to do that. It is not a bitmap
-
Resize event of wpf windowHi I want to capture rezise event of WPF window ... how can I do that ... please guide...its urgent :( :( :(
-
scale in the graphcan you please tell me where can i find it... i will try to implement it inC# thanks
-
scale in the graphis there any algorithm which helps in deciding the positions of major and minor ticks on scale of graph depending on the range of the scale at runtime. Please Guide..
-
Urgent .. remote dekstop connection:((:((I have one major problem. Can anyboday help me ....Here is a problem 1] I want to access my office computer from my notebook. It is working fine. But On my office machine if I connet to a dialup network of my client (which is must to run my application) I dont get connection of the office Pc from my notebook. It says that teh remote computer is busy. How should I solve the problem. 2] Is there any live chat avalable to get the support from. Its Very Very urgent please help Thanks :((:((
-
Urgent ...... ****** Remote computer connectionI have one major problem. Can anyboday help me ....Here is a problem 1] I want to access my office computer from my notebook. It is working fine. But On my office machine if I connet to a dialup network of my client (which is must to run my application) I dont get connection of the office Pc from my notebook. It says that teh remote computer is busy. How should I solve the problem. 2] Is there any live chat avalable to get the support from. Its Very Very urgent please help:(( Thanks
-
convert varchar to date formatHello , I want to wirte a sql statment which converts varchar into date (mm/dd/yyyy) format. please help thanks
-
Visual Basic -Data access ,Data missingIF the output is comming like what you have shown then try saving the databas table bafre running the progam and also close the table and then check tha out put. See if it works .:-D
-
Edit the code of asp.net in run modecan you please tell me how do I achive it? I am surrently debugging my code so every time loading the page takes lot of time . Also I have one more question to ask... I want to execute sql statement to compare two dates on my web page with the one in the database strsql = "select * from emp where My_date >= " & FDAte & " and Mydate >= " & TDate where Fdate and Tdate are strings containing valid date.I tried using ' and also #
-
Edit the code of asp.net in run modehello. is is possible to edit the code of .aspx file while running the application? Thanks in advance
-
Allowing user to add to/edit comboboxGr8... Enjoy
-
Play mp3 from byte array in VB.NETHi I am not sure but you can try mcisendstring function .... best luck
-
Allowing user to add to/edit comboboxI think you need to achive this prgamatilally by traping the events and if the text is changed while drop down event replace the older text with new one and if older text is a blank then add the new Item inthe list.Just try it:-D
-
ASP .net video tutorilasHi I want to learn ASP.Net form home. Are there any free video tutorials availble on internet ... Please help me Thanks In advance
-
SOAPI want to use SOAP request and resopnce. can any one suggest good site which will teach me step by step how to SOAP request in asp.net
-
Installing IISHi ! I am new in ASP .net I wanted to install IIS on my machine , But I found that I dont have windows XP CD with me right now. Is there any way to install it directly form the microsoft site? Please Help me out !!!! Its urgent !!!!:((:doh: Thanks
-
OnTimedEventOHHH, thaks a lot for your suggestion. I tried stringBuilder but it is not recognizing it I have also imported system.text.stringbuilder .
-
OnTimedEventPrivate Sub OnTimedEvent(ByVal source As Object, ByVal e As ElapsedEventArgs) IsFinished() End Sub Function IsFinished() As Boolean Dim strLength As String strLength = New String("255") Dim strPosition As String Dim IntLentgh As Integer Dim IntPosition As Integer strPosition = New String("255") mciSendString("status track length", strLength, 255, 0) mciSendString("status track position", strPosition, 255, 0) IntLentgh = CInt(strLength) IntPosition = CInt(strPosition) If IntPosition >= IntLentgh Then notifyTimer.Stop() MsgBox(strPosition) MsgBox(strLength) End If End Function