|
Quote: Grrrrr!
As I indicated in my post "I'm a newbie" and I have no idea where to start.
Quote: Application type: Console, Windows Forms, WPF, ASP.NET, MVC, ... ? Each draws differently, so yeah, it matters.
I don't know what to search, Console, Windows Forms, WPF, ASP.NET, MVC, ... ?
modified 18-Jul-21 14:29pm.
|
|
|
|
|
|
Thank you, Dave. That's what I was looking for.
|
|
|
|
|
Ken12133 wrote: don't what to search, Console, Windows Forms, WPF, ASP.NET, MVC
What Dave means is that we have no idea what environment you are writing your code for: and since that will have a massive impact on what type of controls you can use it's a very relevant question - and one that only you can possibly answer!
So ... are you writing a Console app (text only, runs in a CMD prompt: hold the WINKEY and press R, then type "cmd" and press enter. If it looks like that, it's a Console app)?
Or are you using a GUI (buttons, textboxes, labels, icons, menus. If it looks like Visual Studio, it's a GUI app)?
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
In Visual Studio, it's a GUI app.
|
|
|
|
|
OK, good start.
So ... is it going to run directly on a desktop / lappie, a mobile device, or in a browser?
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Ok, I'm starting to understand how a question should be structured.
|
|
|
|
|
Perhaps a start could be :
I'm using Visual Studio xxxx
I'm developing something with Forms
My favourite programming language is C#
And ...
When using the search-function only of this Forum you will get some examples for Gauge-Controls - ready to use ... 
|
|
|
|
|
Ralf,
Thank you for the suggestion.
Ken
|
|
|
|
|
Excellent!
Just remember that we can't see your screen, can't access your HDD, and can't read your mind - we only get exactly what you type to work with.
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Hi,
I want to create a layout like this:
https://www.dropbox.com/s/zh3zfpzxjrl0ukg/Capture.PNG?dl=0[^]
I want a big space at top for scroll view and a narrow space at bottom for three buttons.
I tried this XAML:
<StackLayout Margin="5">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="10*"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<ScrollView>
<StackLayout x:Name="MyStack">
</StackLayout>
</ScrollView>
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<Button Grid.Row="1" Grid.Column="0" Text="Add New Item" Clicked="Button_Clicked" />
<Button Grid.Row="1" Grid.Column="1" Text="Send" />
<Button Grid.Row="1" Grid.Column="2" Text="Reset" />
</Grid>
</Grid>
</StackLayout>
But it is not my desired layout.
Please help me.
modified 15-Jul-21 13:46pm.
|
|
|
|
|
Looks like XAML. What did Xamarin say?
Bastard Programmer from Hell
"If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.
|
|
|
|
|
Your top row is limited in height 10* . Swap the definition around so the top row gets the *
Never underestimate the power of human stupidity -
RAH
I'm old. I know stuff - JSOP
|
|
|
|
|
No, It gets the problem worse.
|
|
|
|
|
Mycroft Holmes,
Who are you to imply someone is stupid? Because you spend your life on these types of sites doesn't give you license to belittle people.
|
|
|
|
|
If you mean his "Never underestimate the power of human stupidity" message, it's not directed at anyone - it's in the signature area, so it's a "generic message" applied to all posted messages, just as the three lines below this one are.
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
It is a quote from a book by Robert Heinlein (RAH). If you note the line drawn above the signature, it defines the start of the signature area.
Never underestimate the power of human stupidity -
RAH
I'm old. I know stuff - JSOP
|
|
|
|
|
In WPF, you'd use a DockPanel . As far as I can see, that doesn't exist for Xamarin; but the FlexLayout[^] looks like it should work.
<FlexLayout Direction="Column">
<ScrollView FlexLayout.Grow="1">
...
</ScrollView>
<Grid>
...
</Grid>
</FlexLayout>
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
You don't need an outter StackLayout.
Top rows should be * and Auto, in that order.
The button Grid only has 1 row, and you let it default to the first row of the top Grid.
It was only in wine that he laid down no limit for himself, but he did not allow himself to be confused by it.
― Confucian Analects: Rules of Confucius about his food
|
|
|
|
|
Hi Everyone
I need to open and read this file with c#.net and this is emergency for me, unfortunately I have never worked with this type of file.
the file is at this address:
20200304.ZIP [LINK REMOVED - OriginalGriff]
could you please help me.
Thank you all.
|
|
|
|
|
I removed the link as we have no idea what the file contains, and do not wish to find out.
Posting files to dodgy upload sites and assuming it will be downloaded is not a good idea.
That's a ZIP file: which just means it's a compressed archive, like a "portable folder".
The .NET framework contains classes for opening, reading, and writing them: ZipFile Class (System.IO.Compression) | Microsoft Docs[^] so that should be the first place you start reading.
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
No, No .. The I dont want to Opening Zip File I want to open a Tag file , it is dataflex,
Sorry i didn't know it is againts the rule of your web site. but I cant upload file here
what should I do?
|
|
|
|
|
And you didn't think it important to mention that in the first place? In an "emergency"? Must be the panic. Ok, we'll let it go this time.
It was only in wine that he laid down no limit for himself, but he did not allow himself to be confused by it.
― Confucian Analects: Rules of Confucius about his food
|
|
|
|
|
So this is a repost of your previous thread?
.Tag File - C# Discussion Boards[^]
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
There's no real need to upload the file anywhere, unless you are paying someone to take a look at it and see if they can parse it.
The difficult we do right away...
...the impossible takes slightly longer.
|
|
|
|