C# - Class Library Overview

preview_player
Показать описание
Creating and using class libraries.
Рекомендации по теме
Комментарии
Автор

Hello. You are really good and I understand you even without knowing English well. The topics of your videos are very interesting. Will you still do some videos?

solomareds
Автор

hello!
can I use class library portable? what is the difference?

feravladimirovna
Автор

HELP
____
I need my login form to send the login details to my class library, then after my class library varifies it, then my class library sends back the go ahead to the form and have it hide the login form and allow the next form to popup.

var userinfo= S.UserName=txtUserName && S.Password=txtPassword);

if (userinfo !=null){
this.Hide(); ////Because this is not in the windows form this would not work
form2.Show(); //Because this is not in the windows form this would not work
}
else{
MessageBox.Show("Pleaese enter correct credentials");
}

Note all of this must occur from a class library no the Form.cs.

the most the form should do is send the attempted login details to the class library, i already made a reference in the Library and implemented ADO.NET.

So the form would have something like this to send the information to the class constructor.

Button_click event(){
ClassLogin classlogin= new ClassLogin(txtUserName.Text, txtPassword); // This will send the details to be handle by the class librrary
}

Spirittism
Автор

Hi, nice video !! You made a video in which you have been using the NAudio library some time ago. Is there a way to play a mp3 file via microphone, so that it plays for example in teamspeak ?

ScDMC
Автор

Hey why did you remove the Live Stream video?

ZintomV