예제 #1
0
        internal void FlipL()
        {
            if (!m_bAutoMode)
            {
                bmpOutput = m_Controller.Flip(Photoman.Core.BasicOps.FlipAxis.X);
                m_frmMain.tlImageHistory.AddElement(new Bitmap(1, 1), "Flip");
            }

            else if (m_bAutoMode)
            {
                List <object> ArgList = new List <object>();
                ArgList.Add(Photoman.Core.BasicOps.FlipAxis.X);

                m_Controller.Automation_AddOperation(Constants.Operations.Flip, ArgList);

                m_frmMain.tlAutomationActions.AddElement(new Bitmap(1, 1), "Flip");
            }
        }
예제 #2
0
        internal void FlipL()
        {
            if (m_frmMain.rbDoSingle.Checked)
            {
                bmpOutput = m_Controller.Flip(Photoman.Core.BasicOps.FlipAxis.X);
            }

            else if (m_frmMain.rbAddToAuto.Checked)
            {
                List <object> ArgList = new List <object>();
                ArgList.Add(Photoman.Core.BasicOps.FlipAxis.X);

                m_Controller.Automation_AddOperation(Constants.Operations.Flip, ArgList);
            }
            else if (m_frmMain.rbBatch.Checked)
            {
                List <object> ArgList = new List <object>();
                ArgList.Add(Photoman.Core.BasicOps.FlipAxis.X);
                bmpOutput = m_Controller.BatchOp(Constants.Operations.Flip, ArgList);
            }
        }