C#C
C#2y ago
5124

Visual Studio 2022 winforms problem

Eror: CS1061

private void btn_Giris_Click(object sender, EventArgs e)
{
    if (!string.IsNullOrEmpty(txt_KullaniciAdi.Text))
    {

        using (WisdifyData data = new WisdifyData())
        {
            Kullanici kullanici = data.kullaniciAl(txt_KullaniciAdi.Text);

            if (kullanici != null)
            {
                Menu me = new Menu(kullanici); // ### Problemm CS0144
                me.Show();                      // ### Problemm CS1061

            }
            else
            {
                MessageBox.Show("Kullanıcı adına sahip bir kişi bulunamadı.", "Bulunamadı", MessageBoxButtons.OK, MessageBoxIcon.Error);
            }
        }
    }
    else
    {
        MessageBox.Show("Lütfen boş bırakmayınız.","Uyarı",MessageBoxButtons.OK,MessageBoxIcon.Warning);
    }
}


I wrote the error code numbers in the code, I couldn't find a solution
Was this page helpful?