Click here to Skip to main content
15,947,411 members
Home / Discussions / Windows Forms
   

Windows Forms

 
PinnedForum Guidelines - PLEASE READ PinPopular
Chris Maunder28-Jul-09 2:38
cofounderChris Maunder28-Jul-09 2:38 
QuestionCoral 2.2.2 not work Pin
Kasza Norbert20-Jun-24 7:49
Kasza Norbert20-Jun-24 7:49 
AnswerRe: Coral 2.2.2 not work Pin
Sean Ewington20-Jun-24 9:13
staffSean Ewington20-Jun-24 9:13 
GeneralRe: Coral 2.2.2 not work Pin
Kasza Norbert20-Jun-24 21:13
Kasza Norbert20-Jun-24 21:13 
QuestionHow to install all nugets from certain publishers in the package manager without install one by one ? Pin
Martin Adams 202314-May-24 14:49
Martin Adams 202314-May-24 14:49 
AnswerRe: How to install all nugets from certain publishers in the package manager without install one by one ? Pin
Dave Kreskowiak14-May-24 16:12
mveDave Kreskowiak14-May-24 16:12 
GeneralRe: How to install all nugets from certain publishers in the package manager without install one by one ? Pin
Martin Adams 202315-May-24 1:27
Martin Adams 202315-May-24 1:27 
QuestionAny solution for this error: Timed out while connecting to named pipe.? Pin
Martin Adams 202314-May-24 10:52
Martin Adams 202314-May-24 10:52 
SuggestionRe: Any solution for this error: Timed out while connecting to named pipe.? Pin
Maciej Los14-May-24 11:02
mveMaciej Los14-May-24 11:02 
AnswerRe: Any solution for this error: Timed out while connecting to named pipe.? Pin
Dave Kreskowiak14-May-24 11:04
mveDave Kreskowiak14-May-24 11:04 
GeneralRe: Any solution for this error: Timed out while connecting to named pipe.? Pin
Martin Adams 202314-May-24 11:18
Martin Adams 202314-May-24 11:18 
GeneralRe: Any solution for this error: Timed out while connecting to named pipe.? Pin
Martin Adams 202314-May-24 11:32
Martin Adams 202314-May-24 11:32 
QuestionCode-Behind in Designer.cs File [SOLVED] Pin
Richard Andrew x648-Jul-23 6:30
professionalRichard Andrew x648-Jul-23 6:30 
AnswerRe: Code-Behind in Designer.cs File [SOLVED] Pin
Andre Oosthuizen9-Jul-23 3:50
mveAndre Oosthuizen9-Jul-23 3:50 
Questionclosing serialport1 form 1 and form 2 Pin
geomeo12323-Mar-23 13:58
geomeo12323-Mar-23 13:58 
AnswerRe: closing serialport1 form 1 and form 2 Pin
Graeme_Grant23-Mar-23 15:10
mvaGraeme_Grant23-Mar-23 15:10 
GeneralRe: closing serialport1 form 1 and form 2 Pin
geomeo12323-Mar-23 16:10
geomeo12323-Mar-23 16:10 
GeneralRe: closing serialport1 form 1 and form 2 Pin
Graeme_Grant23-Mar-23 16:22
mvaGraeme_Grant23-Mar-23 16:22 
Questionchange new form in winforms process running by user Pin
Member 1235220616-Jan-23 2:02
Member 1235220616-Jan-23 2:02 
AnswerRe: change new form in winforms process running by user Pin
Dave Kreskowiak16-Jan-23 13:44
mveDave Kreskowiak16-Jan-23 13:44 
GeneralRe: change new form in winforms process running by user Pin
Member 1235220620-Jan-23 11:09
Member 1235220620-Jan-23 11:09 
Questionadd new row if not exist row in datagirdview1 Pin
Sufvan Adil 202315-Jan-23 15:25
Sufvan Adil 202315-Jan-23 15:25 
AnswerRe: add new row if not exist row in datagirdview1 Pin
Richard MacCutchan15-Jan-23 22:01
mveRichard MacCutchan15-Jan-23 22:01 
AnswerRe: add new row if not exist row in datagirdview1 Pin
Richard Deeming15-Jan-23 22:33
mveRichard Deeming15-Jan-23 22:33 
Questionvb.net chart axis.X only every 5th Label should be shown. Pin
JTrum9-May-22 4:11
JTrum9-May-22 4:11 
The following problem: Chart x-axis represents calendar weeks from 2021/35 to 2022/36 (current week 2022/19). I don't want to represent every week as a label, but only every 5th week. Up to the current week it looks relatively good, but after that every week is displayed as label.
VB.NET
newchart(chart1)'erzeugt ein neues leeres chart
Dim chartArea1 As New ChartArea("Default")
chart1.AntiAliasing = AntiAliasingStyles.None
chart1.TextAntiAliasingQuality = TextAntiAliasingQuality.Normal
chart1.ChartAreas.Add(chartArea1)
chart1.ChartAreas("Default").CursorX.IsUserEnabled = False
chart1.ChartAreas("Default").CursorX.IsUserSelectionEnabled = False
chart1.ChartAreas("Default").BackGradientStyle = GradientStyle.None
'chart1.ChartAreas("Default").Position.Auto = True

