/// <summary> /// コンストラクタ /// </summary> /// <param name="comCore"></param> /// <param name="config"></param> public FormFontAndColor(CommonMC2D comCore, APPConfig config) { InitializeComponent(); m_comCore = comCore; m_config = config; m_FontAndColor = config.FontAndColors[config.Whole.ColorTheme]; }
/// <summary> /// コンストラクタ /// </summary> public APPConfig() { m_comCore = CommonMC2D.Instance; FontAndColors.Add(ColorThemeBlue, new FontAndColor(ColorThemeBlue)); FontAndColors.Add(ColorThemeLightColor, new FontAndColor(ColorThemeLightColor)); FontAndColors.Add(ColorThemeDarkColor, new FontAndColor(ColorThemeDarkColor)); }
/// <summary> /// コンストラクタ /// </summary> public MainWindow() { m_com = CommonMC2D.Instance; InitializeComponent(); // AutoScaleMode = AutoScaleMode.Dpi; m_com.MainWindow = this; // リスナー登録 NewProjecCreatedEvent += new NewProjecCreatedHandler(this.NewProjecCreatedCall); ProjectOpenedEvent += new ProjectOpenedHandler(this.ProjectOpened); m_com.Process.ProcessMC2DEndEvent += new ProcessMC2DEndHandler(ProcessMC2DEnd); //SetSplashScreen(); FirstDockingInit(); }
public AnimaRectForm() { InitializeComponent(); m_com = CommonMC2D.Instance; vScrollBar.Minimum = 0; //最小値の設定 vScrollBar.LargeChange = 40; //バーと左右端の矢印の間をクリックした場合の移動量 vScrollBar.SmallChange = 10; //左右端の矢印をクリックした場合の移動量 hScrollBar.Minimum = 0; //最小値の設定 hScrollBar.LargeChange = 40; //バーと左右端の矢印の間をクリックした場合の移動量 hScrollBar.SmallChange = 10; //左右端の矢印をクリックした場合の移動量 mObjHSFrame.LargeChange = 1; //バーと左右端の矢印の間をクリックした場合の移動量 mObjHSFrame.SmallChange = 1; //左右端の矢印をクリックした場合の移動量 // BasicFormInit(); }
public OutputWindow() { m_com = CommonMC2D.Instance; InitializeComponent(); AutoScaleMode = AutoScaleMode.Dpi; OutputItemCB[] list = new OutputItemCB[] { new OutputItemCB("通常", OutputTextType.Defautl), new OutputItemCB("システム", OutputTextType.System), new OutputItemCB("MC2Dアプリ", OutputTextType.MC2D), }; foreach (var v in list) { outputListCB.Items.Add(v); } outputListCB.SelectedIndex = (int)OutputTextType.Defautl; }
/// <summary> /// コンストラクタ /// </summary> /// <param name="filePath"></param> public AngleScriptEditor(string filePath) { m_com = CommonMC2D.Instance; InitializeComponent(); new AngelScriptEditorSetting(this, scintilla, m_com.Config); m_filePath = filePath; m_fileFullPath = m_com.DirPathMC2D + @"\" + filePath; //scintilla.Text = File.ReadAllText(m_fileFullPath); ReadFile(); // this.NewLineChanged += OnNewLineChanged; this.SideMarginPaint += OnSideMarginPaint; // テクスト変更イベント }
public FormASTextEditorConfig(CommonMC2D comCore, APPConfig config) { InitializeComponent(); m_comCore = comCore; m_config = config; }
public FormOption(CommonMC2D comCore) { m_comCore = comCore; m_configTmp = comCore.Config;//.Cloen(); InitializeComponent(); }
public FormWhole(CommonMC2D comCore, APPConfig config) { InitializeComponent(); m_comCore = comCore; m_config = config; }
/// <summary> /// コンストラクタ /// </summary> public SolutionExplorerDoc() { InitializeComponent(); AutoScaleMode = AutoScaleMode.Dpi; m_com = CommonMC2D.Instance; m_nodeInfos = new Dictionary <int, NodeInfo>(); m_nodeDic = new Dictionary <string, TreeNode>(); #region アイコン登録 //Solution, m_itemImages.Add(Properties.Resources.solution_16x); //FolderApp, m_itemImages.Add(Properties.Resources.FolderBrowserDialogControl_16x); //TileApp, m_itemImages.Add(Properties.Resources.TileApplication_16x); //FolderClose, m_itemImages.Add(Properties.Resources.folder_Open_16xLG); //FolderOpen, m_itemImages.Add(Properties.Resources.folder_Open_16xLG); //ImageFile, m_itemImages.Add(Properties.Resources.Image_16x); //ModuleFile m_itemImages.Add(Properties.Resources.Graphics3D_16x); //SoundFile, m_itemImages.Add(Properties.Resources.SoundFile_16x); //TextFile, m_itemImages.Add(Properties.Resources.Text_16x); //CGFile, m_itemImages.Add(Properties.Resources.cgFile_16x); //GLSLFile, m_itemImages.Add(Properties.Resources.glsesFile_16x); //GLSESFile, m_itemImages.Add(Properties.Resources.glesFile_16x); //HLSLFile, m_itemImages.Add(Properties.Resources.hlslFile_16x); //ScriptFile, m_itemImages.Add(Properties.Resources.Mc2d_16x); //FontFile, m_itemImages.Add(Properties.Resources.Font_16x); //TileRoot, m_itemImages.Add(Properties.Resources.grid_Data_16xLG); //Rect, m_itemImages.Add(Properties.Resources.Rectangle_16x); //Isometric, m_itemImages.Add(Properties.Resources.Isometric_16x); //IsometricSelect, m_itemImages.Add(Properties.Resources.openIsometric_16x); //Hexagon, m_itemImages.Add(Properties.Resources.hexagon_16x); //HexagonSelect, m_itemImages.Add(Properties.Resources.openHexagon_16x); //Squaret, m_itemImages.Add(Properties.Resources.square_16x); //SquaretSelect, m_itemImages.Add(Properties.Resources.openSquare_16x); //RectAnm, m_itemImages.Add(Properties.Resources.AnmRectangle_16x); //TileAnm, m_itemImages.Add(Properties.Resources.AnmTile_16xLG); //MapRoot m_itemImages.Add(Properties.Resources.MapTileLayer_16x); //Map m_itemImages.Add(Properties.Resources.ImageMapFile_16x); #endregion m_com.MainWindow.ClosedProjectEvent += new ClosedSolutionHandler(this.ClosedSolution); m_com.MainWindow.D2StageFileOpenedEvent += new D2StageFileOpenedHandler(this.D2StageFileOpened); }