コード例 #1
0
        void ReleaseDesignerOutlets()
        {
            if (VolunteerButton != null)
            {
                VolunteerButton.Dispose();
                VolunteerButton = null;
            }

            if (UpcomingButton != null)
            {
                UpcomingButton.Dispose();
                UpcomingButton = null;
            }

            if (HistoryButton != null)
            {
                HistoryButton.Dispose();
                HistoryButton = null;
            }

            if (LogoffButton != null)
            {
                LogoffButton.Dispose();
                LogoffButton = null;
            }
        }
コード例 #2
0
 public void LogOut()
 {
     LogoffButton.Click();
 }