コード例 #1
0
        private void btnmyCollective_Click(object sender, EventArgs e)
        {
            if (Globals.myCollective != null)
            {
                CollectiveInfo opencollectiveInfo = new CollectiveInfo(0, 1);
                opencollectiveInfo.Show();
            }

            else
            {
                MessageBox.Show("You are not currently in a collective.",
                                "No Collective",
                                MessageBoxButtons.OK,
                                MessageBoxIcon.Error);
            }
        }
コード例 #2
0
        private void Collectives_Click(object sender, EventArgs e)
        {
            CollectiveInfo opencollectiveInfo = new CollectiveInfo(collectivePictureList.IndexOf((PictureBox)sender), 0);

            opencollectiveInfo.Show();
        }