Visual Studio 2022 form1 dosya çözüm gezgininde görünmüyor

Fatih094

Hectopat
Katılım
21 Aralık 2021
Mesajlar
68
Daha fazla  
Sistem Özellikleri
AMD Ryzen 5 3600
Radeon RX580
Asus Prime B550M-K
2X 16GB Ram
500GB SSD 500GB HDD
Cinsiyet
Erkek
Visual Studio 2022'de normalde form1 diye dosyam var ancak çözüm gezgininde görünmüyor. Programı başlatınca form1 gözüküyor ama altta form1 bulunamadı diye hata veriyor ve dosyalarda da gözüküyor. Ayrıca diğer formda ise buton, versiyon seçme falan varken başlatınca onlar gözükmüyor.















Bu da versiyon seçme kutusu.
Kodları.
Using System;
Using System. Collections. Generic;
Using System.componentmodel;
Using System. Data;
Using System. Drawing;
Using System. Linq;
Using System. Text;
Using System. Threading. Tasks;
Using System. Windows. Forms;
Using cmllib. Core;
Using cmllib. Core. Auth;

Namespace eagle_launcher.
{
Public partial class loginscreen: Form.
{
Public LoginScreen()
{
InitializeComponent();
Var session = msession. Getofflinesession("");
}

Public static string version;

Msession session;

Private Void path()
{

Var path = New MinecraftPath();
Var Launcher = New cmlauncher(path);

// Show launch progress to Console.
Launcher. Filechanged += (e) =>
{
Download. Items. Add(string. Format("[{0}] {1} - {2}/{3}", e.FileKind.ToString(), e.FileName, e.ProgressedFileCount, e.TotalFileCount));
};
Launcher. Progresschanged += (s, e) =>
{
//Console. Writeline("{0}%", e. Progresspercentage);
};

Foreach (var item in launcher.GetAllVersions())
{
Combobox2.ıtems. Add(item. Name);
}
}

Private Void launch()
{
Var path = New MinecraftPath();
Var Launcher = New cmlauncher(path);

// Show launch progress to Console.
Launcher. Filechanged += (e) =>
{
Download. Items. Add(string. Format("[{0}] {1} - {2}/{3}", e.FileKind.ToString(), e.FileName, e.ProgressedFileCount, e.TotalFileCount));
};
Launcher. Progresschanged += (s, e) =>
{
//Console. Writeline("{0}%", e. Progresspercentage);
};
Var launchoption = New mlaunchoption.
{
Maximumrammb = 1024,
Serverıp = "mc.hypixel.net"
};

Version = comboBox2.SelectedItem.ToString();
Var process = Launcher. Createprocess(version, launchoption);

process.Start();
}

Private Void loginscreen_load(object sender, eventargs e)
{
path();
}

Private Void combobox2_selectedındexchanged(object sender, eventargs e)
{

}

Private Void play_click(object sender, eventargs e)
{

}

Private Void download_selectedındexchanged(object sender, eventargs e)
{

}
}
}
 
Son düzenleyen: Moderatör:
Formunuzun ismini LoginScreen olarak değiştirmişsiniz. Sınıf ismini değiştirdiğinizde çözüm gezgininden de rename yaparsanız daha sağlıklı olur.
 
Bu siteyi kullanmak için çerezler gereklidir. Siteyi kullanmaya devam etmek için çerezleri kabul etmelisiniz. Daha Fazlasını Öğren.…