コード例 #1
0
        private void btnCheckin_Click(object sender, EventArgs e)
        {
            frmCheckin oForm = new frmCheckin(_strVenueID, _strVenueName, _strIconURL, _strCategory, _strLat, _strLon);
            oForm.Show();

            var oObject = this.Parent;
            while (!oObject.ToString().Contains("frm"))
            {
                oObject = oObject.Parent;
            }

            oObject.Hide();
        }
コード例 #2
0
 private void btnShout_Click(object sender, EventArgs e)
 {
     frmCheckin oForm = new frmCheckin();
     oForm.Show();
     this.Hide();
 }
コード例 #3
0
 private void miCheckin_Click(object sender, EventArgs e)
 {
     frmCheckin oForm = new frmCheckin(_strVenueID, _strVenueName, _strIconURL, _strCategory, _strLat, _strLon);
     oForm.Show();
     this.Hide();
 }