Click here to Skip to main content
15,889,992 members
Home / Discussions / C#
   

C#

 
AnswerRe: Do you use obfuscator? Pin
Eddy Vluggen11-Feb-19 2:47
professionalEddy Vluggen11-Feb-19 2:47 
GeneralRe: Do you use obfuscator? Pin
Froddo12-Feb-19 6:52
Froddo12-Feb-19 6:52 
GeneralRe: Do you use obfuscator? Pin
Wastedtalent13-Feb-19 21:07
professionalWastedtalent13-Feb-19 21:07 
AnswerRe: Do you use obfuscator? Pin
BillWoodruff16-Feb-19 14:39
professionalBillWoodruff16-Feb-19 14:39 
GeneralRe: Do you use obfuscator? Pin
Froddo18-Feb-19 6:56
Froddo18-Feb-19 6:56 
AnswerRe: Do you use obfuscator? Pin
Member 1412742220-Feb-19 6:33
Member 1412742220-Feb-19 6:33 
GeneralRe: Do you use obfuscator? Pin
Froddo22-Feb-19 9:00
Froddo22-Feb-19 9:00 
QuestionDGVPrinter how to print Logo and a frame in the text Pin
Member 141432997-Feb-19 7:34
Member 141432997-Feb-19 7:34 
Hello colleagues, I am new learning c # and using DGVPrinter I want to know how to print the LOGO on the top left and the date and user on the top right of the header and create a model sheet that includes a frame around the text. I have tried to adapt the following code and I do not know how to do it. Please indicate me some video or the code in c # to continue learning. Thanks, I appreciate it.
// Original by: aureolin, 6 Feb 2014
Dim pagemargins As New System.Drawing.Printing.Margins (10, 10, 40, 40)
Dim queuePrinter = New DGVPrinter
queuePrinter.Title = qTitle
queuePrinter.SubTitle = String.Format ("List Printed On: {0}", Date.Now (). ToShortDateString ())
queuePrinter.SubTitleFormatFlags = StringFormatFlags.LineLimit Or StringFormatFlags.NoClip
queuePrinter.PageNumbers = True
queuePrinter.PageNumberInHeader = True
queuePrinter.ColumnWidth = DGVPrinter.ColumnWidthSetting.Porportional
queuePrinter.Footer = "XXXXXXXXX"
queuePrinter.FooterSpacing = 15
queuePrinter.PrintMargins = pagemargins
queuePrinter.HideColumns.AddRange (ExcludeList)
Dim logo As New DGVPrinter.ImbeddedImage ()
logo.ImageAlignment = DGVPrinter.Alignment.Left
logo.ImageLocation = DGVPrinter.Location.Header
logo.ImageX = 0
logo.ImageY = 0
logo.theImage = My.Resources.XXX_Logo_XSmall_BW
queuePrinter.ImbeddedImageList.Add (logo)
queuePrinter.PrintPreviewDataGridView (Grid)
Thumbs Up | :thumbsup: Thumbs Up | :thumbsup:
AnswerRe: DGVPrinter how to print Logo and a frame in the text Pin
OriginalGriff7-Feb-19 21:21
mveOriginalGriff7-Feb-19 21:21 
GeneralRe: DGVPrinter how to print Logo and a frame in the text Pin
Member 141432998-Feb-19 3:04
Member 141432998-Feb-19 3:04 
GeneralRe: DGVPrinter how to print Logo and a frame in the text Pin
OriginalGriff8-Feb-19 3:10
mveOriginalGriff8-Feb-19 3:10 
QuestionDisable focus in button with arrow right left up down Pin
Member 114269867-Feb-19 2:29
Member 114269867-Feb-19 2:29 
AnswerRe: Disable focus in button with arrow right left up down Pin
Ralf Meier7-Feb-19 2:41
mveRalf Meier7-Feb-19 2:41 
GeneralRe: Disable focus in button with arrow right left up down Pin
Member 114269867-Feb-19 2:53
Member 114269867-Feb-19 2:53 
GeneralRe: Disable focus in button with arrow right left up down Pin
Richard MacCutchan7-Feb-19 4:40
mveRichard MacCutchan7-Feb-19 4:40 
GeneralRe: Disable focus in button with arrow right left up down Pin
Richard MacCutchan7-Feb-19 6:10
mveRichard MacCutchan7-Feb-19 6:10 
AnswerRe: Disable focus in button with arrow right left up down Pin
Alan N7-Feb-19 5:22
Alan N7-Feb-19 5:22 
GeneralRe: Disable focus in button with arrow right left up down Pin
BillWoodruff9-Feb-19 19:56
professionalBillWoodruff9-Feb-19 19:56 
AnswerRe: Disable focus in button with arrow right left up down Pin
Gerry Schmitz7-Feb-19 6:22
mveGerry Schmitz7-Feb-19 6:22 
GeneralRe: Disable focus in button with arrow right left up down Pin
BillWoodruff10-Feb-19 9:07
professionalBillWoodruff10-Feb-19 9:07 
QuestionC# GUI for plotting real time MPU(acceleration) scensors Pin
Member 141421336-Feb-19 7:23
Member 141421336-Feb-19 7:23 
AnswerRe: C# GUI for plotting real time MPU(acceleration) scensors Pin
Gerry Schmitz6-Feb-19 8:01
mveGerry Schmitz6-Feb-19 8:01 
GeneralRe: C# GUI for plotting real time MPU(acceleration) scensors Pin
Member 141421336-Feb-19 8:41
Member 141421336-Feb-19 8:41 
GeneralRe: C# GUI for plotting real time MPU(acceleration) scensors Pin
Gerry Schmitz6-Feb-19 16:59
mveGerry Schmitz6-Feb-19 16:59 
GeneralRe: C# GUI for plotting real time MPU(acceleration) scensors Pin
Member 141421337-Feb-19 6:24
Member 141421337-Feb-19 6:24 

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.