public static void ShowDiceEditor(MainForm owner, bool setNextMode) { if (m_Singelton == null) { m_Singelton = new DiceEditor(); } m_Singelton.m_SetNextMode = setNextMode; m_OwnerForm = owner; m_Singelton.ShowDialog(owner); }
public static void ShowDiceEditor( MainForm owner, bool setNextMode ) { if ( m_Singelton == null ) m_Singelton = new DiceEditor(); m_Singelton.m_SetNextMode = setNextMode; m_OwnerForm = owner; m_Singelton.ShowDialog( owner ); }