Click here to Skip to main content
15,893,588 members
Home / Discussions / C#
   

C#

 
GeneralMessage Removed Pin
3-Nov-19 5:13
Acuena3-Nov-19 5:13 
Question[Solved] Safe way to insert USB-drive. Pin
Acuena1-Nov-19 5:48
Acuena1-Nov-19 5:48 
AnswerRe: Safe way to insert USB-drive. Pin
Richard Deeming1-Nov-19 6:27
mveRichard Deeming1-Nov-19 6:27 
GeneralRe: Safe way to insert USB-drive. Pin
Acuena1-Nov-19 12:38
Acuena1-Nov-19 12:38 
AnswerRe: Safe way to insert USB-drive. Pin
OriginalGriff1-Nov-19 6:43
mveOriginalGriff1-Nov-19 6:43 
GeneralRe: Safe way to insert USB-drive. Pin
Acuena1-Nov-19 12:38
Acuena1-Nov-19 12:38 
GeneralRe: Safe way to insert USB-drive. Pin
OriginalGriff1-Nov-19 12:44
mveOriginalGriff1-Nov-19 12:44 
QuestionUse From that's in a class library, from other programs Pin
Lupu5R3x1-Nov-19 1:46
Lupu5R3x1-Nov-19 1: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 2:09
professionalAfzaal Ahmad Zeeshan1-Nov-19 2:09 
GeneralRe: Use From that's in a class library, from other programs Pin
Lupu5R3x1-Nov-19 3:52
Lupu5R3x1-Nov-19 3:52 
QuestionDatagrid Cell content to only visible rows Pin
Member 135108471-Nov-19 0:01
Member 135108471-Nov-19 0:01 
AnswerRe: Datagrid Cell content to only visible rows Pin
Richard Deeming1-Nov-19 1:33
mveRichard Deeming1-Nov-19 1:33 
GeneralRe: Datagrid Cell content to only visible rows Pin
Member 135108471-Nov-19 18:47
Member 135108471-Nov-19 18:47 
GeneralRe: Datagrid Cell content to only visible rows Pin
Richard Deeming3-Nov-19 22:12
mveRichard Deeming3-Nov-19 22:12 
AnswerRe: Datagrid Cell content to only visible rows Pin
Dave Kreskowiak1-Nov-19 1:50
mveDave Kreskowiak1-Nov-19 1:50 
GeneralRe: Datagrid Cell content to only visible rows Pin
Member 135108471-Nov-19 18:50
Member 135108471-Nov-19 18:50 
GeneralRe: Datagrid Cell content to only visible rows Pin
Member 135108471-Nov-19 23:11
Member 135108471-Nov-19 23:11 
GeneralRe: Datagrid Cell content to only visible rows Pin
Dave Kreskowiak2-Nov-19 3:38
mveDave Kreskowiak2-Nov-19 3:38 
QuestionC# Sql calling function - SELECT from two diffrent Sql folders Pin
Member 1464122431-Oct-19 21:22
Member 1464122431-Oct-19 21:22 
AnswerRe: C# Sql calling function - SELECT from two diffrent Sql folders Pin
OriginalGriff31-Oct-19 22:35
mveOriginalGriff31-Oct-19 22:35 
GeneralRe: C# Sql calling function - SELECT from two diffrent Sql folders Pin
Member 1464122431-Oct-19 22:51
Member 1464122431-Oct-19 22:51 
GeneralRe: C# Sql calling function - SELECT from two diffrent Sql folders Pin
OriginalGriff31-Oct-19 23:09
mveOriginalGriff31-Oct-19 23:09 
GeneralRe: C# Sql calling function - SELECT from two diffrent Sql folders Pin
Member 1464122431-Oct-19 23:14
Member 1464122431-Oct-19 23:14 
GeneralRe: C# Sql calling function - SELECT from two diffrent Sql folders Pin
OriginalGriff31-Oct-19 23:26
mveOriginalGriff31-Oct-19 23:26 
GeneralRe: C# Sql calling function - SELECT from two diffrent Sql folders Pin
Member 146412241-Nov-19 0:11
Member 146412241-Nov-19 0: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.