Monday, February 28, 2022

expandable panel control

expandable panel control

    My Solution

  1. Sliding Timer
  2. How to run an action after a quiet period. a good trick to use for my slide panel.

  3. C# Sliding IN/Out Panel
  4. In this Video We Will Make a Sliding Panel in C# completely from An Empty C# winform Project. Subscribe My Channel For More Programming Video.

  5. Slide Panel Tutorial in C#
  6. In this tutorial I show you how to make a menu slide panel. This gives you the funcationality of having more space in your form. This method will also give you a more modern feel to your Winforms Application.

  7. C# WinForm UI - How to make a Sliding IN/OUT Panel
  8. https://www.youtube.com/watch?v=aSSUj93Qil0

    Research

  9. Expandable panel on all four directions
  10. An expandable panel that you can set to expand/collapse bottom to top, top to bottom, left to right, or right to left.

  11. How to: Display Side-Aligned Tabs with TabControl
  12. The Alignment property of TabControl supports displaying tabs vertically (along the left or right edge of the control), as opposed to horizontally (across the top or bottom of the control). By default, this vertical display results in a poor user experience, because the Text property of the TabPage object does not display in the tab when visual styles are enabled. There is also no direct way to control the direction of the text within the tab. You can use owner draw on TabControl to improve this experience.

  13. Collapsible Splitter control in C#
  14. A Mozilla-style collapsing splitter control in C#

  15. alexander-makarov / ExpandCollapsePanel
  16. ExpandCollapsePanel is WinForms control has similar to WPF Expander control. Control displays a header that has a collapsible window that displays content. There are two projects, the first is the library itself, the second is a demo application.

  17. Folding menu panel in Windows Form
  18. In the process of program development, sometimes in order to make the main content of our program display larger area, we need to fold up some panels. Today, we will briefly introduce the implementation of a menu panel folding.

  19. Create Floating/Sliding/Moving Menu in C#.NET
  20. Floating/Sliding Menu or Panel in C#.NET

  21. Expandable panel on all four directions
  22. An expandable panel that you can set to expand/collapse bottom to top, top to bottom, left to right, or right to left.

Tuesday, February 22, 2022

invalid options 'latest' for langversion; must be ISO-1, ISO-2, default or an integer in range 1 to 6

invalid options 'latest' for langversion; must be ISO-1, ISO-2, default or an integer in range 1 to 6

  1. Error: CS1617: Invalid option 6 for langversion
  2. I was upgrading my MVC app from MVC 4 to MVC 5 in visual studio 2013 then eventually got message CS1617: Invalid option '6' for langversion. I looked into issue very closely and then finally come up with the right solution. I am here demonstrating complete resolution with you.

  3. ix Error Invalid option '6' for langversion; must be ISO 1, ISO 2, 3, 4, 5 or Default
  4. How to Fix Error Invalid option '6' for langversion; must be ISO 1, ISO 2, 3, 4, 5 or Default

  5. Error Invalid option '6' for /langversion; must be ISO-1, ISO-2, 3, 4, 5 or Default
  6. I am trying to target .NET 4.6 and also take advantage of the latest C# version by changing the C# language version to 6.

  7. Compiler Error CS1617
  8. Invalid option 'option' for LangVersion. Use ? to list supported values.

  9. Invalid option 'latest' for /langversion; must be ISO-1, ISO-2, Default or an integer in range 1 to
  10. You may be thinking that C# 7 features are already supported with Visual Studio 2017 and you do not need to make any changes for that. Yes, you are almost right but this is not 100% true.

    Wait for a while and let me explain. If you open Visual Studio 2017 and start compiling the code which was introduced with C# 7 then most of the features will be compiled successfully and you do not need to make any changes for the language version.

    But if you will check the currently selected C# language version then you will find that it is “default” not “C#7.0”. Let’s check it.

Monday, February 21, 2022

tabLayout research

