Click here to Skip to main content
14,364,399 members
   

C#

 
GeneralRe: Hoe to send sms through mobile connection not any website registration in c# window application Pin
Member 1464246912-Nov-19 0:47
memberMember 1464246912-Nov-19 0:47 
Question[Solved] Safe way to insert USB-drive. Pin
Acuena1-Nov-19 6:48
memberAcuena1-Nov-19 6:48 
AnswerRe: Safe way to insert USB-drive. Pin
Richard Deeming1-Nov-19 7:27
mveRichard Deeming1-Nov-19 7:27 
GeneralRe: Safe way to insert USB-drive. Pin
Acuena1-Nov-19 13:38
memberAcuena1-Nov-19 13:38 
AnswerRe: Safe way to insert USB-drive. Pin
OriginalGriff1-Nov-19 7:43
protectorOriginalGriff1-Nov-19 7:43 
GeneralRe: Safe way to insert USB-drive. Pin
Acuena1-Nov-19 13:38
memberAcuena1-Nov-19 13:38 
GeneralRe: Safe way to insert USB-drive. Pin
OriginalGriff1-Nov-19 13:44
protectorOriginalGriff1-Nov-19 13:44 
QuestionUse From that's in a class library, from other programs Pin
Lupu5R3x1-Nov-19 2:46
memberLupu5R3x1-Nov-19 2:46 
Hi I'm new to C# and oop (though I have coded in Autoit for more that a decade, so I do have a basic understanding of coding) , I usually use google to get answers, but this question I haven't been able to find an answer to.

My problem/question.
I have created a simple form with 2 text boxes and a button. The form is in a class library, course I want to use it in several programs. In the same library I have another class file, that I want to handle all calls to my lib.

My problem is that I don't know how to "pop" the form, and how to use the button to get the input data from the text boxes, and then handle that data within my class file.

I want to use the library to handle the main programs license.

My idea is:

User launches the main program.
The program calls my license lib -> the lib checks if a license for the program exists in the database, if not "pop" the form to allow the user to enter User Name and License.
When the user clicks the form button, the lib calls a license server to check if the license is valid, if the lic is valid it writes it to the database, and shows a License is Valid message to the user.
Else if the license exist, continue the main program and drop the lic lib.

I hope that it clear what I try to achieve, and that some one can help point me in the right direction Smile | :)


Cheers
/LR
AnswerRe: Use From that's in a class library, from other programs Pin
Afzaal Ahmad Zeeshan1-Nov-19 3:09
mveAfzaal Ahmad Zeeshan1-Nov-19 3:09 
GeneralRe: Use From that's in a class library, from other programs Pin
Lupu5R3x1-Nov-19 4:52
memberLupu5R3x1-Nov-19 4:52 
QuestionDatagrid Cell content to only visible rows Pin
Member 135108471-Nov-19 1:01
memberMember 135108471-Nov-19 1:01 
AnswerRe: Datagrid Cell content to only visible rows Pin
Richard Deeming1-Nov-19 2:33
mveRichard Deeming1-Nov-19 2:33 
GeneralRe: Datagrid Cell content to only visible rows Pin
Member 135108471-Nov-19 19:47
memberMember 135108471-Nov-19 19:47 
GeneralRe: Datagrid Cell content to only visible rows Pin
Richard Deeming3-Nov-19 23:12
mveRichard Deeming3-Nov-19 23:12 
AnswerRe: Datagrid Cell content to only visible rows Pin
Dave Kreskowiak1-Nov-19 2:50
mveDave Kreskowiak1-Nov-19 2:50 
GeneralRe: Datagrid Cell content to only visible rows Pin
Member 135108471-Nov-19 19:50
memberMember 135108471-Nov-19 19:50 
GeneralRe: Datagrid Cell content to only visible rows Pin
Member 135108472-Nov-19 0:11
memberMember 135108472-Nov-19 0:11 
GeneralRe: Datagrid Cell content to only visible rows Pin
Dave Kreskowiak2-Nov-19 4:38
mveDave Kreskowiak2-Nov-19 4:38 
QuestionC# Sql calling function - SELECT from two diffrent Sql folders Pin
Member 1464122431-Oct-19 22:22
memberMember 1464122431-Oct-19 22:22 
AnswerRe: C# Sql calling function - SELECT from two diffrent Sql folders Pin
OriginalGriff31-Oct-19 23:35
protectorOriginalGriff31-Oct-19 23:35 
GeneralRe: C# Sql calling function - SELECT from two diffrent Sql folders Pin
Member 1464122431-Oct-19 23:51
memberMember 1464122431-Oct-19 23:51 
GeneralRe: C# Sql calling function - SELECT from two diffrent Sql folders Pin
OriginalGriff1-Nov-19 0:09
protectorOriginalGriff1-Nov-19 0:09 
GeneralRe: C# Sql calling function - SELECT from two diffrent Sql folders Pin
Member 146412241-Nov-19 0:14
memberMember 146412241-Nov-19 0:14 
GeneralRe: C# Sql calling function - SELECT from two diffrent Sql folders Pin
OriginalGriff1-Nov-19 0:26
protectorOriginalGriff1-Nov-19 0:26 
GeneralRe: C# Sql calling function - SELECT from two diffrent Sql folders Pin
Member 146412241-Nov-19 1:11
memberMember 146412241-Nov-19 1:11 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.