Laz
Laz
CC#
Created by Laz on 10/23/2023 in #help
❔ How to fix distortion? also how to fix page cut off? also using Using PDFSharp
I have a 21 tabs in winform and a few with scrollable wheels, they are getting cut off, please help.
5 replies
CC#
Created by Laz on 10/18/2023 in #help
✅ Need help with school project, premises is to convert and print WinForms into a PDF format
No description
9 replies
CC#
Created by Laz on 9/16/2023 in #help
✅ C# CS0246
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Autodesk.Revit.ApplicationServices;
using System.Windows.Forms;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using Autodesk.Revit.DB;
using Autodesk.Revit.UI;
using Autodesk.Revit.Attributes;

namespace WallFinishPlugin
{
[Transaction(TransactionMode.Manual)]
public class Main : IExternalCommand
{
public Result Execute(ExternalCommandData commandData, ref string message, ElementSet elements)
{
var uiapp = commandData.Application;
var uidoc = uiapp.ActiveUIDocument;
var app = uiapp.Application;
var doc = uidoc.Document;

var collector = new FilteredElementCollector(doc)
.OfCategory(BuiltInCategory.OST_Walls);

var simpleForm = new SimpleForm();
simpleForm.ShowDialog();


return Result.Succeeded;

}
}
}
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Autodesk.Revit.ApplicationServices;
using System.Windows.Forms;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using Autodesk.Revit.DB;
using Autodesk.Revit.UI;
using Autodesk.Revit.Attributes;

namespace WallFinishPlugin
{
[Transaction(TransactionMode.Manual)]
public class Main : IExternalCommand
{
public Result Execute(ExternalCommandData commandData, ref string message, ElementSet elements)
{
var uiapp = commandData.Application;
var uidoc = uiapp.ActiveUIDocument;
var app = uiapp.Application;
var doc = uidoc.Document;

var collector = new FilteredElementCollector(doc)
.OfCategory(BuiltInCategory.OST_Walls);

var simpleForm = new SimpleForm();
simpleForm.ShowDialog();


return Result.Succeeded;

}
}
}
Following https://www.youtube.com/watch?v=YV16JmCGNZA&list=PLABAnZRsrrL4xoeLvEmqtayeRC5b5GuwU&index=5&ab_channel=MariyanDeveloper At 13;06 The SimpleForm() has an error of CS0246, I have added -> using System.Windows.Forms; but still does not work Can somebody help? (edited)
45 replies