https://unstoppabledomains.com/search?searchTerm=chris101

  1. How to add rows into middle of a TableLayoutPanel
  2. I have a TableLayoutPanel with 3 columns and 1 row: (Remove button, User Control, Add button)

  3. TableLayoutPanel In C#
  4. TableLayoutPanel control represents a panel that dynamically lays out its contents in a table format. You want to use a TableLayoutPanel in complex and sophisticated applications where you need to create dynamic layouts.

  5. Inseting a row between 2 existing rows a Table Layout Panel
  6. I would like to be able to insert a new row into a table layout panel between 2 existing rows (or above the top row) at runtime. The existing rows contain controls of various types.

  7. Add Row Dynamically in TableLayoutPanel
  8. I want to add these entries dynamically row by row in TableLayoutPanel in Windows Form in c#

  9. How to apply border color for TableLayoutPanel
  10. The TableLayoutPanel control arranges its contents in a grid. TableLayoutPanel doesn’t have border color property, but you can write custom code in CellPaint event to create border. Here is the code snippet which will help you to create border and apply color for TableLayoutPanel

  11. TableLayoutPanel.CellBorderStyle Property
  12. Gets or sets the style of the cell borders.

  13. Draw borders around some cells in a tablelayoutpanel
  14. Don't ask why but I have the requirement to draw a border around certain cells in a TableLayoutPanel.

    For example, for simplicity, lets say I have a 1 row, 5 column TableLayoutPanel. Each cell has a button in it. I would like to draw a box around the first 3 cells and then another box around the last 2 cells. So two boxes total.

    top solutions

  15. Add Row Dynamically in TableLayoutPanel
  16. I want to add these entries dynamically row by row in TableLayoutPanel in Windows Form in c# How can I do that?

  17. TableLayoutPanel.RowStyles Property
  18. Gets a collection of row styles for the TableLayoutPanel.

  19. How to dynamically update a tableLayoutPanel?
  20. Does anyone know how to edit/manage values within the columns and rows of a tableLayoutPanel? I don't want to add more columns/rows, I just want to update certain coordinates within the columns and rows. Thanks for your help!

  21. C# TableLayoutPanel Example
  22. GrowStyle Property of TableLayoutPanel

    there are many good examples for TableLayOutPanel control

  23. C# (CSharp) System.Windows.Forms TableLayoutPanel Examples
  24. C# (CSharp) System.Windows.Forms TableLayoutPanel - 30 examples found. These are the top rated real world C# (CSharp) examples of System.Windows.Forms.TableLayoutPanel extracted from open source projects. You can rate examples to help us improve the quality of examples.

  25. Designing the Layout of Windows Forms using a TableLayoutPanel, with auto-expand panels.
  26. This is a just a small tip to show a simple way of designing the user interface of Windows Forms for Desktops applications.

  27. Easy WinForms Accordion Control
  28. Quick and dirty Accordion control for WinForms in about 50 lines of code.

  29. Drop-dead easy layout management
  30. Flexible control repositioning and resizing with an easy-to-use layout manager.

  31. Best Practices for the TableLayoutPanel Control
  32. Best Practices for the TableLayoutPanel Control

  33. Changing Layout Dynamically in Windows Forms
  34. Changing Layout Dynamically in Windows Forms

    dynamically combo control

  35. Add Row Dynamically in TableLayoutPanel
  36. I want to add these entries dynamically row by row in TableLayoutPanel in Windows Form in c# How can I do that?

  37. How to add rows into middle of a TableLayoutPanel
  38. How to add rows into middle of a TableLayoutPanel

  39. Using Controls in Winforms - Advanced
  40. good collections of combo box

  41. Winforms TableLayoutPanel adding rows programmatically
  42. I am attempting to take a 'blank' tablelayoutpanel, which has 10 columns defined, then at runtime programmatically add rows of controls (i.e. one control per cell).

  43. Programmatically add Click EventHandler to Button
  44. Programmatically add Click EventHandler to Button

  45. A local or parameter named 'e' cannot be declared in this scope
  46. A local or parameter named 'e' cannot be declared in this scope because that name is used in an enclosing local scope to define a local or parameter

  47. Programmatically add Click EventHandler to Button
  48. very good tricks to add event handler syntax

  49. Add button & its click event programmatically in C# January 08, 2014
  50. We are going to create an application in which we'll add button in its click event programmatically. You just have to create a new object of "Button" format it (location, name, text, size etc), assign a click event, add it to the form and declare and initialize that click event.

  51. c# How to Add Click Event for Dynamically Created Buttons
  52. Just like me you must have also come across this problem. For buttons created using toolbox we can easily add click event dynamically by using button1.PerformClick() event.

  53. EVENT-DRIVEN PROGRAMMING AND EVENT-HANDLING IN C#
  54. Event handlers are an important concept for C# developers to master. In this tutorial, you will learn about event-driven programming by creating an example GUI application.

  55. Button In C#
  56. C# Button class in .NET Framework class library represents a Windows Forms Button control. A Button control is a child control placed on a Form and used to process click event and can be clicked by a mouse click or by pressing ENTER or ESC keys.

  57. TableLayoutControlCollection Class
  58. Represents a collection of child controls in a table layout container.

  59. How to: Anchor and Dock Child Controls in a TableLayoutPanel Control
  60. The TableLayoutPanel control supports the Anchor and Dock properties in its child controls.

  61. How to: Anchor and Dock Child Controls in a TableLayoutPanel Control
  62. The TableLayoutPanel control supports the Anchor and Dock properties in its child controls.

    good examples

  63. C# ComboBox Control
  64. C# ComboBox Control

