|
I'm not an expert in browser-specific programming, so I can't answer you specific questions. The general problem to face is not what you are using inside your add-in but the problem is that different browsers have different plug-in interfaces and underlying programming models.
Regards
Thomas
www.thomas-weller.de
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. Programmer - an organism that turns coffee into software.
|
|
|
|
|
Hi.
I am developing a windows application in C#.
I want the source code of Image Editor in C# windows application whose work like MS Paint. on which we can
write text on image dynamically through mouse drag and drop. also we can drag other controls like arrow or box.
thanks in advance
dhemittal@gmail.com
|
|
|
|
|
We answer specific programming questions, I think what you are after is here[^]
|
|
|
|
|
dheeraj.mittal wrote: I want the source code of Image Editor
and I'd like a new car for Xmas. Who is going to be luckiest? I'm sure you can get the source code if you have seep enough pockets.
Bob
Ashfield Consultants Ltd
|
|
|
|
|
hi, thanks FYI.
but i don't have it.
dhaim
ing ngarso sung tulodho, ing madyo mangun karso, tut wuri handayani. "Ki Hajar Dewantoro"
in the front line gave a lead, in the middle line build goodwill, in the behind give power support
|
|
|
|
|
dheeraj.mittal wrote: I want the source code of
What do you think this here is??
www.thomas-weller.de
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. Programmer - an organism that turns coffee into software.
|
|
|
|
|
Even I am looking for the same source code... But for me ITS URGENTZ PLZZZ... wait this has become a common joke... lost its humor i guess
-------------------------------------------
It's code that drives you - Shyam
|
|
|
|
|
ditto everything said above.
What you want to do isn't that hard but it you really want source code (I doubt you'll know what to do with it and this will be total overkill ) - GIMP[^] is open source.
DaveBTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)Visual Basic is not used by normal people so we're not covering it here. (Uncyclopedia)
|
|
|
|
|
Gimp isn't C# through.
Today's lesson is brought to you by the word "niggardly". Remember kids, don't attribute to racism what can be explained by Scandinavian language roots.
-- Robert Royall
|
|
|
|
|
I'm sure a man/woman of his talents can translate it - shouldn't take more than a year or two
DaveBTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)Visual Basic is not used by normal people so we're not covering it here. (Uncyclopedia)
|
|
|
|
|
DaveyM69 wrote: I'm sure a man/woman of his talents can translate it - shouldn't take more than a Sednan [^] year or two
Fixed that for you.
Today's lesson is brought to you by the word "niggardly". Remember kids, don't attribute to racism what can be explained by Scandinavian language roots.
-- Robert Royall
|
|
|
|
|
I guess theres always Paint.Net
Oh did I forget to reply directly to his post? Guess he won't be seeing this then.
Oops
|
|
|
|
|
I have a windows forms application with a single form. On the form I have a ListView control in Details mode that I am using as a grid to display data; the ListView's Anchor property is set to all 4 edges (Top, Bottom, Left, Right), so it will retain it's distance to all edges when resized. The data is readonly, no changes will be made to it. The ListView has 4 columns, one of which is a dollar amount and I decided to put a Label control beneath the ListView control aligned with the amount column. In code, I set the label's Text to be the total of the amounts from the ListView's amount column; the label has no anchoring or docking and AutoSize is turned off. I decided that since the ListView columns can be resized and also the ListView itself can change size if the form is maximized or restored, then I'd like to move the label around so that it stays aligned with the amount column in the ListView. The ListView is named lstInvoices and the label is named lblTotalAmount . I hooked up the ListView's ColumnWidthChanged event handler like so:
private void lstInvoices_ColumnWidthChanged(object sender, ColumnWidthChangedEventArgs e)
{
int columnIndex = lstInvoices.Columns.IndexOfKey(NETAMOUNT_COLUMN_NAME);
if (columnIndex != -1 && (columnIndex == e.ColumnIndex) || (e.ColumnIndex == columnIndex - 1))
AlignTotalLabelWithAmountColumn();
}
and here's the AlignTotalLabelWithAmountColumn function:
private void AlignTotalLabelWithAmountColumn()
{
int columnIndex = lstInvoices.Columns.IndexOfKey(NETAMOUNT_COLUMN_NAME);
if (columnIndex == -1)
return;
lblTotalAmount.Width = lstInvoices.Columns[columnIndex].Width;
lblTotalAmount.Left = lstInvoices.Left;
for (int i = 0; i < columnIndex; i++)
{
lblTotalAmount.Left += lstInvoices.Columns[i].Width;
}
lblTotalAmount.Top = lstInvoices.Bottom + 2;
}
In the function, I set the label's Width property to the same as the column in the ListView , and I calculate the Left position of the label by taking the Left of the ListView, plus the Width of each column up to the column I wish to line it up with. Last, I set the Top of the label to the Bottom of the ListView plus 2 pixels (for a small separation).
When I run it the Label shows up in the middle of the ListView . When I step through the code, I see that everything is set as expected and that (on my system, with 1280 x 1024 resolution) the Bottom property of lstInvoices is 920, so the Top property of lblTotalAmount is set to 922. But of course, the label is somehow rendered in the middle of the ListView and not at the coordinates I specified. If I resize the form and enter the code again, right at my breakpoint it shows the Top property of the label to be 523. It seems that even though I'm correctly setting the Top property of the label in the code, something is overriding that value and changing it to 523, but for the life of me I can't figure out what's causing it! Any ideas?
Keep It Simple Stupid! (KISS)
|
|
|
|
|
When I open my application, it automatically focuses on a button. I want it to focus on the text, so that the user doesn't have to click on the text box. I have already tried textbox1.focus(), but it still focuses on the button.
Any help would be appreciated.
Thanks,
Prateek
|
|
|
|
|
|
Thanks, that helped
|
|
|
|
|
Glad to help you
|
|
|
|
|
Hi I'm making a windows application that when the user selects it opens up a form for them to select the date from. Once they click the ok button it updates the text box on the first form. I have tried doing this a couple of ways:
1)I first tried it through a public method that is called from the click of the ok button and then changes the value.
2)I have changed the modifiers to public so that it can be changed from the second form and have tried to changing the text from here.
Neither have seemed to work it just leaves the text box on the first form empty. I was just wondering if there was a silly little thing that I have missed which is stopping this from working.
Any help is always appreciated.
Regards
Gretna
"When will I learn? The answers to life's problems aren't at the bottom of a bottle. They're on TV" - Homer Simpson
|
|
|
|
|
|
I am trying to create a password protected installer using c#.net. I have added a textbox(A) type to setup. In my installer class I am verifying this input text (which is supposed to be the password) in OnBeforeInstall() method. What I did is just through an exception from this method so that installation will not take place. However this code fragment is not effective when I installed in my machine. Can somebody advise on the correct usage model?
Here is my code segment:
>>>
Protected Overrides Sub OnBeforeInstall(ByVal stateSaver As System.Collections.IDictionary)
Dim myInputCompanyName As String = Me.Context.Parameters.Item("Message")
MessageBox.Show(myInputCompanyName)
Try
Throw New Exception("Invalid Company Name or Key")
Catch ex As Exception
End Try
End Sub
>>>
Thanks in advance.
|
|
|
|
|
Looking for urget response...
Thanks
|
|
|
|
|
I am using Crystal Xcelsius, I want to integrate the Web service which is created on C#.net to Xcelsius XLF file. But i am getting proper result when i have my web service and XLF file with one system.
I am getting Error #2170 when web service & XLF files in different systems. Can any one the solution & Reply i will really appreciate
|
|
|
|
|
C# - Windows Ce 5.0 - Forms app
The problem: I have several buttons on one of my forms that need to have 2 lines of text in them.
The question: Is it possible to to have the button text on multiple lines? It works in visual studio but on the device or in an emulator the return and newline show up as small boxes.
Thanks
|
|
|
|
|
Hi,
don't know about CE, but on Windows XP/Vista the button text (without any \n\r) wraps as soon as the width is insufficient the hold it on one line, assuming the height is sufficient to accomodate more than one line. BTW: the same is true for a lot of Control types.
|
|
|
|
|
Luc Pattyn wrote: don't know about CE, but on Windows XP/Vista the button text (without any \n\r) wraps as soon as the width is insufficient the hold it on one line, assuming the height is sufficient to accomodate more than one line. BTW: the same is true for a lot of Control types.
Yea - Let's just say I'm jealous. Windows CE seems to be the unlucky and unliked step child of Windows, it misses out on all the fun.
I'm going to make a bunch of people unhappy tomorrow during the design review when I tell them they have a single line to display text on.
Thanks
|
|
|
|