SlideShare una empresa de Scribd logo
1 de 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 />

Más contenido relacionado

Destacado

2010 02 26 C# E Vb Language Evolution
2010 02 26   C# E Vb Language Evolution2010 02 26   C# E Vb Language Evolution
2010 02 26 C# E Vb Language EvolutionMarco Parenzan
 
IEEE 2014 C# Projects
IEEE 2014 C# ProjectsIEEE 2014 C# Projects
IEEE 2014 C# ProjectsVijay Karan
 
Coursera LVJ7JPVWAZA6
Coursera LVJ7JPVWAZA6Coursera LVJ7JPVWAZA6
Coursera LVJ7JPVWAZA6Ryan Monahan
 
Shen Baseball_Awards Banquet Program_2016_72px
Shen Baseball_Awards Banquet Program_2016_72pxShen Baseball_Awards Banquet Program_2016_72px
Shen Baseball_Awards Banquet Program_2016_72pxDavid Vumbaco
 
Axis White Paper - Working with Group Purchasing Organizations
Axis White Paper - Working with Group Purchasing OrganizationsAxis White Paper - Working with Group Purchasing Organizations
Axis White Paper - Working with Group Purchasing OrganizationsJohn Krebs
 
pos-simple-security-solutions-checklist
pos-simple-security-solutions-checklistpos-simple-security-solutions-checklist
pos-simple-security-solutions-checklistAnne Gray
 
final file booklet 051416
final file booklet 051416final file booklet 051416
final file booklet 051416Marissa Finney
 
Resumen expocicion via de administracion optica
Resumen expocicion via de administracion opticaResumen expocicion via de administracion optica
Resumen expocicion via de administracion opticaRUSTICA
 

Destacado (15)

Parlem dètica URL
Parlem dètica URLParlem dètica URL
Parlem dètica URL
 
2010 02 26 C# E Vb Language Evolution
2010 02 26   C# E Vb Language Evolution2010 02 26   C# E Vb Language Evolution
2010 02 26 C# E Vb Language Evolution
 
IEEE 2014 C# Projects
IEEE 2014 C# ProjectsIEEE 2014 C# Projects
IEEE 2014 C# Projects
 
Coursera LVJ7JPVWAZA6
Coursera LVJ7JPVWAZA6Coursera LVJ7JPVWAZA6
Coursera LVJ7JPVWAZA6
 
Mausuah Yusufiyah ms word rmi project syndication - www.rmi-nu.or.id
Mausuah Yusufiyah ms word   rmi project syndication - www.rmi-nu.or.idMausuah Yusufiyah ms word   rmi project syndication - www.rmi-nu.or.id
Mausuah Yusufiyah ms word rmi project syndication - www.rmi-nu.or.id
 
Shen Baseball_Awards Banquet Program_2016_72px
Shen Baseball_Awards Banquet Program_2016_72pxShen Baseball_Awards Banquet Program_2016_72px
Shen Baseball_Awards Banquet Program_2016_72px
 
Axis White Paper - Working with Group Purchasing Organizations
Axis White Paper - Working with Group Purchasing OrganizationsAxis White Paper - Working with Group Purchasing Organizations
Axis White Paper - Working with Group Purchasing Organizations
 
Sociedade eIndividuo
Sociedade eIndividuoSociedade eIndividuo
Sociedade eIndividuo
 
pos-simple-security-solutions-checklist
pos-simple-security-solutions-checklistpos-simple-security-solutions-checklist
pos-simple-security-solutions-checklist
 
final file booklet 051416
final file booklet 051416final file booklet 051416
final file booklet 051416
 
OPM3 Services
OPM3 ServicesOPM3 Services
OPM3 Services
 
Kaplan university cm 310
Kaplan university cm 310Kaplan university cm 310
Kaplan university cm 310
 
Resumen expocicion via de administracion optica
Resumen expocicion via de administracion opticaResumen expocicion via de administracion optica
Resumen expocicion via de administracion optica
 
Инфляция
ИнфляцияИнфляция
Инфляция
 
Alignement
AlignementAlignement
Alignement
 

Más de onlyhenry

Matematica discreta recurcividad
Matematica discreta recurcividadMatematica discreta recurcividad
Matematica discreta recurcividadonlyhenry
 
Procesuales np parcialnp2nfextras
Procesuales np parcialnp2nfextrasProcesuales np parcialnp2nfextras
Procesuales np parcialnp2nfextrasonlyhenry
 
Public class c
Public class cPublic class c
Public class conlyhenry
 

Más de onlyhenry (6)

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
 
Llamada
LlamadaLlamada
Llamada
 
Public class c
Public class cPublic class c
Public class c
 
Unit unit1
Unit unit1Unit unit1
Unit unit1
 

Último

Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 

Último (20)

Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 

Public string sacar

  • 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 />