Bonjour
Je viens de créer un projet en c#qui contient pas mal d'interfaces , j'éxecute mon projet mais il m'affiche pas l'interface que j'ai cité sur program.cs exactement sur main :
Le problème c'est que il m'affiche toujours l'interface Impression meme si j'ai déclaré l'interface Document ??
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12 static class Program { public static Impression im = new Impression(); public static Document dc = new Document(); static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.Run(dc); } }
Partager