public PopIn ( Panel &panel, Form parentForm, string title ) : void | ||
panel | Panel | |
parentForm | Form | |
title | string | |
return | void |
private void BtnPopout_in_Click(object sender, EventArgs e) { // we just can't move our entire form // into different window because of the ActiveX error // crying out about the Windowless control. if (int.Parse(btnPopout_in.Tag.ToString()) == 0) { popupmdi = new PopupMDIContainer(); popupmdi.Show(); popupmdi.PopIn(ref rdpPanelBase, this, CurrentServer.ServerName); btnPopout_in.Image = Properties.Resources.pop_in_16; btnPopout_in.Tag = 1; } else if (int.Parse(btnPopout_in.Tag.ToString()) == 1) { popupmdi.PopOut(ref rdpPanelBase, this); btnPopout_in.Image = Properties.Resources.pop_out_16; btnPopout_in.Tag = 0; } }
void btnPopout_in_Click(object sender, EventArgs e) { // we just can't move our entire form // into different window because of the ActiveX error // crying out about the Windowless control. if (int.Parse(btnPopout_in.Tag.ToString()) == 0) { popupmdi = new PopupMDIContainer(); popupmdi.Show(); popupmdi.PopIn(ref rdpPanelBase, this, this._sd.ServerName); btnPopout_in.Image = Properties.Resources.pop_in_16; btnPopout_in.Tag = 1; } else if (int.Parse(btnPopout_in.Tag.ToString()) == 1) { popupmdi.PopOut(ref rdpPanelBase, this); btnPopout_in.Image = Properties.Resources.pop_out_16; btnPopout_in.Tag = 0; } }