chart1.ChartAreas("Default").Position.Auto = False
chart1.ChartAreas("Default").Position.X = 0
chart1.ChartAreas("Default").Position.Y = 10
chart1.ChartAreas("Default").Position.Width = ChartAreasWidth
chart1.ChartAreas("Default").Position.Height = ChartAreasHeight - 4

chart1.ChartAreas("Default").AxisX.ScaleView.Zoomable = True
chart1.ChartAreas("Default").AxisX.ScrollBar.IsPositionedInside = True
chart1.ChartAreas("Default").AxisX.MajorGrid.Enabled = False
chart1.ChartAreas("Default").AxisX.MajorGrid.LineWidth = 1

chart1.ChartAreas("Default").AxisX.IntervalType = DateTimeIntervalType.Weeks
chart1.ChartAreas("Default").AxisX.Interval = 1
chart1.ChartAreas("Default").AxisX.LabelAutoFitStyle = LabelAutoFitStyles.DecreaseFont
chart1.ChartAreas("Default").AxisX.LabelAutoFitMinFontSize = 7
chart1.ChartAreas("Default").AxisX.LabelStyle.Font = My.Settings.fontbold8
chart1.ChartAreas("Default").AxisX.LabelStyle.Angle = 90
chart1.ChartAreas("Default").AxisX.MajorTickMark.Enabled = True
chart1.ChartAreas("Default").AxisX.MinorTickMark.Enabled = False
chart1.ChartAreas("Default").AxisX.Minimum = von_X.ToOADate()
chart1.ChartAreas("Default").AxisX.Maximum = bis_X.ToOADate()
chart1.ChartAreas("Default").AxisX.IsMarginVisible = False

chart1.ChartAreas("Default").AxisY.MinorTickMark.Enabled = True
chart1.ChartAreas("Default").AxisY.MinorTickMark.TickMarkStyle = TickMarkStyle.InsideArea
chart1.ChartAreas("Default").AxisY.MajorGrid.LineWidth = 1
chart1.ChartAreas("Default").AxisY.MajorGrid.LineColor = Color.Black
chart1.ChartAreas("Default").AxisY.LabelStyle.Font = My.Settings.fontbold8
chart1.ChartAreas("Default").AxisY.LabelStyle.Format = "C0"
chart1.ChartAreas("Default").AxisY.LabelAutoFitStyle = LabelAutoFitStyles.DecreaseFont
chart1.ChartAreas("Default").AxisY.LabelAutoFitMinFontSize = 7
chart1.ChartAreas("Default").AxisY.Minimum = 0

chart1.ChartAreas("Default").AxisY2.LineDashStyle = ChartDashStyle.Solid
chart1.ChartAreas("Default").AxisY2.LineWidth = 1
chart1.ChartAreas("Default").AxisY2.LineColor = Color.Black
chart1.ChartAreas("Default").AxisY2.Enabled = AxisEnabled.True
chart1.ChartAreas("Default").AxisY2.MajorTickMark.Enabled = False
chart1.ChartAreas("Default").AxisY2.LabelStyle.ForeColor = Color.Transparent
chart1.ChartAreas("Default").AxisY2.LabelStyle.Font = My.Settings.fontbold8
chart1.ChartAreas("Default").AxisY2.MajorGrid.Enabled = False
chart1.ChartAreas("Default").AxisY2.LabelAutoFitStyle = LabelAutoFitStyles.DecreaseFont
chart1.ChartAreas("Default").AxisY2.LabelAutoFitMinFontSize = 7

chart1.ChartAreas("Default").BackColor = Color.White

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.