Search results for query: *

  • Users: bufer24
  • Content: Threads
  • Order by date
  1. B

    Question TestComplete

    Does anyone use TestComplete to make automated tests? Do you like this tool?
  2. B

    Question Displaying data from related table in DataGridView

    I have 2 tables in my dataset: - Items - Warehouse The Items table contains a column named 'WarehouseID'. It tells me which warehouse this item belongs to. The Warehouse table contains an 'ID' column and a 'Name' column. Now if I display the contents of Items table in a datagridview I will...
  3. B

    Question Get bounds of GraphicsPath

    Hi, I wonder if there is a way I can get the REAL bounding rectangle for a graphicspath, for example a path consisting from one or more bezier curves. The bezier curves in the path have control points and the function .GetBounds takes these points in account. But I only want to get the bounds...
  4. B

    Question LINQ on array of objects

    Let´s say I have an array (I named it "Points") of objects. Each object has a custom property called for example "Selected". The property type is Boolean. Can I use LINQ to determine the INDEX of the element in the "Points" array where "Selected=True"? (I´ve ensured that only one element can...
  5. B

    Question Container region of a panel

    Hi, is there a way to make a user control (similar to panel) that has a custom container area? Ordinary panel has a container area that is almost the same size as the panel itself, and I don´t know a way to change it. The new control should have a container area (where I can place other...
  6. B

    Question Get DataGrid sort direction

    Hi, I know how to set sorting direction on each column in datagrid programatically, but I wonder how to do the opposite: obtain the sorting direction for a particular column. Does anyone know? Thanks
  7. B

    DataGrid Column Position

    Hello, I have a datagrid in my project and I want to place label controls above each of its columns and those labels should stay above each column even when I resize columns. I need something like "Datagrid.Columns(i).Left", but of course there is no such property. Is there a way to obtain such...
  8. B

    DataGrid refreshing

    Hello there. What I am breaking my teeth on right now is this: I have a simple database application that shows data using a datagridview. This control is bound to a DataView (so I can apply filtering). The Dataview is bound to a DataSet which is then filled from a DataAdapter using Fill method...
  9. B

    Label TextAlign

    Hi, I have a simple but tricky problem: I have a label inside a container control (form, panel, or whatever). The labels anchor is set to bottom & right, auto-size is set to true and the textalign property is set to middle right. The length of the text changes during runtime. I want to ensure...
  10. B

    Read changed data

    Hello, I am currently testing my small SQL database application. The database is stored on the server on a local PC. The client application can run on local PC or there can be several clients on remote computers. I´ve put a timer in my client app to ensure refreshing of data every 20 seconds. It...
  11. B

    Question Choose single property from array

    Hello, please, I want to do the following: I have an object (class) that has a property called Languages which sets or returns an array of strings. Now I want do add another property (let´s call it SelectedLanguage) that selects a single string from the existing Languages array? Is it possible...
  12. B

    Question Object SubProperty

    I am solving a following issue: I want to create a usercontrol with properties of custom type. These properties have another properties of custom type. I found many examples of implementing such situation, but none of them seems to work properly. A change of the property value in property grid...
  13. B

    Single event handler for multiple instances of one object

    Hello, is there a way to create a single event handler for multiple instances of one object? For example, I have a custom class "myObject" that contains one event that is fired through some user input. Then I create an array of objects: class myObject public event someEvent end class...
  14. B

    Custom Class Properties

    Hi, I have trouble with this: I have a simple class: Public Class MyClass dim _prop as new MyProp() Public Property Prop as MyProp Get Prop=_Prop End Get Set(value as MyProp) _Prop=value .... I need to trigger other procedures here, but it doesn´t work...
Back
Top