No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Hello, I have two projects in this solution: ProjectA and ProjectB. ProjectA is the main start-up project, and has a reference to ProjectB. ProjectA has a file called MainForm.cs, which contains a textbox and the main UI. ProjectB has a class inside Shapes.cs, containing a particular structure we're using. Shapes.cs … |
|
Hi. I'm sure this question has been asked before, but I can't get the text searched for. If anyone can explain them, refer me to an article, or give me the correct search query I would appreciate it. Thanks. |
|
Hello, I'm using .NET C# there. I have a textbox. I assigned it a MouseClick event. Normally the event is fired when I click the control. But if I set the textbox's [[B]Enabled=false[/B]] or [[B]ReadOnly=true[/B]] properties, the MouseClick event is not fired. How can I fix it? Thanks. |
|
Hello. I've seen some tutorials, but I can't find one that particularly suits my needs. What I'm trying to do is this: I have a form that contains an object. I want this object to be able to modify its parent form when an event for it is thrown. The … |
|
Hi. This is probably too easy, but... Can anyone tell me how to add or remove a checkbox from a panel by using the Designer? The only samples I could find online had the code nside an arbitrary method called CreateMyPanel(). I'm looking at a file called MyControl.Designer.cs, and inside … |
|
Hi. This should be very easy for you guys, but I still can't get it visualized in my mind. Here's what I'm trying to do: [CODE] if (flag) for (i = 0; i < 10; i++) {LARGE_BLOCK_OF_CODE (that visits an array in order)} else for (i = 9; i >= … |
|
Hello. Is there a way to modify a UIElement's contents? I have something like this: [CODE] System.IO.FileStream rdr = System.IO.File.OpenRead(xamlFilePath); System.Windows.UIElement uie = (System.Windows.UIElement)System.Windows.Markup.XamlReader.Load(rdr); [/CODE] And when I run the debugger and add uie to the "Watch" window, it gives me the following: [CODE] [-]uie [-]System.Windows.Controls.Textbox {System.Windows.Controls.Textbox:Title} <some stuff...> Text … |
|
Hello. I have a little trivial problem in my application. I have a dialog (d1) that inherits from Form. And in Main, if I call [CODE]d1.ShowDialog()[/CODE] ,it works fine. But calling [CODE]d1.Show()[/CODE] opens a bad form with pale labels and textboxes, and when I try to drag that window form … |