retesere20

Untitled

Mar 19th, 2018
78
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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. }
RAW Paste Data