Click here to Skip to main content
15,886,873 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to remove rows of a DataTable based on checkboxes? Pin
Mycroft Holmes2-Apr-21 13:18
professionalMycroft Holmes2-Apr-21 13:18 
AnswerRe: How to remove rows of a DataTable based on checkboxes? Pin
Gerry Schmitz1-Apr-21 18:28
mveGerry Schmitz1-Apr-21 18:28 
GeneralRe: How to remove rows of a DataTable based on checkboxes? Pin
Alex Dunlop1-Apr-21 18:32
Alex Dunlop1-Apr-21 18:32 
GeneralRe: How to remove rows of a DataTable based on checkboxes? Pin
Gerry Schmitz1-Apr-21 19:39
mveGerry Schmitz1-Apr-21 19:39 
QuestionPartial View Question Pin
pkfox31-Mar-21 8:39
professionalpkfox31-Mar-21 8:39 
AnswerRe: Partial View Question Pin
Matthew Dennis31-Mar-21 11:04
sysadminMatthew Dennis31-Mar-21 11:04 
GeneralRe: Partial View Question Pin
pkfox31-Mar-21 21:13
professionalpkfox31-Mar-21 21:13 
QuestionHow autoconnect shapes in Canvas WPF Pin
Newbee_Mark30-Mar-21 23:54
Newbee_Mark30-Mar-21 23:54 
Hi,

Could you help with all possible ways of autoconnection of shapes dropped in WPS canvas?
We are assuming that:
1. Shapes have connectors/adorners
2. Shapes have in same layer
3. Second shape dragged from shapes library and brought close to first shape.
4. Next - happens autonnection of close to each other connectors.

The visual (only) reference can be seen (from 8m11sec) GERU Tutorial: Logic Flow & Email Messages - YouTube[^]

The main problem of using the option of constant comparison/calculation of connectors' distance will be done during the move of shapes.
And it will load the CPU as technically each/any movement of any shape (there can be dozen) in canvas will be calculated then heavily loading the CPU=slowing down the app...

Are there different ways or tips/tricks of doing it?
Ideally some sample of code if feasible?

Thanks a lot!

modified 31-Mar-21 13:35pm.

AnswerRe: How autoconnect shapes in Canvas WPF Pin
Gerry Schmitz31-Mar-21 7:33
mveGerry Schmitz31-Mar-21 7:33 
GeneralRe: How autoconnect shapes in Canvas WPF Pin
Newbee_Mark31-Mar-21 7:37
Newbee_Mark31-Mar-21 7:37 
GeneralRe: How autoconnect shapes in Canvas WPF Pin
Gerry Schmitz31-Mar-21 14:57
mveGerry Schmitz31-Mar-21 14:57 
GeneralRe: How autoconnect shapes in Canvas WPF Pin
Newbee_Mark31-Mar-21 23:40
Newbee_Mark31-Mar-21 23:40 
GeneralRe: How autoconnect shapes in Canvas WPF Pin
Gerry Schmitz1-Apr-21 6:24
mveGerry Schmitz1-Apr-21 6:24 
GeneralRe: How autoconnect shapes in Canvas WPF Pin
Newbee_Mark1-Apr-21 22:54
Newbee_Mark1-Apr-21 22:54 
QuestionList not printing out hardcoded books already added to list Pin
Member 1451443230-Mar-21 12:14
Member 1451443230-Mar-21 12:14 
AnswerRe: List not printing out hardcoded books already added to list Pin
Dave Kreskowiak30-Mar-21 14:03
mveDave Kreskowiak30-Mar-21 14:03 
GeneralRe: List not printing out hardcoded books already added to list Pin
Member 1451443231-Mar-21 10:27
Member 1451443231-Mar-21 10:27 
GeneralRe: List not printing out hardcoded books already added to list Pin
Dave Kreskowiak31-Mar-21 10:33
mveDave Kreskowiak31-Mar-21 10:33 
GeneralRe: List not printing out hardcoded books already added to list Pin
Member 1451443231-Mar-21 10:43
Member 1451443231-Mar-21 10:43 
QuestionHow to convert a column of DataTable into integer values? Pin
Alex Dunlop29-Mar-21 5:30
Alex Dunlop29-Mar-21 5:30 
AnswerRe: How to convert a column of DataTable into integer values? Pin
Richard Deeming29-Mar-21 5:42
mveRichard Deeming29-Mar-21 5:42 
AnswerRe: How to convert a column of DataTable into integer values? Pin
Mycroft Holmes29-Mar-21 20:21
professionalMycroft Holmes29-Mar-21 20:21 
AnswerRe: How to convert a column of DataTable into integer values? Pin
Arfat M1-Apr-21 19:58
Arfat M1-Apr-21 19:58 
GeneralRe: How to convert a column of DataTable into integer values? Pin
Richard Deeming6-Apr-21 0:06
mveRichard Deeming6-Apr-21 0:06 
GeneralChanging value in variable from another called class Pin
StealthRT28-Mar-21 17:26
StealthRT28-Mar-21 17:26 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.