Exemple #1
0
 void OffsetTool_OnMouseClick(object sender, MouseEventArgs e)
 {
     if (ActiveMdiChild is SymbolEditorForm)
     {
         SymbolEditorForm sef = (ActiveMdiChild as SymbolEditorForm);
         sef.SymbolEditor.Offset = sef.SymbolEditor.ReverseTranslate(e.Location, false);
     }
 }
Exemple #2
0
        private SymbolEditorForm CreateNewSymbolForm()
        {
            SymbolEditorForm childForm = new SymbolEditorForm();

            childForm.Text        = "Symbol " + ++m_SymbolNumber;
            childForm.FormClosed += new FormClosedEventHandler(childForm_FormClosed);
            return(childForm);
        }