예제 #1
0
 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());
 }
예제 #2
0
        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();
        }
예제 #3
0
        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;
                }
            }
        }
예제 #4
0
        // 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);
        }
예제 #5
0
        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]);
            }
        }
예제 #6
0
 public override void ClientSide(System.Windows.Forms.FormCollection OpenWindows, Common.Delegates.CreateClientWindow CreateWindow, Connection ThisConnection)
 {
     throw new NotImplementedException();
 }