예제 #1
0
 public static MyProfilePg getInstance()
 {
     if (instance == null)
     {
         instance = new MyProfilePg();
         instance.InitializeComponent();
     }
     instance.Initialize();
     instance.Show();
     return(instance);
 }
예제 #2
0
        private void btnMyProfile_Click(object sender, EventArgs e)
        {
            this.Hide();

            MyProfilePg.getInstance();
        }