Advertisement
amironov73

Как вызывать формы из Main

May 18th, 2017
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.25 KB | None | 0 0
  1. static void Main()
  2. {
  3.   string userId = CommonLibrary.frm_Autorization.LogonUser();
  4.  
  5.   if (string.IsNullOrEmpty(userId))
  6.   {
  7.     return;
  8.   }
  9.  
  10.   using (Frm_Institute frm_Institute = new Frm_Institute())
  11.   {
  12.     frm_Institute.ShowDialog();
  13.   }
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement