예제 #1
0
        private void createRoomImageBtn_Click(object sender, EventArgs e)
        {
            CreateRoom_Form createroom = new CreateRoom_Form(this);

            createroom.Show();
            this.Enabled = false;
        }
예제 #2
0
 public StandByLogin(Mainform c, CreateRoom_Form cRF)
 {
     InitializeComponent();
     mainform             = c;
     createroom           = cRF;
     contextMenuStripForm = mainform.contextMenuStripForm;
     contextMenuStripForm.standbyLogin = this;
 }
예제 #3
0
 public StandByLogin(Mainform c, CreateRoom_Form cc, UserList_Form u)
 {
     InitializeComponent();
     mainform             = c;
     createroom           = cc;
     userlistform         = u;
     contextMenuStripForm = mainform.contextMenuStripForm;
     contextMenuStripForm.standbyLogin = this;
 }
예제 #4
0
 public UserList_Form(ListBox listBox, CreateRoom_Form createroom, ContextMenuStripForm c)
 {
     InitializeComponent();
     this.listBox       = listBox;
     this.createroom    = createroom;
     createroom.Enabled = false;
     checkedArray       = new List <string>();
     initFont();
     contextmenustripform = c;
     contextmenustripform.userlistform = this;
     contextmenustripform.IconVisibletrue();
 }
예제 #5
0
        private void createroomToolStripMenuItem_MouseUp(object sender, MouseEventArgs e)
        {
            switch (e.Button)
            {
            case MouseButtons.Left:
                CreateRoom_Form createroom = new CreateRoom_Form(mainform);
                createroom.Show();
                mainform.Enabled = false;
                break;

            case MouseButtons.Right:
                // Right click
                break;
            }
        }