timer class & timing logic

timer class & timing logic

  1. Measure execution time in C#
  2. This post will discuss how to measure the execution time of a code snippet in C#.

  3. Calculate the execution time of a method
  4. I have an I/O time-taking method which copies data from a location to another. What's the best and most real way of calculating the execution time? Thread? Timer? Stopwatch? Any other solution? I want the most exact one, and briefest as much as possible.

  5. How to calculate the code execution time in C#?
  6. As a programmer, we may need to find out the execution time used by a particular segment of the C# code, in order to optimize the performance. For example, we may want to know how much time is taken for reading multiple files in the file system, or fetching data from the database, or executing some business logic.

  7. Accurately Measure Elapsed Time (Execution Time) in C# .NET using Stopwatch Class
  8. Sometimes when our code is running slow or taking a long time for completion then there is a need to measure the time taken by different code operations (validations, database calls, external API calls, etc.) to identify a slow task that requires improvement in the performance. In this article, we will focus mainly on how to measure elapsed time in C# .NET Core code using Stopwatch so that we are able to determine the time taken by each operation of code.

  9. How to Calculate the Code Execution Time in C#?
  10. The execution time of a task is defined as the time taken by the system to execute that task. The execution time of a program is equal to the sum of the execution time of its statements. There are numerous ways to calculate the execution time of a program in C#. In this article, we will see three ways to measure execution time in C#.

  11. C# language features
  12. C# language features

  13. Two ways to measure time in C# .NET
  14. Imagine that you want to want to measure how long it takes to execute a method or function in .NET. Maybe you suspect that a specific call in your code is taking too long but you would like to measure its performance.

Friday, February 18, 2022

LINQ topics

LINQ tutorials and collections

    Must read

  1. 10 Resources for Learning LINQ
  2. 10 Resources for Learning LINQ

    Good Posts

  3. Different Ways to write LINQ Query
  4. In this article, I am going to discuss the Different Ways to write LINQ Query i.e. Linq Query Syntax and Linq Method Syntax with examples. Please read our previous article where we discussed the Architecture of LINQ i.e. how LINQ works. In this article, we are going to discuss the following pointers.

  5. Architecture of LINQ
  6. In this article, I am going to discuss the Architecture of LINQ. The term LINQ stands for Language Integrated Query and it is pronounced as LINK. Nowadays the use of use LINQ increasing rapidly. So, as a developer, you should understand the Linq and its architecture. At the end of this article, you will have a very good understanding of the following pointers.

  7. IEnumerable and IQueryable in C#
  8. In this article, I am going to discuss IEnumerable and IQueryable in C# with examples. Please read our previous article where we discussed the different ways to write LINQ queries with examples. In this article, we are going to discuss the following concepts in detail.

  9. LINQ Extension Methods
  10. In this article, I am going to discuss the LINQ Extension Methods in C# with examples. Please read our previous article before proceeding to this article where we discussed the Differences between IEnumerable and IQueryable in C#. At the end of this article, you will understand the following three concepts in C#.

  11. LINQ Tutorial
  12. Language-Integrated Query (LINQ) is a powerful query language introduced with .Net 3.5 & Visual Studio 2008. LINQ can be used with C# or Visual Basic to query different data sources.

    LINQ tutorials will help you to learn the LINQ language using topics which go from basic to advanced. These tutorials are broken down into series of related topics, so that you start from a topic which must be understand first, and then gradually learn other features of LINQ sequentially. LINQ tutorials are packed with easy to understand explanations, real-world examples, useful tips, informative notes and points to remember.

  13. LINQ - Environment Setup
  14. Before starting with LINQ programs, it is best to first understand the nuances of setting up a LINQ environment. LINQ needs a .NET framework, a revolutionary platform to have a diverse kind of applications. A LINQ query can be written either in C# or Visual Basic conveniently.

  15. ASP.NET Web API Tutorials For Begineers and Professionals
  16. In this ASP.NET Web API Tutorials series, I covered all the features of ASP.NET Web API. You will learn from basic to advance level features of ASP.NET Web API. The term API stands for “Application Programming Interface” and ASP.NET Web API is a framework provided by Microsoft which makes it easy to build Web APIs, i.e. it is used to develop HTTP-based web services on the top of .NET Framework.

  17. Introduction to LINQ
  18. LINQ stands for "Language Integrated Query" and pronounced as "LINK". LINQ was introduced with .NET Framework 3.5 including Visual Studio 2008, C# 3.0 and VB.NET 2008 (VB 9.0). It enables you to query the data from the various data sources like SQL databases, XML documents, ADO.NET Datasets, Web services and any other objects such as Collections, Generics etc. by using a SQL Query like syntax with .NET framework languages like C# and VB.NET.

  19. LINQ Introduction - What is LINQ & Why we use LINQ
  20. Here we will learn the introduction to LINQ, what is linq in c# / asp.net, why we use LINQ in c# / asp.net, LINQ architecture with diagram, advantages of LINQ, disadvantages of LINQ, etc. in detail with examples in c# and vb.net.

  21. LINQ Tutorial
  22. Here we will learn the complete LINQ tutorial with examples. In LINQ tutorial, we covered all topics like LINQ to SQL, LINQ to XML, LINQ to Objects, LINQ to lists, etc., in a detailed manner with examples.

  23. LINQ Tutorial for Beginners
  24. A LINQ tutorial for beginners.

  25. LINQ Tutorial for beginners with examples
  26. good videos and texts

  27. Getting started with linq
  28. LINQ is a set of features introduced in the .NET Framework version 3.5 that bridges the gap between the world of objects and the world of data.

  29. C# Tutorial 15 LINQ Tutorial
  30. In this video I'll cover LINQ. Language Integrated Query (LINQ) provides many tools for working with data. LINQ is similar to SQL, but it can work with data aside from databases. I'll cover From, Where, Orderby, Select, In, Inner Joins, Group Inner Join, Equals and using LINQ with multiple different collections.

