Advertisement
retesere20

Untitled

Mar 19th, 2018
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.63 KB | None | 0 0
  1. // this is these 2 classes are re-used in almost all new applications
  2. public class my_common_class_1(){
  3.      protected string Company_Name = "Alteros GMBH";
  4.      protected string Company_Site = "http://www.company_url.com";
  5. }
  6.  
  7. public class my_common_class_2(){
  8.  
  9.      public bool license_check(){
  10.           .........
  11.      }
  12.      public bool show_license_warning_alert(){
  13.           .........
  14.      }
  15. }
  16.  
  17. //==================
  18. //================== here is example application, what i want to achieve
  19. //
  20.  
  21. public class NewApp {
  22.    
  23.     public NewApp{
  24.        MessageBox("Hello, program is done by " + Company_Name);
  25.     }
  26.  
  27. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement