Árpád Szabó

Árpád Szabó

  • NA
  • 10
  • 442

Looking for help with creating my first C# MDI form software

Nov 13 2018 2:17 AM

Hi! I know it's long and not so specific, so excuse me for that, but I really need help. I'm very new to coding, I'm attending a software development course which is not really what I expected it to be, we don't really learn anything, the just give us some links where we can learn from for ourselves, and we are doing some exercises like creating an sql database and stuff. But never mind, I want to learn how to code and I want to pass the course! One of our main tasks is to create a software as a "thesis", which we should send in until January, on top of having an exam in the end. I already have the idea for the software, and I already started "putting it together", but of course I had very little advancement and I'm lost in general. Here's the thing:

What I'm trying to create in Visual C# as a form application, is a Messier catalog software (because I like astronomy), which should be an MDI form application. It will have a main window with a welcome screen with a little introduction to the software. It will have a few menus (which should be separate sub-forms) like Browse, Search, Quiz (a little quiz based on 5 questions), About. On top of these, there will be a Main menu option which will take back the user to the welcome page, and a Quit, which will close the program. Here is a picture attached (it's Hungarian but just so you get the idea): https://imgur.com/a/JIXGxM6

So here are my problems, concerns etc:

  1. I would like to have all the sub-windows open up fixed in the main window with full size, so it "won't feel like a form application", but I can't seem to connect the sub forms to the main form with MDI, even though I've checked out some online tutorials. How should I do that?

  2. The catalog contains 110 objects. I would like all these objects to have a separate sheet with their relevant data like size, magnitude, name, constellation, type, etc + a picture of them. How should I do this? Do I need 110 forms for each object, or only 1 and the data should be pulled from a database? The teacher said I should use a text file to store the data. I don't really understand what should I do, on top of having the pictures stored locally of course. What would be the best way, and how should I do it?

  3. The browse page will list all the objects in the catalog (with name and type for instance), which are clickable and take the user to the selected object's sheet. I guess I can handle this with some looking after around the internet, but of course, if you have any suggestions, please share with me.

  4. The search page will have a few options to filter the searches + a keyword search. I would like it to be able to handle searches based on a keyword or two, based on filters like type, or constellation, or on both. Again, suggestions are welcome if you have any!

  5. Quiz. 5 questions, true or false style, with a hit n miss rate at the end, and a restart button. Guess this shouldn't be that hard, but of course, I'm afraid of this as well.

Basically, that's all I guess. I'm really looking for advice, tips, tricks, whatever, because if I have to scale my C#, and in general coding knowledge from 1 to 10, it would be 1... I'm mostly afraid of writing code, because I have very little knowledge (I know what are loops, methods, etc, and I mostly know the syntax, but I'm pretty blind after that). But I want to learn! Thank you very much in advance if you can help me out!


Answers (6)