Tuesday, February 15, 2022

NUnit topics

NUnit topics

  1. C# Tutorial - How to create NUnit Test | FoxLearn
  2. very good start

  3. SetUpAttribute (NUnit 2.0 / 2.5)
  4. This attribute is used inside a TestFixture to provide a common set of functions that are performed just before each test method is called. It is also used inside a SetUpFixture, where it provides the same functionality at the level of a namespace or assembly.

  5. Installation
  6. By default the NUnit installation program places all of the files into the C:\Program Files\NUnit 2.6.4 directory. In the installation directory there are up to three sub-directories, depending on what the user has chosen to install: bin, doc and samples. Source code is no longer provided with the binary installation package but may be downloaded separately.

  7. writing test
  8. writing test

Tuesday, February 1, 2022

can not access certain website

I bought a new modem and finished installation successfully. but the problem arose after I configured WIFI. on one of my Laptop, I open Edge browser and did some checking: google and bing works well. but I can not access codeproject.com.

So I did search and find this link. trick #1 works for my case.

  1. Windows: Cannot Connect to Certain Web Sites
  2. trick#1 and trick #2 works.

  3. Easy Fixes For ERR_NETWORK_CHANGED Errors In Windows
  4. this is my case: I set up my DNS server because of my LAN in home.

    If you’re seeing ERR_NETWORK_CHANGED errors on your Windows computer, it is usually because there is a misconfiguration in your network settings. Fortunately, there are some easy ways to fix it that will have you up and browsing in no time..

    Check Your DNS Settings If none of the other solutions worked, then you’ll want to check your DNS settings.

    1. Open the Start menu, type “Control Panel” and then click on the app.Start menu
    2. Next, navigate to Network and Internet.Control Panel Menu
    3. Now, click on Network and Sharing Center and select Change adapter settings in the left pane.How to fix ERR_NETWORK_CHANGED errors in Windows-2
    4. Right click your network adapter and select Properties.
    5. Highlight Internet Protocol Version 4 and click the Properties button in the window.
    6. If Obtain DNS server address automatically is selected click the other button, ‘Use the following DNS…’, Add 8.8.8.8 and 8.8.4.4 as the servers.
    7. Click OK and retest. If you had DNS servers specified, change the setting to automatic, click OK and retest.

  5. Fix- ERR_NETWORK_CHANGED Chrome issue on Windows 10
  6. My solution is to reset DNS server IP address.

    ERR_NETWORK_CHANGED chrome is one of the nagging issues that hinder the smooth internet browsing on Windows 10 PC. In general, this problem occurs on the Google Chrome web browser owing to incorrect DNS settings..

  7. Fix ERR_NETWORK_CHANGED in Chrome
  8. If you are getting error ERR_NETWORK_CHANGED on Google Chrome in Windows 10, it means your internet connection or browser is preventing you from loading the page. The error message clearly indicates that Chrome is Unable to access the network and hence the error. There are various issues which can lead to this error, so there are different methods, and you must try all of them as what might work for one user might not work for another..

  9. This is a paragraph.

  10. This is a paragraph.

  11. This is a paragraph.

  12. This is a paragraph.

  13. This is a paragraph.

  14. This is a paragraph.

  15. This is a paragraph.

  16. This is a paragraph.

  17. This is a paragraph.

  18. This is a paragraph.

  19. This is a paragraph.

  20. This is a paragraph.

  21. This is a paragraph.

  22. This is a paragraph.