SlideShare a Scribd company logo
1 of 1
{<br />    public partial class Form1 : Form<br />    {<br />        public Form1()<br />        {<br />            InitializeComponent();<br />        }<br />        CNaturales num = new CNaturales();<br />        CCadenas pal = new CCadenas();<br />        private void button1_Click(object sender, EventArgs e)<br />        {<br />            num.Pnumero= Convert.ToInt16(txt1.Text);<br />            int n = num.SumarDigitos();<br />            lb1.Text = Convert.ToString(n);<br />        }<br />        private void button2_Click(object sender, EventArgs e)<br />        {<br />            num.Pnumero = Convert.ToInt16(txt1.Text);<br />            int n = num.ContarDigitos();<br />            lb2.Text = Convert.ToString(n);<br />        }<br />        private void button3_Click(object sender, EventArgs e)<br />        {<br />            pal.Ppalabra = txt1.Text;<br />            string y = txt2.Text;<br />            string n = pal.Concatenar(y);<br />            lb3.Text = Convert.ToString(n);<br />        }<br />        private void button4_Click(object sender, EventArgs e)<br />        {<br />            pal.Ppalabra = txt1.Text;<br />            char y = Convert.ToChar(txt2.Text);<br />            int n = pal.Repeticiones(y);<br />            lb4.Text = Convert.ToString(n);<br />        }<br />        private void button5_Click(object sender, EventArgs e)<br />        {<br />            pal.Ppalabra = txt1.Text;<br />            string n = pal.EliminarPrimera();<br />            lb5.Text = Convert.ToString(n);<br />        }<br />        private void button6_Click(object sender, EventArgs e)<br />        {<br />            pal.Ppalabra = txt1.Text;<br />            pal.Pdimension = txt1.Text.Length;<br />            int i =Convert.ToInt32(txt2.Text);<br />            string n = pal.EliminarIesimo(i);<br />            lb6.Text = n;<br />        }<br />    }<br />

More Related Content

Viewers also liked (12)

MWDN_General brochure
MWDN_General brochureMWDN_General brochure
MWDN_General brochure
 
Addie video
Addie videoAddie video
Addie video
 
Conheça o grupo global
Conheça o grupo globalConheça o grupo global
Conheça o grupo global
 
Estadísticas económicas junio 2016
Estadísticas económicas junio 2016Estadísticas económicas junio 2016
Estadísticas económicas junio 2016
 
António costa da silva Aljustrel Abril 2014
António costa da silva Aljustrel Abril 2014António costa da silva Aljustrel Abril 2014
António costa da silva Aljustrel Abril 2014
 
PI-040_Arbeitsmarktreport.pdf
PI-040_Arbeitsmarktreport.pdfPI-040_Arbeitsmarktreport.pdf
PI-040_Arbeitsmarktreport.pdf
 
Bildungssystem in Finnland
Bildungssystem in FinnlandBildungssystem in Finnland
Bildungssystem in Finnland
 
Matemática
Matemática Matemática
Matemática
 
SIGNOS VITALES
SIGNOS VITALESSIGNOS VITALES
SIGNOS VITALES
 
pi944.pdf
pi944.pdfpi944.pdf
pi944.pdf
 
06-10 Planspiel Börse der Sparkassen.pdf
06-10 Planspiel Börse der Sparkassen.pdf06-10 Planspiel Börse der Sparkassen.pdf
06-10 Planspiel Börse der Sparkassen.pdf
 
PI MBVD_EFA_2011.pdf
PI MBVD_EFA_2011.pdfPI MBVD_EFA_2011.pdf
PI MBVD_EFA_2011.pdf
 

More from onlyhenry

More from onlyhenry (7)

Matematica discreta recurcividad
Matematica discreta recurcividadMatematica discreta recurcividad
Matematica discreta recurcividad
 
Notas
NotasNotas
Notas
 
Procesuales np parcialnp2nfextras
Procesuales np parcialnp2nfextrasProcesuales np parcialnp2nfextras
Procesuales np parcialnp2nfextras
 
Public string sacar
Public string sacarPublic string sacar
Public string sacar
 
Public string sacar
Public string sacarPublic string sacar
Public string sacar
 
Public class c
Public class cPublic class c
Public class c
 
Unit unit1
Unit unit1Unit unit1
Unit unit1
 

Recently uploaded

“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf
“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf
“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf
Muhammad Subhan
 
Tales from a Passkey Provider Progress from Awareness to Implementation.pptx
Tales from a Passkey Provider  Progress from Awareness to Implementation.pptxTales from a Passkey Provider  Progress from Awareness to Implementation.pptx
Tales from a Passkey Provider Progress from Awareness to Implementation.pptx
FIDO Alliance
 

Recently uploaded (20)

How to Check GPS Location with a Live Tracker in Pakistan
How to Check GPS Location with a Live Tracker in PakistanHow to Check GPS Location with a Live Tracker in Pakistan
How to Check GPS Location with a Live Tracker in Pakistan
 
2024 May Patch Tuesday
2024 May Patch Tuesday2024 May Patch Tuesday
2024 May Patch Tuesday
 
Google I/O Extended 2024 Warsaw
Google I/O Extended 2024 WarsawGoogle I/O Extended 2024 Warsaw
Google I/O Extended 2024 Warsaw
 
Design and Development of a Provenance Capture Platform for Data Science
Design and Development of a Provenance Capture Platform for Data ScienceDesign and Development of a Provenance Capture Platform for Data Science
Design and Development of a Provenance Capture Platform for Data Science
 
Easier, Faster, and More Powerful – Notes Document Properties Reimagined
Easier, Faster, and More Powerful – Notes Document Properties ReimaginedEasier, Faster, and More Powerful – Notes Document Properties Reimagined
Easier, Faster, and More Powerful – Notes Document Properties Reimagined
 
Continuing Bonds Through AI: A Hermeneutic Reflection on Thanabots
Continuing Bonds Through AI: A Hermeneutic Reflection on ThanabotsContinuing Bonds Through AI: A Hermeneutic Reflection on Thanabots
Continuing Bonds Through AI: A Hermeneutic Reflection on Thanabots
 
Event-Driven Architecture Masterclass: Challenges in Stream Processing
Event-Driven Architecture Masterclass: Challenges in Stream ProcessingEvent-Driven Architecture Masterclass: Challenges in Stream Processing
Event-Driven Architecture Masterclass: Challenges in Stream Processing
 
“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf
“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf
“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf
 
Oauth 2.0 Introduction and Flows with MuleSoft
Oauth 2.0 Introduction and Flows with MuleSoftOauth 2.0 Introduction and Flows with MuleSoft
Oauth 2.0 Introduction and Flows with MuleSoft
 
The Zero-ETL Approach: Enhancing Data Agility and Insight
The Zero-ETL Approach: Enhancing Data Agility and InsightThe Zero-ETL Approach: Enhancing Data Agility and Insight
The Zero-ETL Approach: Enhancing Data Agility and Insight
 
Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...
Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...
Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...
 
Generative AI Use Cases and Applications.pdf
Generative AI Use Cases and Applications.pdfGenerative AI Use Cases and Applications.pdf
Generative AI Use Cases and Applications.pdf
 
Top 10 CodeIgniter Development Companies
Top 10 CodeIgniter Development CompaniesTop 10 CodeIgniter Development Companies
Top 10 CodeIgniter Development Companies
 
How to Check CNIC Information Online with Pakdata cf
How to Check CNIC Information Online with Pakdata cfHow to Check CNIC Information Online with Pakdata cf
How to Check CNIC Information Online with Pakdata cf
 
الأمن السيبراني - ما لا يسع للمستخدم جهله
الأمن السيبراني - ما لا يسع للمستخدم جهلهالأمن السيبراني - ما لا يسع للمستخدم جهله
الأمن السيبراني - ما لا يسع للمستخدم جهله
 
Tales from a Passkey Provider Progress from Awareness to Implementation.pptx
Tales from a Passkey Provider  Progress from Awareness to Implementation.pptxTales from a Passkey Provider  Progress from Awareness to Implementation.pptx
Tales from a Passkey Provider Progress from Awareness to Implementation.pptx
 
TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...
TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...
TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...
 
AI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by AnitarajAI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by Anitaraj
 
Design Guidelines for Passkeys 2024.pptx
Design Guidelines for Passkeys 2024.pptxDesign Guidelines for Passkeys 2024.pptx
Design Guidelines for Passkeys 2024.pptx
 
Vector Search @ sw2con for slideshare.pptx
Vector Search @ sw2con for slideshare.pptxVector Search @ sw2con for slideshare.pptx
Vector Search @ sw2con for slideshare.pptx
 

Llamada

  • 1. {<br /> public partial class Form1 : Form<br /> {<br /> public Form1()<br /> {<br /> InitializeComponent();<br /> }<br /> CNaturales num = new CNaturales();<br /> CCadenas pal = new CCadenas();<br /> private void button1_Click(object sender, EventArgs e)<br /> {<br /> num.Pnumero= Convert.ToInt16(txt1.Text);<br /> int n = num.SumarDigitos();<br /> lb1.Text = Convert.ToString(n);<br /> }<br /> private void button2_Click(object sender, EventArgs e)<br /> {<br /> num.Pnumero = Convert.ToInt16(txt1.Text);<br /> int n = num.ContarDigitos();<br /> lb2.Text = Convert.ToString(n);<br /> }<br /> private void button3_Click(object sender, EventArgs e)<br /> {<br /> pal.Ppalabra = txt1.Text;<br /> string y = txt2.Text;<br /> string n = pal.Concatenar(y);<br /> lb3.Text = Convert.ToString(n);<br /> }<br /> private void button4_Click(object sender, EventArgs e)<br /> {<br /> pal.Ppalabra = txt1.Text;<br /> char y = Convert.ToChar(txt2.Text);<br /> int n = pal.Repeticiones(y);<br /> lb4.Text = Convert.ToString(n);<br /> }<br /> private void button5_Click(object sender, EventArgs e)<br /> {<br /> pal.Ppalabra = txt1.Text;<br /> string n = pal.EliminarPrimera();<br /> lb5.Text = Convert.ToString(n);<br /> }<br /> private void button6_Click(object sender, EventArgs e)<br /> {<br /> pal.Ppalabra = txt1.Text;<br /> pal.Pdimension = txt1.Text.Length;<br /> int i =Convert.ToInt32(txt2.Text);<br /> string n = pal.EliminarIesimo(i);<br /> lb6.Text = n;<br /> }<br /> }<br />