Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Vb.net] Closing Event Example Ok or Cancel [SRC] [Simple]
#1
Design
Code:
Inherits System.Windows.Forms.Form

#Region " Windows Form Designer generated code "

    Public Sub New()
        MyBase.New()

        'This call is required by the Windows Form Designer.
        InitializeComponent()

        'Add any initialization after the InitializeComponent() call

    End Sub

    'Form overrides dispose to clean up the component list.
    Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean)
        If disposing Then
            If Not (components Is Nothing) Then
                components.Dispose()
            End If
        End If
        MyBase.Dispose(disposing)
    End Sub

    'Required by the Windows Form Designer
    Private components As System.ComponentModel.IContainer

    'NOTE: The following procedure is required by the Windows Form Designer
    'It can be modified using the Windows Form Designer.  
    'Do not modify it using the code editor.
    <System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
        '
        'MDIParent
        '
        Me.AutoScaleBaseSize = New System.Drawing.Size(5, 13)
        Me.ClientSize = New System.Drawing.Size(292, 273)
        Me.IsMdiContainer = True
        Me.Name = "MDIParent"
        Me.Text = "MDI Parent"

    End Sub

#End Region

Project Source
Code:
Private Sub MDIParent_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        Dim objChild As New frmChild1()
        objChild.MdiParent = Me
        objChild.Show()
    End Sub
[Image: 0b0033.gif]
Reply
#2
Where are you copying these from? And if they aren't your own code provided some reference or credit to the one that did
Reply
#3
(07-08-2011, 08:54 PM)Ace Wrote: Where are you copying these from? And if they aren't your own code provided some reference or credit to the one that did

if you find that anywhere that i coping then i will pay you .

Dont think that all many same you coping and pasting
[Image: 0b0033.gif]
Reply
#4
(07-08-2011, 08:58 PM)reloaded Wrote: if you find that anywhere that i coping then i will pay you .

Dont think that all many same you coping and pasting

I didn't understand any of that...

How about this though? (just what I found): http://www.pcreview.co.uk/forums/why-doe...23867.html
Reply
#5
(07-08-2011, 09:04 PM)Ace Wrote: I didn't understand any of that...

How about this though? (just what I found): http://www.pcreview.co.uk/forums/why-doe...23867.html
Please leave my thread do not post reply again .

Your link you see yourself that match or not with my source .

If you have a good skill on vb then see your own way . i didnt copy it anywhere also its not credits by me . i am not a kid that giving credits for this simple source , Its just beginers coding.
[Image: 0b0033.gif]
Reply
#6
I just looked at the comment and capitalization, but the comment matches exactly. Good that you're posting this stuff, but without pictures, or further explanation I don't see it helping beginners.
Reply
#7
You need the project ? just post reply i will give it now with screenshot
[Image: 0b0033.gif]
Reply
#8
No, it's fine. I'm just saying that if you wanted to improve on these sources you've generously posted, you should include more comments in the code, or a detailed description on how the code works. For things like your color source you could include screenshots of the form even?

I don't need the source though, I understand how to do most of this stuff. I'll leave your threads alone now though Superman
Reply
#9
Hei mate thanks very sorry for that behave .

Next time i always will give screenshot . Very sorry Sad
[Image: 0b0033.gif]
Reply
#10
I wasn't trying to degrade your sources, just giving some advisers on how you could improve them, and get more recognition out of them Smile
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  [VB.NET] Animated Form Extend [SRC] Fragma 6 5,289 10-10-2013, 12:18 PM
Last Post: Saket
  [VB.Net][SRC] YouTube Bot HF~Legend 5 3,386 11-25-2012, 05:54 AM
Last Post: Ixam
  [VB.Net] Simple captcha class [Commented][Noob/Friendly] The-One 18 8,651 09-08-2012, 04:20 PM
Last Post: spesificrelax
  [VB.Net][SRC]ProgressBar Color HF~Legend 14 6,925 09-08-2012, 04:18 PM
Last Post: spesificrelax
  [VB.NET] Basic Reverse Connection RAT [SRC] hasam 1 2,868 02-01-2012, 03:10 PM
Last Post: AceInfinity

Forum Jump:


Users browsing this thread: 1 Guest(s)