private void GeneticsMainForm_FormClosing(object sender, FormClosingEventArgs e) { if (!_batchClose) { RabbitCommandMessage cmd = new RabbitCommandMessage(); cmd.Command = RabbitCommandMessage.Commands.ForgetWindow; cmd.TargetRabbitID = 0; cmd.SourceWindowRabbitID = _rabbitID; GeneticsManager.BroadcastSearch(cmd); GeneticsManager.RemoveForm(_rabbitID); } }
public static Boolean AddNewGenetics(int rabID) { #if !DEMO if (_hasModule) { return(GeneticsManager.AddNewGenetics(rabID)); } else #endif { return(false); } }
private void button1_Click(object sender, EventArgs e) { GeneticsManager.CloseAllForms(); }
private bool rabbitField1_SearchGoingOn(RabbitCommandMessage cmd) { // cmd.SourceRabbitID = _RabbitID; return(GeneticsManager.BroadcastSearch(cmd)); }