kod sonuna derken hangi kodun sonuna veya en sona mı tüm kodların altına mı53. satır içine parantezi kapatmayı unutmuşsun, ek olarak kod sonuna noktalı virgül koyman lazım.
Kod sonuna derken hangi kodun sonuna veya en sona mı tüm kodların altına mı?
void button5...kod sonuna derken hangi kodun sonuna veya en sona mı tüm kodların altına mı
/*Hocam siz komple kodu atın. Ben düzelteyim.
/*
* Created by SharpDevelop.
* User: user
* Date: 30.04.2021
* Time: 22:43
*
* To change this template use Tools | Options | Coding | Edit Standard Headers.
*/
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Windows.Forms;
namespace MainForm
{
/// <summary>
/// Description of MainForm.
/// </summary>
public partial class uygulama : Form{
public uygulama(){
//
// The InitializeComponent() call is required for Windows Forms designer support.
//
InitializeComponent();
//
// TODO: Add constructor code after the InitializeComponent() call.
//
}
void buton1_click(object sender, EventArgs e){
string metin = maskedTextBox1.Text;
listBox1.Items.Add(metin);
}
void buton2_click(object sender, EventArgs e){ }
void buton3_click(object sender, EventArgs e){ }
void buton4_click(object sender, EventArgs e){ }
void buton5_click(object sender, EventArgs e){ }
void buton6_click(object sender, EventArgs e){ }
}
}
çok teşekkür ederimBuyurun.
C#:/* * Created by SharpDevelop. * User: user * Date: 30.04.2021 * Time: 22:43 * * To change this template use Tools | Options | Coding | Edit Standard Headers. */ using System; using System.Collections.Generic; using System.Drawing; using System.Windows.Forms; namespace MainForm { /// <summary> /// Description of MainForm. /// </summary> public partial class uygulama : Form{ public uygulama(){ // // The InitializeComponent() call is required for Windows Forms designer support. // InitializeComponent(); // // TODO: Add constructor code after the InitializeComponent() call. // } void buton1_click(object sender, EventArgs e){ string metin = maskedTextBox1.Text; listBox1.Items.Add(metin); } void buton2_click(object sender, EventArgs e){ } void buton3_click(object sender, EventArgs e){ } void buton4_click(object sender, EventArgs e){ } void buton5_click(object sender, EventArgs e){ } void buton6_click(object sender, EventArgs e){ } } }
Bu sitenin çalışmasını sağlamak için gerekli çerezleri ve deneyiminizi iyileştirmek için isteğe bağlı çerezleri kullanıyoruz.