Ejemplo n.º 1
0
 private void txt_Branch_website_KeyDown(object sender, KeyEventArgs e)
 {
     if (e.KeyCode == Keys.Enter)
     {
         ChkDefault.Focus();
     }
 }
        void ReleaseDesignerOutlets()
        {
            if (TxtName != null)
            {
                TxtName.Dispose();
                TxtName = null;
            }

            if (TxtEndpoint != null)
            {
                TxtEndpoint.Dispose();
                TxtEndpoint = null;
            }

            if (TxtBinding != null)
            {
                TxtBinding.Dispose();
                TxtBinding = null;
            }

            if (TxtIndex != null)
            {
                TxtIndex.Dispose();
                TxtIndex = null;
            }

            if (ChkDefault != null)
            {
                ChkDefault.Dispose();
                ChkDefault = null;
            }

            if (BtnAdd != null)
            {
                BtnAdd.Dispose();
                BtnAdd = null;
            }

            if (BtnClose != null)
            {
                BtnClose.Dispose();
                BtnClose = null;
            }
        }