How to create calculator in C# Windows Forms Application

Поделиться
HTML-код
  • Опубликовано: 23 ноя 2024
  • НаукаНаука

Комментарии • 9

  • @kadevtips
    @kadevtips  5 месяцев назад +1

    Part 2: Enhanced Version - Check out this video -> ruclips.net/video/C83NxWJCttg/видео.html

  • @oluwatobiadeniji477
    @oluwatobiadeniji477 Год назад +1

    what if i put more than two numbers in the textBox
    like 3+4+3. i think your code only works for two numbers only.

    • @kadevtips
      @kadevtips  7 месяцев назад +1

      Hi, Thank you so much for your feedback! I truly value your input. For an improved version of the C# calculator code that now accepts multiple numbers, feel free to check out the link below:
      ruclips.net/video/C83NxWJCttg/видео.html
      Once again, thank you!

  • @muhammadabdulraheem2272
    @muhammadabdulraheem2272 Месяц назад +2

    thanks

    • @kadevtips
      @kadevtips  Месяц назад

      Glad you found it helpful! Thank you :)

  • @Private_Engineering
    @Private_Engineering 5 месяцев назад

    Hello, could you please tell in which directory is the app? Can we copy the app to another computer? What should be done to copy the app? In another comp, what is required to run the app?

    • @kadevtips
      @kadevtips  5 месяцев назад

      Hi, yes, you can copy or transfer your codes/projects to another computer. You can find your projects at this path, which is the default location where all projects are saved:
      Documents > Visual Studio 2015 (or your Visual Studio version) > C#_Calculator (Your Project)
      Just copy the entire folder of your project to another computer, and that's it. To run it, look for the .sln file in your project folder.
      Thank you.

  • @Vegas-z5n
    @Vegas-z5n Год назад +2

    if (operationPending)
    {
    double secondNumber = double.Parse(currentInput);
    switch (operation)
    {
    // same code
    }
    textBox1.Text = result.ToString();
    currentInput = textBox1.Text; //

    • @kadevtips
      @kadevtips  Год назад

      Hello, thanks for this. What I showed here in the video is just an example, you can customize it with another approach that is better for you. 😊