Ejemplo n.º 1
0
 void EditModsActivated(object sender, EventArgs e)
 {
     using (EditModsDialog emd = new EditModsDialog(SelectedInst, this))
     {
         //emd.ParentWindow = this.GdkWindow;
         emd.Response += (object o, ResponseArgs args) =>
         {
             if (args.ResponseId == ResponseType.Ok)
             {
                 RebuildMCJar(SelectedInst);
             }
             emd.Destroy();
         };
         HintDialog.ShowHint(emd, Hint.EditModsHint);
         emd.Run();
     }
 }
Ejemplo n.º 2
0
 void EditModsActivated(object sender, EventArgs e)
 {
     EditModsDialog emd = new EditModsDialog(SelectedInst, this);
     emd.ParentWindow = this.GdkWindow;
     emd.Run();
 }