private void iniComosant(System.Window.Form.UserControl val) { if(val == null) { if ( val.GetType() == typeof(titi) val = new titi(...); if ( val.GetType() == typeof(toto) val = new toto(...); } }
private void iniComosant(System.Window.Form.UserControl val) { if(val == null) { if ( val.GetType() == typeof(titi) ) val = new titi(...); if ( val.GetType() == typeof(toto) ) val = new toto(...); } }
Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre question