예제 #1
0
        private void button9_Click(object sender, EventArgs e)
        {
            MaskGenFrm  mgf = new MaskGenFrm();
            PopupEditor pe  = new PopupEditor();

            pe.ShowPopup(this, mgf);
        }
예제 #2
0
        private void previewToolStripMenuItem_Click(object sender, EventArgs e)
        {
            MaskItem mClickedItem = ((MaskItem)MaskCheckList.Items[MaskCheckList.SelectedIndex]);

            if (mClickedItem.mMask is GraphBasedMask)
            {
                GraphBasedMask gbp = (GraphBasedMask)mClickedItem.mMask;

                MaskGenFrm mgf = new MaskGenFrm();
                mgf.loadCanvasFromMemoryStream(gbp.GraphMemStream);

                PopupEditor pe = new PopupEditor();
                pe.ShowPopup(this, mgf);
            }
            else
            {
            }
        }