Beispiel #1
0
        /*load write.cs*/
        private void write_btn_Click(object sender, EventArgs e)
        {
            if (Form3.userlogin == 1)
            {
                UC_write.Visible = true;
                if (writekey == 0)
                {
                    UC_write.Dock = DockStyle.Fill;
                    community.comm.panel1.Controls.Add(UC_write);

                    writekey = 1;
                }
                community.comm.Searchgroup_false();
                community.comm.Pagegroup_false();
                community.comm.Topgroup_false();
                community.comm.panel1.AutoScroll = false;
                write_btn.Visible  = false;
                search_btn.Visible = false;
                UC_write.BringToFront();
                exit_button.BringToFront();
                minimize_button.BringToFront();
            }
            else
            {
                MessageBox.Show("로그인을 해주세요");
            }
        }