예제 #1
0
 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);
     }
 }
예제 #2
0
        public static Boolean AddNewGenetics(int rabID)
        {
#if !DEMO
            if (_hasModule)
            {
                return(GeneticsManager.AddNewGenetics(rabID));
            }
            else
#endif
            {
                return(false);
            }
        }
예제 #3
0
 private void button1_Click(object sender, EventArgs e)
 {
     GeneticsManager.CloseAllForms();
 }
예제 #4
0
 private bool rabbitField1_SearchGoingOn(RabbitCommandMessage cmd)
 {
     //			cmd.SourceRabbitID = _RabbitID;
     return(GeneticsManager.BroadcastSearch(cmd));
 }