|
Could be a rights issue. Does this[^] thread help?
/ravi
|
|
|
|
|
Hello
I have implemented a custom Designer Surface with several Controls.
I have seen in the VS Editor, that there is a "TaskButton" (the square which looks like a "Play" Button) on some controls which sounds very useful to me.
Is it possible to add it to my controls?
And another question:
I have managed to implement a drag&drop behaviour to add my controls from a toolbox to the surface. But with this approach the controls are drawn in standard size.
I would like to draw them myself in my prefered size. So I would like to select/activate the item in toolbox and then draw the control on surface.
I have only found a lot of different approaches with drag&drop, but nothing like that.
I assume it's not that easy as drag&drop. I think I have to change the action that is going to be performed when I click on the surface again depeding on which control I have selected in toolbox, right?
Thank you in advance for your help
|
|
|
|
|
Do you mean a SmartTag? As in near the top right of a Panel there is a small button which brings up a window labelled "Panel Tasks" allowing you to "Dock in parent Container"? You should never use standby on an elephant. It always crashes when you lift the ears. - Mark Wallace
C/C++ (I dont see a huge difference between them, and the 'benefits' of C++ are questionable, who needs inheritance when you have copy and paste) - fat_boy
|
|
|
|
|
|
thx a lot, this is exactly what I meant (if you know the correct identifier its easier to find ).
Maybe there are examples for the "Select and Draw" approach to draw controls out of toolbox as well, but I'm just searching wrong
Would be great if someone could give me a hint
|
|
|
|
|
I Have never experiment this, because i started creating custom control. So how do you handle Size proprty?
|
|
|
|
|
Sorry, I don't really understand right now what you mean.
Where/How do you want to handle size property?
|
|
|
|
|
akamper wrote: Sorry, I don't really understand right now what you mean.
Where/How do you want to handle size property?
I am asking, because you were complaining you cant drag and Draw size. Maybe if you overriden Size proprty or even that it forces a defined size. I haven't try it, but if your control inherits from control, then it shoud have ability.
I hope you know how do it. Drag&Drop is not correct way. You only need to click in the toolbox and then draw size
|
|
|
|
|
Hi,
For several months I've been doing some programming in C# as a hobby, and all programs that I have created stayed on my own computer which means that I had never created an installation package (.msi) file or something like that.
These days I finished a video player that I'd like to distribute to some people but besides willing to learn how to create that installation package I'd like to include a codec pack within this installation so it is installed before the video player opens some video files which come already with the player that make usage of the codec.
How can I do that? (installation package installing a third party codec pack)
Thanks in advance,
Caio.
|
|
|
|
|
|
That is not even true
edit: I am wondering though, why do people think this? It's not the first time someone says something like this about the Express version of VSmodified on Wednesday, February 24, 2010 10:17 AM
|
|
|
|
|
No problem. I got the pro version.
The problem here is how do I include the codec pack within the installation file, I mean the installation file should call (trigger) the codec pack installation.
Thanks!
|
|
|
|
|
Mschauder wrote: if you use the free version (Express edition) , you are not able to create .exe
Hellooooooooo, this is reality to whatever planet you're living on. Why on earth do you think you can't create an exe using the free version? If you can do it from the command line using csc.exe, you can certainly do it from inside VS."WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|
|
Answers related to main topic are welcome.
Thanks!
|
|
|
|
|
|
Is my request so complex for VS to handle it?
|
|
|
|
|
I'm sure VS would allow you to do what you want. However, I like the flexibility and professional look and feel of the installer created by AI. Having AI lets me concentrate on building my apps rather than having to also worry about the installer. And the price is hard to beat.
/ravi
|
|
|
|
|
Thanks for informing me about this product but I want a solution for my problem using VS. If you know how that is done, please post it since that is the reason I've created this topic.
Thanks!
|
|
|
|
|
Hey Guys,
how can I convert a Multiline textbox to a one lined string?
textbox.text is: "A \r\n \t AB \r\n \t AC \r\n B" and so on...
I want a string like that: "A AB AC B ..."
I found the "MultilineStringConverter"- Class but I didn't understand how to use it...
hope you can help me,
greets
|
|
|
|
|
Try something like:
string text = textbox.Text.Replace("\r\n", string.Empty); Tychotics: take us back to the moon
"Life, for ever dying to be born afresh, for ever young and eager, will presently stand upon this earth as upon a footstool, and stretch out its realm amidst the stars."
H. G. Wells
|
|
|
|
|
god damn... I thought too complex
Thank you
|
|
|
|
|
hi,i have added some items into multicolumn list view.so i want to add all the row in listview into my database table or dynamically created table.plz help me.send me the code using c#.
|
|
|
|
|
1: No one is just going to hand over code.
2: What have you already tried?
3: How did that work out?Tychotics: take us back to the moon
"Life, for ever dying to be born afresh, for ever young and eager, will presently stand upon this earth as upon a footstool, and stretch out its realm amidst the stars."
H. G. Wells
|
|
|
|
|
plz give me some idea how to approach?plz its urgency..
|
|
|
|
|
Hey guys,
how can I write a method that can output odd numbers from 1-100
and then sum the numbers(all odd numbers between 1-100)
please any help??
morgan
|
|
|
|