|
Im sorry !
I read about this web site that its help you.
Sence one week im traying to do this code but for now its not correct.
I search alot but all is not working.
Im new in C#
this last time i will use this fourms because it contain bad people here ...
Advice specialy to Mr.John Simmons : make program to bring water to your Ass because its need to be clean.
KISS YOUR MOTHER ASS
|
|
|
|
|
mshannaq wrote: this last time i will use this fourms because it contain bad people here ...
Good. Don't let the door hit you in the ass on your way out. And yes, we're all very bad here.
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
suck a drink from your mother pussy
|
|
|
|
|
Ya know, I've gotten pretty mad at some folks here, but I've never said anything like that to them. Why don't you take a break, and grow up while you're resting.
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
Oh yeah - that's funny, I'm absolutely rocking in the seat here. You're the next Robin Williams.
|
|
|
|
|
Dear All,
I would like to integrate SQL Express 2005 with my c# application and install it before my applcation gets installed while running c# application setup.
I am trying to find out a way to run SQL Express installation wizard before my c# application and i am stacked here. the question is how can i do the task.
Your cooperation is fully appreciated.
Abdul Rahaman Hamidy
Senior Student Student in Computer Science
Kabul, Afghanistan
Software Developer
|
|
|
|
|
|
If I have a class:
public class Column
{
private int _columnWidth;
[Category("Columns")]
public int ColumnWidth
{
get { return _columnWidth; }
set { _columnWidth = value; }
}
}
How can I expose the property 'ColumnWidth' for design time use please?
|
|
|
|
|
Hi all,
I also have the same issues if anyone can help he/she
forward the answer to my e-mail address:omekings2000@yahoo.co.uk
cos am currently building a project at hand now.
|
|
|
|
|
use browsable attribute.
[BrowsableAttribute(true)]
|
|
|
|
|
Nice thought. But, however, this did not work for me.
|
|
|
|
|
Works for me - [System.ComponentModel.Browsable(true)]
It definitely isn't definatley
|
|
|
|
|
That's interesting. Mmm ... so in the code shown below, exactly where are you inserting the [System.ComponentModel.Browsable(true)] please?
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace MultiColumnComboBox
{
public partial class MultiColumnComboBox : ComboBox
{
public class Column
{
private bool _autoWidth = true;
private int _columnWidth;
public bool AutoWidth
{
get { return _autoWidth; }
set { _autoWidth = value; }
}
public int ColumnWidth
{
get { return _columnWidth; }
set { _columnWidth = value; }
}
}
public MultiColumnComboBox()
{
InitializeComponent();
}
public MultiColumnComboBox(IContainer container)
{
container.Add(this);
InitializeComponent();
}
}
}
|
|
|
|
|
As an attribute on the property - in my code:
<br />
[System.ComponentModel.Browsable(true)]<br />
public string DataItemLabelTitle<br />
{<br />
get<br />
{<br />
return this.lblDataItem.Text;<br />
}<br />
set<br />
{<br />
this.lblDataItemText = value;<br />
}<br />
}<br />
It definitely isn't definatley
|
|
|
|
|
Yes, this works for me in your context. But when the property is contained within my class 'Column' it fails. Any ideas would be much appreciated.
|
|
|
|
|
When you place an instance of your combo box onto the designer window, the Property pane shows the browsable properties of that object. Your 'Column' class isn't a property - it isn't even an instance. What exactly are you expecting to see here? By entering a value in the property pane, what behaviour are you expecting?
It definitely isn't definatley
|
|
|
|
|
I was expecting to see the additional properties 'AutoWidth' and 'ColumnWidth'.
|
|
|
|
|
You missed the point I was making - you can only display and change the properties for an instance of a class. What you're asking to do doesn't make any real sense.
It definitely isn't definatley
|
|
|
|
|
Your are right (of course). I realise my error now that I have had another jolt of coffee. Thanks for your patience. Mondays .....
|
|
|
|
|
|
I am creating a custom control.
|
|
|
|
|
Hi all... and Happy new year!
I already posted but got and found no solutions, I'll try to explain in a easier way:
When I launch my XmlWriter.Serialize(MyType), it doesn't work. Usually when .NET uses the dll MyType.XmlSerializers.dll, which is compiled together with MyType.dll. At run time, if .NET does not find MyType.XmlSerializers.dll it creates at execution time.
Now my problem is that it seams like .NET is using a completely different xmlserializer. And it always throws a
System.InvalidOperationException, There was an error generating the XML document.
String cannot have zero length at System.Reflection.Assembly.nLoad()
Does somebody have a tip?
P.S.: My app is an addon, so probably .NET is invoking an xmlserializer of the main app. When I run the addon by itself everything works.
Life is not short... the problem is only how you organize yourself
|
|
|
|
|
I found the solution on my own:
In the addon binding I have to add the following event:
<br />
AppDomain currentDomain = AppDomain.CurrentDomain;<br />
currentDomain.AssemblyResolve += new ResolveEventHandler(currentDomain_AssemblyResolve);<br />
In that event I can specify the path of the dll I wish to use.
Life is not short... the problem is only how you organize yourself
|
|
|
|
|
Hi,
When I went to setup 'AdoNetAccelerator-10', I was prompted to provide with a SQL server name. I do not know if that's also OK against an Oracle 10g DB.
I actually have a problem with 'SqlNetFramework' for this line
IDataReader reader = SqlNetFramework.Management.DbManager.Instance.ExecuteReader(0, conn, paramValues);
The error is
Error 1 The name 'SqlNetFramework' does not exist in the current context
Bst Rgds,
HuaMin
modified on Monday, January 5, 2009 5:14 AM
|
|
|
|
|
wmedwardc wrote: When I went to setup 'AdoNetAccelerator-10', I was prompted to provide with a SQL server name. I do not know if that's also OK against an Oracle 10g DB.
Either try it or ask the vendor.
wmedwardc wrote: Error 1 The name 'SqlNetFramework' does not exist in the current context
Have you added a reference to the relevant dll?
Bob
Ashfield Consultants Ltd
|
|
|
|