public static System.Windows.Forms.Form get_ItemTSS( System.Windows.Forms.FormCollection target, System.Int32 index) { //return target[index]; return(new System.Windows.Forms.Form()); }
public override void ClientSide(System.Windows.Forms.FormCollection OpenWindows, CreateClientWindow CreateWindow, Connection ThisConnection) { frmError tmpError = new frmError(); tmpError.txtDetails.Text = string.Format("{0}", this.Message); tmpError.ShowDialog(); }
private void CheckOpened(string strTag) { System.Windows.Forms.FormCollection fc = System.Windows.Forms.Application.OpenForms; foreach (System.Windows.Forms.Form frm in fc) { if (frm.Tag.ToString() == strTag) { frm.Close(); return; } } }
// 2014-03-29: GreenRose // Check videoForm is opened private bool CheckOpened(string strTag) { System.Windows.Forms.FormCollection fc = System.Windows.Forms.Application.OpenForms; foreach (System.Windows.Forms.Form frm in fc) { if (frm.Tag.ToString() == strTag) { frm.Close(); // 폼을 클로즈한다. } } return(true); }
public static System.Windows.Forms.Form get_ItemMSS( System.Windows.Forms.FormCollection target, System.Int32 index) { object result; if (TestSpecificStubsUtil.RunTestSpecificStub(System.Reflection.MethodBase.GetCurrentMethod(), new object[] { target, index }, out result)) { return((System.Windows.Forms.Form)result); } else { return(target[index]); } }
public override void ClientSide(System.Windows.Forms.FormCollection OpenWindows, Common.Delegates.CreateClientWindow CreateWindow, Connection ThisConnection) { throw new NotImplementedException(); }