Beispiel #1
0
 private void addClick(object sender, EventArgs e)
 {
     if (LineOptionsDialog.Show(ParentForm, hdma) == DialogResult.OK)
     {
         hdmaWindow1.UpdateLayers();
     }
 }
        public static DialogResult Show(IWin32Window owner, HDMA hdma)
        {
            LineOptionsDialog lod = new LineOptionsDialog();

            lod.hdmas = hdma;
            lod.build(hdma);

            return(lod.ShowDialog(owner));
        }