コード例 #1
0
        private void btnWMIAlign_Click(object sender, EventArgs e)
        {
            frmCA objCA = new frmCA();
            objCA.ContentAlignment = this.textAlign;

            DialogResult res = objCA.ShowDialog();

            if (res != DialogResult.OK)
                return;

            Application.DoEvents();

            this.imageAlign = objCA.ContentAlignment;
        }
コード例 #2
0
        private void btnWMIAlign_Click(object sender, EventArgs e)
        {
            frmCA objCA = new frmCA();

            objCA.ContentAlignment = this.textAlign;

            DialogResult res = objCA.ShowDialog();

            if (res != DialogResult.OK)
            {
                return;
            }

            Application.DoEvents();

            this.imageAlign = objCA.ContentAlignment;
        }
コード例 #3
0
ファイル: MainForm.cs プロジェクト: xuchuansheng/GenXSource
        private void ribbonTextOp4_DoubleClick(object sender, EventArgs e)
        {
            frmCA objCA = new frmCA();
            objCA.ContentAlignment = this.imageAlign;

            DialogResult res = objCA.ShowDialog();

            if (res != DialogResult.OK)
                return;

            Application.DoEvents();

            undoHelper.ImageAlign = this.ImageAlign;

            this.imageAlign = objCA.ContentAlignment;

            Application.DoEvents();
            FilterEffects();
        }