You are viewing our Forum Archives. To view or take place in current topics click here.
My first project on C# visual studio 2010 feedback ?
Posted:

My first project on C# visual studio 2010 feedback ?Posted:

I_Am_Superman
  • TTG Senior
Status: Offline
Joined: Dec 15, 201013Year Member
Posts: 1,472
Reputation Power: 82
Status: Offline
Joined: Dec 15, 201013Year Member
Posts: 1,472
Reputation Power: 82
Ok yesterday I decided to have a go at coding and this is my first little program, it's not very good but i want some feedback
Pictures
[ Register or Signin to view external links. ] [ Register or Signin to view external links. ]


Code
Public Class Form1
    Inherits DevComponents.DotNetBar.Office2007Form
    Private Sub Form1_Load(sender As System.Object, e As System.EventArgs) Handles MyBase.Load

    End Sub

    Private Sub ButtonX1_Click(sender As System.Object, e As System.EventArgs) Handles ButtonX1.Click
        MessageBox.Show("Credit to Lot for Making this simple browser")
    End Sub

    Private Sub WebBrowser_Click(sender As System.Object, e As System.EventArgs) Handles WebBrowser.Click

    End Sub

    Private Sub ButtonX7_Click(sender As System.Object, e As System.EventArgs) Handles ButtonX7.Click
        WebBrowser1.Navigate(TextBoxX1.Text)
    End Sub

    Private Sub TextBoxX1_TextChanged(sender As System.Object, e As System.EventArgs) Handles TextBoxX1.TextChanged

    End Sub

    Private Sub ButtonX2_Click(sender As System.Object, e As System.EventArgs) Handles ButtonX2.Click
        WebBrowser1.Stop()
    End Sub

    Private Sub ButtonX3_Click(sender As System.Object, e As System.EventArgs) Handles ButtonX3.Click
        WebBrowser1.Refresh()
    End Sub

    Private Sub ButtonX4_Click(sender As System.Object, e As System.EventArgs) Handles ButtonX4.Click
        WebBrowser1.GoForward()
    End Sub

    Private Sub ButtonX5_Click(sender As System.Object, e As System.EventArgs) Handles ButtonX5.Click
        WebBrowser1.GoBack()
    End Sub

    Private Sub Slider1_ValueChanged(sender As System.Object, e As System.EventArgs)

    End Sub

    Private Sub ButtonX6_Click(sender As System.Object, e As System.EventArgs) Handles ButtonX6.Click
        WebBrowser1.Navigate("www.thetechgame.com/Forums.html")
    End Sub

    Private Sub ButtonX8_Click(sender As System.Object, e As System.EventArgs) Handles ButtonX8.Click
        WebBrowser1.Navigate("www.thetechgame.com/Members_Shout.html")
    End Sub

    Private Sub ButtonX9_Click(sender As System.Object, e As System.EventArgs) Handles ButtonX9.Click
        WebBrowser1.Navigate("www.thetechgame.com/Account.html")
    End Sub

    Private Sub ButtonX10_Click(sender As System.Object, e As System.EventArgs) Handles ButtonX10.Click
        WebBrowser1.Navigate("www.thetechgame.com")
    End Sub

    Private Sub RibbonTabItem1_Click(sender As System.Object, e As System.EventArgs) Handles RibbonTabItem1.Click

    End Sub

    Private Sub RibbonTabItem2_Click(sender As System.Object, e As System.EventArgs)

    End Sub

    Private Sub ButtonX11_Click(sender As System.Object, e As System.EventArgs) Handles ButtonX11.Click
        Form2.show()
    End Sub
End Class


Virus scan
[ Register or Signin to view external links. ]

Download
[ Register or Signin to view external links. ]

Note: There is an error just based on TTG where the tabs seem to go down (you will notice if you try it)

Please can i have some feedback and all the "1337" coders please don't say ohhh it's rubbish and it's only one line codes, all i want is feedback and maybe a couple of links to tutorials
#2. Posted:
Z61
  • TTG Fanatic
Status: Offline
Joined: Apr 16, 201014Year Member
Posts: 4,309
Reputation Power: 179
Status: Offline
Joined: Apr 16, 201014Year Member
Posts: 4,309
Reputation Power: 179
its good fora first I guess, though its the same coding as vb just a 1% harder syntax. and the design is bad.
#3. Posted:
I_Am_Superman
  • TTG Senior
Status: Offline
Joined: Dec 15, 201013Year Member
Posts: 1,472
Reputation Power: 82
Status: Offline
Joined: Dec 15, 201013Year Member
Posts: 1,472
Reputation Power: 82
Z61 wrote its good fora first I guess, though its the same coding as vb just a 1% harder syntax. and the design is bad.


Well atleast you didn't be an idiot and go but it's just one line of coding it sucks, thanks
#4. Posted:
Z61
  • TTG Fanatic
Status: Offline
Joined: Apr 16, 201014Year Member
Posts: 4,309
Reputation Power: 179
Status: Offline
Joined: Apr 16, 201014Year Member
Posts: 4,309
Reputation Power: 179
Lot wrote
Z61 wrote its good fora first I guess, though its the same coding as vb just a 1% harder syntax. and the design is bad.


Well atleast you didn't be an idiot and go but it's just one line of coding it sucks, thanks

Yea, you also got DNB working, I can't do that in C# for the life of me.
#5. Posted:
I_Am_Superman
  • TTG Senior
Status: Offline
Joined: Dec 15, 201013Year Member
Posts: 1,472
Reputation Power: 82
Status: Offline
Joined: Dec 15, 201013Year Member
Posts: 1,472
Reputation Power: 82
Z61 wrote
Lot wrote
Z61 wrote its good fora first I guess, though its the same coding as vb just a 1% harder syntax. and the design is bad.


Well atleast you didn't be an idiot and go but it's just one line of coding it sucks, thanks

Yea, you also got DNB working, I can't do that in C# for the life of me.


Yeah I know but the DotNetBar doesn't look neat as the form is there also which makes it have two control things at the top :/ So i can press any X which is a benefit i suppose
Jump to:
You are viewing our Forum Archives. To view or take place in current topics click here.