Ejemplo n.º 1
0
 private void ExecuteActions_MenuItem_Click(object sender, EventArgs e)
 {
     if (this.ActionRequests_ListBox.Items.Count != 0)
     {
         if (DialogResult.Yes == MessageBox.Show("Are You sure you want to Execute Actions?", "Warning!", MessageBoxButtons.YesNo))
         {
             List<QbEditor> list = new List<QbEditor>();
             foreach (QbEditor item in this.ActionRequests_ListBox.Items)
             {
                 list.Add(item);
             }
             this.actionsWindow_0 = new ActionsWindow(list);
             this.actionsWindow_0.method_0(new EventHandler(this.method_5));
             this.actionsWindow_0.Show();
             this.actionsWindow_0.method_1();
             return;
         }
     }
 }
Ejemplo n.º 2
0
 private void method_5(object sender, EventArgs e)
 {
     if ((!this.actionsWindow_0.bool_0 || DialogResult.Yes == MessageBox.Show("Some of the action requests failed!\nDo you still wish to rebuild the game settings?", "Warning!", MessageBoxButtons.YesNo)) && this.method_18())
     {
         this.actionsWindow_0 = null;
         this.ActionRequests_ListBox.Items.Clear();
         GC.Collect();
     }
 }